Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
CleverCoder opened this issue May 22, 2016 · 19 comments
Closed

Comments

@CleverCoder
Copy link

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
@tjvantoll
Copy link
Contributor

tjvantoll commented May 23, 2016

Hey @CleverCoder,

At a glance I’m not sure what’s up here. When you switch branches in NativeScript typically you have to also blow away the platforms folder, as sometimes that can get out of sync as well.

Could you try running rm -rf platforms/ node_modules/ lib/ hooks/, tns install, and tns run android—and then see if everything works ok? If that fails you could also try asking around in our Slack channel to see if anyone has any ideas. It’s very odd that this would work on a physical device but not an emulator.

Thanks,
(And awesome GitHub handle btw 😄 )

@CleverCoder
Copy link
Author

Well, I tried blowing away those folders and trying again. No dice. Still seeing the same stack trace. Thanks for the tips, however!! I just discovered Slack, so I'll post the issue to android channel there soon... maybe someone has run into this. I'll update this issue if there turns out to be anything interesting to be found!

@devna13
Copy link

devna13 commented Jun 5, 2016

Same here. I can't run sample-Groceries -master- on simulator. I tried both avd and genny simulators on windows both were failing to deploy the app.

It works fine on mac for both ios and android simulators.

@leskeg-zz
Copy link

leskeg-zz commented Jun 7, 2016

Same here. I can't run any nativescript app on any android emulator. OS Archlinux x64
`BUILD SUCCESSFUL

Total time: 24.218 secs
Project successfully built
Successfully deployed on device with identifier '192.168.58.101:5555'.
I/DEBUG ( 87): #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)
I/DEBUG ( 87): #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)
I/DEBUG ( 87): #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)
I/DEBUG ( 87): #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)
`

@dtopuzov
Copy link
Contributor

dtopuzov commented Jun 9, 2016

It might be related to emulator architecture.
Usually fast emulators use x86 images, while most devices on the market user arm CPUs.
Can you to setting different emulator architecture as workaround?

@tjvantoll tjvantoll changed the title angular-start crashes on Genymotion 6.0 and 5.1 emulator - Works on Nexus 6 device angular-start crashes on Windows Genymotion 6.0 and 5.1 emulator - Works on Nexus 6 device Jun 16, 2016
@tjvantoll
Copy link
Contributor

#92 has some details logs from @devna13. I can’t recreate this one myself, but I’m going to see if I can get a few other people to try this out.

@tjvantoll tjvantoll changed the title angular-start crashes on Windows Genymotion 6.0 and 5.1 emulator - Works on Nexus 6 device Crashes on Windows Android AVD and Genymotion - Works on Nexus 6 device Jun 16, 2016
@tjvantoll
Copy link
Contributor

This seems specific to the Angular code path, which is both on the angular-start, and now master branches.

@tjvantoll
Copy link
Contributor

Just to note, a few of us tried this again and unfortunately we were unable to recreate the problem 🙁

If anyone on this thread can still recreate this, could you try calling __enableVerboseLogging() early on, probably as the first thing in main.ts, and see if you get more information in the logs when the app crashes. You might have to additionally add declare var __enableVerboseLogging: any; to make the TypeScript compiler happy.

@CleverCoder
Copy link
Author

For what it's worth, this was an AMD machine where this was happening. That
might be significant. I just got some new Intel i7 hardware, and will
report back if I can reproduce it on it.

  • Sean

On Fri, Jun 17, 2016 at 8:59 AM TJ VanToll [email protected] wrote:

Just to note, a few of us tried this again and unfortunately we were
unable to recreate the problem 🙁

If anyone on this thread can still recreate this, could you try calling
__enableVerboseLogging() early on, probably as the first thing in main.ts,
and see if you get more information in the logs when the app crashes. You
might have to additionally add declare var __enableVerboseLogging: any;
to make the TypeScript compiler happy.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#83 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA9ynYlwXgDXmZySCtirBr3E-Xahjs5Dks5qMpo0gaJpZM4Ij6nk
.

@devna13
Copy link

devna13 commented Jun 21, 2016

Hi @tjvantoll

I have updated master sample-grocories to latest bits and here is the trace log with __enableVerboseLogging() added to main.ts.

fail-log-216-06-20.txt

fail-png

@tjvantoll
Copy link
Contributor

Thanks a lot for helping us debug this @devna13. Unfortunately it doesn’t look like the verbose log has any new information. I’m going to ping our Android team to see if they have any other ideas for what might be up here.

Sorry again 😞

@devna13
Copy link

devna13 commented Jun 21, 2016

sounds good, I'll keep you updated if anything changed on my end regarding this issue.

Thanks TJ.

@slavchev
Copy link

@CleverCoder

The logcat trace indicates it is a problem with RegExp related functionality. I've searched the code and there are literary hundreds of RegExp usages inside Angular module. The good news is that according the trace the problem happens during require-ing a module.

Currently I cannot reproduce the problem on my Visual Studio Emulator for Android so I think our best shot is to try to isolate it as much as possible. As a first step I would suggest to put __enableVerboseLogging(); in the first line of the app and send us the full log of adb logcat which will help us to identify which module causes the crash. Once we have this info we will try to isolate the problem so we can reproduce it.

@blagoev
Copy link

blagoev commented Jun 22, 2016

@devna13 We need all the logcat messages. Unfortunately the console log that you sent is filtered too much. Can you start these commands in separate command prompt
adb logcat -c
adb logcat >> logcat.txt

and start the application on the emulator to reproduce the problem. Then send us the logcat.txt file

thanks

@devna13
Copy link

devna13 commented Jun 24, 2016

@blagoev & @tjvantoll

Here is the adb output

logcat.txt

@slavchev
Copy link

@CleverCoder

Thanks for the logs. Just one question: did you put __enableVerboseLogging() as a first line in your app?

@devna13
Copy link

devna13 commented Jun 24, 2016

@slavchev You Talking To Me?

Yes :)

@slavchev
Copy link

@devna13

See my response at NativeScript/nativescript-angular#402 (comment). I guess updating V8 will solve this issue as well..

@samimzafar
Copy link

untitled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants