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

Nativescript crashes on arm emulator API 17 and 18 #703

Closed
SvetoslavTsenov opened this issue Feb 6, 2017 · 4 comments
Closed

Nativescript crashes on arm emulator API 17 and 18 #703

SvetoslavTsenov opened this issue Feb 6, 2017 · 4 comments

Comments

@SvetoslavTsenov
Copy link
Contributor

SvetoslavTsenov commented Feb 6, 2017

  1. Create app
  2. Run on arm emulator with api 17

Crash log from adb logcat:

I/DEBUG   (  643): memory map around fault addr 51f6f438:
I/DEBUG   (  643):     51c2d000-51c76000 /dev/ashmem/dalvik-aux-structure (deleted)
I/DEBUG   (  643):     51c76000-523be000 /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):     523be000-523bf000 
I/BootReceiver(  910): Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)
I/qtaguid (  910): Failed write_ctrl(s 0 10051) res=-1 errno=1
W/NetworkManagementSocketTagger(  910): setKernelCountSet(10051, 0) failed with errno -1
I/ActivityManager(  910): Process org.nativescript.jsApp (pid 13176) has died.
D/Zygote  (  646): Process 13176 terminated by signal (4)
D/dalvikvm(13194): Not late-enabling CheckJNI (already on)
D/dalvikvm(  646): GC_EXPLICIT freed 39K, 5% free 2375K/2476K, paused 2ms+3ms, total 69ms
D/dalvikvm(  646): GC_EXPLICIT freed <1K, 5% free 2375K/2476K, paused 5ms+13ms, total 88ms
D/dalvikvm(  646): GC_EXPLICIT freed <1K, 5% free 2375K/2476K, paused 3ms+5ms, total 84ms
D/dalvikvm(  910): GC_FOR_ALLOC freed 565K, 25% free 8364K/11140K, paused 307ms, total 309ms
I/ActivityManager(  910): Start proc org.nativescript.jsApp for activity org.nativescript.jsApp/com.tns.NativeScriptActivity: pid=13194 uid=10051 gids={50051, 1028, 1015, 3003}
I/qtaguid (  910): Failed write_ctrl(s 1 10051) res=-1 errno=1
W/NetworkManagementSocketTagger(  910): setKernelCountSet(10051, 1) failed with errno -1
E/Trace   (13194): error opening trace file: No such file or directory (2)
D/dalvikvm(13194): Trying to load lib /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so 0x40d78d38
D/dalvikvm(13194): Added shared lib /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so 0x40d78d38
I/TNS.Native(13194): NativeScript Runtime Version 2.5.0, commit 95dd12d69eba88755158987d8c4666a9c5aa5e07
D/TNS.Native(13194): JNI_ONLoad
D/TNS.Native(13194): JNI_ONLoad END
D/TNS.Native(13194): Failed to load snapshot: Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/org.nativescript.jsApp-1/libsnapshot.so" not found
F/libc    (13194): Fatal signal 4 (SIGILL) at 0x51f6f438 (code=1), thread 13194 (ivescript.jsApp)
D/dalvikvm(13194): GC_CONCURRENT freed 278K, 13% free 2487K/2828K, paused 24ms+2ms, total 79ms
I/DEBUG   (  643): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  643): Build fingerprint: 'generic/sdk/generic:4.2.2/JB_MR1.1/3453820:eng/test-keys'
I/DEBUG   (  643): Revision: '0'
I/DEBUG   (  643): pid: 13194, tid: 13194, name: ivescript.jsApp  >>> org.nativescript.jsApp <<<
I/DEBUG   (  643): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 51f6f438
I/DEBUG   (  643):     r0 50012f08  r1 00000000  r2 00000001  r3 00000000
I/DEBUG   (  643):     r4 523e8c98  r5 523ee698  r6 ffff0fa0  r7 5212c0cd
I/DEBUG   (  643):     r8 00000000  r9 bee474ac  sl 4ffda5a8  fp 1d60003d
I/DEBUG   (  643):     ip 00000000  sp bee471b0  lr 400cd39b  pc 51f6f438  cpsr 20000030
I/DEBUG   (  643):     d0  400000003eaaaaab  d1  3ff000003fc00000
I/DEBUG   (  643):     d2  bfd3441350baf6de  d3  4008000000000000
I/DEBUG   (  643):     d4  3fcef049fb9094d1  d5  3f40000000000000
I/DEBUG   (  643):     d6  4010000000000000  d7  3eaaaaab3f800000
I/DEBUG   (  643):     d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  643):     d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  643):     d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  643):     d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  643):     scr 60000010
I/DEBUG   (  643): 
I/DEBUG   (  643): backtrace:
I/DEBUG   (  643):     #00  pc 002f9438  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):     #01  pc 004b6149  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):     #02  pc 00619283  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):     #03  pc 004b61eb  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):     #04  pc 00152257  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):     #05  pc 0009ee61  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643): 
I/DEBUG   (  643): stack:
I/DEBUG   (  643):          bee47170  523ee698  
I/DEBUG   (  643):          bee47174  ffff0fa0  [vectors]
I/DEBUG   (  643):          bee47178  5212c0cd  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):          bee4717c  00000000  
I/DEBUG   (  643):          bee47180  bee474ac  [stack]
I/DEBUG   (  643):          bee47184  4ffda5a8  
I/DEBUG   (  643):          bee47188  bee471a8  [stack]
I/DEBUG   (  643):          bee4718c  400c8f01  /system/lib/libc.so (malloc+12)
I/DEBUG   (  643):          bee47190  00000000  
I/DEBUG   (  643):          bee47194  51d82804  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):          bee47198  523e8c98  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):          bee4719c  523ee698  
I/DEBUG   (  643):          bee471a0  ffff0fa0  [vectors]
I/DEBUG   (  643):          bee471a4  4ffda5a8  
I/DEBUG   (  643):          bee471a8  df0027ad  
I/DEBUG   (  643):          bee471ac  00000000  
I/DEBUG   (  643):     #00  bee471b0  7e73a40c  
I/DEBUG   (  643):          bee471b4  523e8c98  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):          bee471b8  523ee120  
I/DEBUG   (  643):          bee471bc  ffff0fa0  [vectors]
I/DEBUG   (  643):          bee471c0  5212c0cd  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):          bee471c4  00000000  
I/DEBUG   (  643):          bee471c8  bee474ac  [stack]
I/DEBUG   (  643):          bee471cc  4ffda5a8  
I/DEBUG   (  643):          bee471d0  1d60003d  
I/DEBUG   (  643):          bee471d4  5212c14d  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):     #01  bee471d8  00000001  
I/DEBUG   (  643):          bee471dc  523f45fc  
I/DEBUG   (  643):          bee471e0  00000000  
I/DEBUG   (  643):          bee471e4  5228f285  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643):     #02  bee471e8  ffffd27c  
I/DEBUG   (  643):          bee471ec  30f00021  
I/DEBUG   (  643):          bee471f0  fff08e77  
I/DEBUG   (  643):          bee471f4  00000000  
I/DEBUG   (  643):          bee471f8  00000000  
I/DEBUG   (  643):          bee471fc  5212c1ef  /data/app-lib/org.nativescript.jsApp-1/libNativeScript.so
I/DEBUG   (  643): 
I/DEBUG   (  643): memory near r0:
@SvetoslavTsenov SvetoslavTsenov changed the title Nativescript crashes with arm emulator on api 17 Nativescript crashes on arm emulator with api 17 Feb 6, 2017
@petekanev petekanev changed the title Nativescript crashes on arm emulator with api 17 Nativescript crashes on arm emulator API 17 and 18 Feb 6, 2017
@petekanev
Copy link
Contributor

petekanev commented Feb 6, 2017

This is a known issue, though at the time we believed it is only specific to x86 emulators -> #358

@petekanev
Copy link
Contributor

I haven't been to reproduce the startup crashes on native (AVD) ARM 17 and ARM 18 emulators.

@petekanev petekanev self-assigned this Feb 10, 2017
@petekanev petekanev removed their assignment May 29, 2017
@Plamen5kov
Copy link
Contributor

@SvetoslavTsenov is this issue still relevant?

@Plamen5kov
Copy link
Contributor

I haven't been able to reproduce it for 1 month now, but we'll reopen if the issue persists.

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

No branches or pull requests

3 participants