Skip to content

Crashes on Windows Android AVD and Genymotion - Works on Nexus 6 device #83

Closed
@CleverCoder

Description

@CleverCoder

Just pulled all the latest bits, and was successful in deploying the regular nativescript Groceries "start" branch to my Genymotion Nexus 6 emulator. I tried to go through the Angular tutorials, switching to the "angular-start" branch. When I deploy to either 5.1 or 6.0 on Genymotion, I get the following output in the console:

05-22 00:49:44.598 103 103 F DEBUG : #12 pc 00553d83 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::CompileIrregexp(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, bool)+675) 05-22 00:49:44.598 103 103 F DEBUG : #13 pc 00553fd5 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpPrepare(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>)+165) 05-22 00:49:44.598 103 103 F DEBUG : #14 pc 005544f3 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpExec(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, int, v8::internal::Handle<v8::internal::JSArray>)+51) 05-22 00:49:44.598 103 103 F DEBUG : #15 pc 005546a0 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::Exec(v8::internal::Handle<v8::internal::JSRegExp>, v8::internal::Handle<v8::internal::String>, int, v8::internal::Handle<v8::internal::JSArray>)+144)

When I attached my Nexus 6, and deployed via the same "tns run android", it launched with no problems.

Some details that may have an impact:

  • My PC is Windows 10, with an AMD Phenom II X6 1090T CPU
  • Genymotion emulator settings are set for default, with display scaled down a bit
  • I blew away the node_modules folder as a test (something I do when I switch branches on other projects) - Made no difference

I recently updated all my components, including NPM, Android SDK, pulled latest repository. I'm not totally blocked since I can use my Nexus 6 device, but it would be nice to know where to look to figure this out. I also attempted to look at logcat a bit closer with Android Studio. The debug information I could get from ADB was this (I also attached to the issue as a text file in case this can't be easily read)
Genymotion angular-start Crash.txt
:

--------- beginning of crash
05-22 00:57:55.790 1982-1982/org.nativescript.groceries A/libc﹕ Fatal signal 4 (SIGILL), code 2, fault addr 0xe073382e in tid 1982 (cript.groceries)
05-22 00:57:55.892 103-103/? A/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-22 00:57:55.892 103-103/? A/DEBUG﹕ Build fingerprint: 'Android/vbox86p/vbox86p:6.0/MRA58K/buildbot01102000:userdebug/test-keys'
05-22 00:57:55.892 103-103/? A/DEBUG﹕ Revision: '0'
05-22 00:57:55.892 103-103/? A/DEBUG﹕ ABI: 'x86'
05-22 00:57:55.892 103-103/? A/DEBUG﹕ pid: 1982, tid: 1982, name: cript.groceries >>> org.nativescript.groceries <<<
05-22 00:57:55.892 103-103/? A/DEBUG﹕ signal 4 (SIGILL), code 2 (ILL_ILLOPN), fault addr 0xe073382e
05-22 00:57:55.896 103-103/? A/DEBUG﹕ eax 0000002c ebx e0c18cbc ecx 00000000 edx 00000002
05-22 00:57:55.896 103-103/? A/DEBUG﹕ esi 00000000 edi 00000020
05-22 00:57:55.896 103-103/? A/DEBUG﹕ xcs 00000023 xds 0000002b xes 0000002b xfs 00000007 xss 0000002b
05-22 00:57:55.896 103-103/? A/DEBUG﹕ eip e073382e ebp 0000002d esp ff8558e0 flags 00210216
05-22 00:57:55.904 103-103/? A/DEBUG﹕ backtrace:
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #00 pc 0054182e /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #1 pc 005413b6 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #2 pc 0054e3eb /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::TextNode::TextEmitPass(v8::internal::RegExpCompiler_, v8::internal::TextNode::TextEmitPassType, bool, v8::internal::Trace_, bool, int_)+1723)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #3 pc 0054e72f /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::TextNode::Emit(v8::internal::RegExpCompiler_, v8::internal::Trace_)+799)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #4 pc 00548164 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::ActionNode::Emit(v8::internal::RegExpCompiler_, v8::internal::Trace_)+484)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #5 pc 005468a2 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::ChoiceNode::EmitOutOfLineContinuation(v8::internal::RegExpCompiler_, v8::internal::Trace_, v8::internal::GuardedAlternative, v8::internal::AlternativeGeneration_, int, bool)+402)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #6 pc 0054bb8c /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::ChoiceNode::Emit(v8::internal::RegExpCompiler_, v8::internal::Trace_)+748)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #7 pc 00548164 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::ActionNode::Emit(v8::internal::RegExpCompiler_, v8::internal::Trace_)+484)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #8 pc 0054632b /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::ChoiceNode::EmitChoices(v8::internal::RegExpCompiler_, v8::internal::AlternativeGenerationList_, int, v8::internal::Trace_, v8::internal::PreloadState_)+731)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #9 pc 0054bc7f /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::ChoiceNode::Emit(v8::internal::RegExpCompiler_, v8::internal::Trace_)+991)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #10 pc 00543913 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpCompiler::Assemble(v8::internal::RegExpMacroAssembler_, v8::internal::RegExpNode_, int, v8::internal::Handlev8::internal::String)+339)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #11 pc 00553807 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpEngine::Compile(v8::internal::Isolate_, v8::internal::Zone_, v8::internal::RegExpCompileData_, bool, bool, bool, bool, v8::internal::Handlev8::internal::String, v8::internal::Handlev8::internal::String, bool)+1239)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #12 pc 00553d83 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::CompileIrregexp(v8::internal::Handlev8::internal::JSRegExp, v8::internal::Handlev8::internal::String, bool)+675)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #13 pc 00553fd5 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpPrepare(v8::internal::Handlev8::internal::JSRegExp, v8::internal::Handlev8::internal::String)+165)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #14 pc 005544f3 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::IrregexpExec(v8::internal::Handlev8::internal::JSRegExp, v8::internal::Handlev8::internal::String, int, v8::internal::Handlev8::internal::JSArray)+51)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #15 pc 005546a0 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::RegExpImpl::Exec(v8::internal::Handlev8::internal::JSRegExp, v8::internal::Handlev8::internal::String, int, v8::internal::Handlev8::internal::JSArray)+144)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #16 pc 006f0dec /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::Runtime_RegExpExec(int, v8::internal::Object__, v8::internal::Isolate_)+444)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #17 pc 0000007b
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #18 pc 0005ff8b
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #19 pc 0003fe22
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #20 pc 0003f685
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #21 pc 0001cebc
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #22 pc 00010d20
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #23 pc 0000fabe
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #24 pc 0036057c /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #25 pc 003610f8 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::Execution::Call(v8::internal::Isolate_, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object_)+120)
05-22 00:57:55.904 103-103/? A/DEBUG﹕ #26 pc 002c27cb /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::Function::Call(v8::Localv8::Context, v8::Localv8::Value, int, v8::Localv8::Value_)+251)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #27 pc 002c296d /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::Function::Call(v8::Localv8::Value, int, v8::Localv8::Value_)+93)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #28 pc 0029d307 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::LoadModule(v8::Isolate_, std::string const&)+1991)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #29 pc 0029df80 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::LoadImpl(v8::Isolate_, std::string const&, bool&)+704)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #30 pc 0029e384 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::RequireCallback(v8::FunctionCallbackInfov8::Value const&)+660)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #31 pc 0008d08b
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #32 pc 0008d5bc
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #33 pc 00016942
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #34 pc 00010d20
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #35 pc 0000fabe
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #36 pc 0036057c /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #37 pc 003610f8 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::Execution::Call(v8::internal::Isolate_, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object_)+120)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #38 pc 002c27cb /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::Function::Call(v8::Localv8::Context, v8::Localv8::Value, int, v8::Localv8::Value_)+251)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #39 pc 002c296d /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::Function::Call(v8::Localv8::Value, int, v8::Localv8::Value_)+93)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #40 pc 0029d307 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::LoadModule(v8::Isolate_, std::string const&)+1991)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #41 pc 0029df80 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::LoadImpl(v8::Isolate_, std::string const&, bool&)+704)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #42 pc 0029e384 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::RequireCallback(v8::FunctionCallbackInfov8::Value const&)+660)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #43 pc 0008d08b
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #44 pc 0008d5bc
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #45 pc 000160d9
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #46 pc 00010d20
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #47 pc 0000fabe
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #48 pc 0036057c /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #49 pc 003610f8 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::Execution::Call(v8::internal::Isolate_, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object_)+120)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #50 pc 002c27cb /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::Function::Call(v8::Localv8::Context, v8::Localv8::Value, int, v8::Localv8::Value_)+251)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #51 pc 002c296d /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::Function::Call(v8::Localv8::Value, int, v8::Localv8::Value_)+93)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #52 pc 0029d307 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::LoadModule(v8::Isolate_, std::string const&)+1991)
05-22 00:57:55.905 103-103/? A/DEBUG﹕ #53 pc 0029df80 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::LoadImpl(v8::Isolate_, std::string const&, bool&)+704)
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #54 pc 0029e384 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (tns::Module::RequireCallback(v8::FunctionCallbackInfov8::Value const&)+660)
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #55 pc 0008d08b
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #56 pc 0008d5bc
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #57 pc 00015f16
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #58 pc 00010d20
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #59 pc 0000fabe
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #60 pc 0036057c /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #61 pc 003610f8 /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::internal::Execution::Call(v8::internal::Isolate_, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object_)+120)
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #62 pc 002c27cb /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::Function::Call(v8::Localv8::Context, v8::Localv8::Value, int, v8::Localv8::Value_)+251)
05-22 00:57:55.906 103-103/? A/DEBUG﹕ #63 pc 002c296d /data/app/org.nativescript.groceries-1/lib/x86/libNativeScript.so (v8::Function::Call(v8::Localv8::Value, int, v8::Localv8::Value_)+93)
05-22 00:57:55.994 103-103/? A/DEBUG﹕ Tombstone written to: /data/tombstones/tombstone_07
05-22 00:57:55.994 103-103/? E/DEBUG﹕ AM write failed: Broken pipe

Thanks for the awesome work!

  • Sean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions