{"action":"opened","issue":{"url":"https://api.github.com/repos/NativeScript/android-runtime/issues/385","repository_url":"https://api.github.com/repos/NativeScript/android-runtime","labels_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/385/comments","events_url":"https://api.github.com/repos/NativeScript/android-runtime/issues/385/events","html_url":"https://github.com/NativeScript/android-runtime/issues/385","id":141197613,"number":385,"title":"App crashes on resume","user":{"login":"slavchev","id":3962815,"avatar_url":"https://avatars.githubusercontent.com/u/3962815?v=3","gravatar_id":"","url":"https://api.github.com/users/slavchev","html_url":"https://github.com/slavchev","followers_url":"https://api.github.com/users/slavchev/followers","following_url":"https://api.github.com/users/slavchev/following{/other_user}","gists_url":"https://api.github.com/users/slavchev/gists{/gist_id}","starred_url":"https://api.github.com/users/slavchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavchev/subscriptions","organizations_url":"https://api.github.com/users/slavchev/orgs","repos_url":"https://api.github.com/users/slavchev/repos","events_url":"https://api.github.com/users/slavchev/events{/privacy}","received_events_url":"https://api.github.com/users/slavchev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-16T07:38:51Z","updated_at":"2016-03-16T07:38:51Z","closed_at":null,"body":"Reported from @PanayotCankov \r\n\r\n```\r\n03-16 03:28:31.653: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:28:36.653: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:28:41.657: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:28:42.417: D/Genyd(62): Received Set Clipboard\r\n03-16 03:28:42.417: D/Genymotion(62): Received Set Clipboard\r\n03-16 03:28:46.657: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:28:49.189: V/JS(2786): Track: Navigate to: examples/layouts/layouts-example\r\n03-16 03:28:49.189: D/TNS.JAVA.JsDebugger(2786): Sending console message to inspector:{\"seq\":0,\"body\":{\"message\":{\"text\":\"Track: Navigate to: examples\\/layouts\\/layouts-example\",\"level\":\"log\",\"source\":\"console-api\",\"groupLevel\":7,\"column\":13,\"line\":10,\"repeatCount\":1,\"type\":\"log\",\"url\":\"\\/data\\/data\\/org.nativescript.examples\\/files\\/app\\/common\\/navigator.js\"}},\"type\":\"event\",\"success\":true,\"event\":\"messageAdded\"}\r\n03-16 03:28:49.289: A/libc(2786): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=128), thread 2786 (script.examples)\r\n03-16 03:28:49.393: I/DEBUG(125): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\n03-16 03:28:49.393: I/DEBUG(125): Build fingerprint: 'generic/vbox86tp/vbox86tp:4.3/JLS36G/eng.buildbot.20150609.214615:userdebug/test-keys'\r\n03-16 03:28:49.393: I/DEBUG(125): Revision: '0'\r\n03-16 03:28:49.393: I/DEBUG(125): pid: 2786, tid: 2786, name: script.examples  >>> org.nativescript.examples <<<\r\n03-16 03:28:49.393: I/DEBUG(125): signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 00000000\r\n03-16 03:28:49.513: I/DEBUG(125):     eax b9375d60  ebx 97bd8cdc  ecx 000003fc  edx b8fa8f00\r\n03-16 03:28:49.513: I/DEBUG(125):     esi b8fa7f08  edi 000003fe\r\n03-16 03:28:49.513: I/DEBUG(125):     xcs 00000073  xds 0000007b  xes 0000007b  xfs 00000000  xss 0000007b\r\n03-16 03:28:49.513: I/DEBUG(125):     eip 97542bd9  ebp b8fa8f00  esp bf8f269c  flags 00210286\r\n03-16 03:28:49.513: E/Corkscrew(125): unrecognized dwarf higher part encoding: 0xe3\r\n03-16 03:28:49.513: I/DEBUG(125): backtrace:\r\n03-16 03:28:49.513: I/DEBUG(125):     #00  pc 0038abd9  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (v8::internal::HandleScope::DeleteExtensions(v8::internal::Isolate*)+265)\r\n03-16 03:28:49.513: I/DEBUG(125):     #01  pc 0029e226  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (v8::HandleScope::~HandleScope()+70)\r\n03-16 03:28:49.513: I/DEBUG(125):     #02  pc 00249462  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (Java_com_tns_Platform_callJSMethodNative+194)\r\n03-16 03:28:49.513: I/DEBUG(125): stack:\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f265c  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2660  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2664  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2668  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f266c  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2670  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2674  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2678  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f267c  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2680  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2684  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2688  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f268c  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2690  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2694  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2698  46505845  \r\n03-16 03:28:49.513: I/DEBUG(125):     #00  bf8f269c  b9375d60  [heap]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26a0  97635736  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (v8::internal::Isolate::SetIsolateThreadLocals(v8::internal::Isolate*, v8::internal::Isolate::PerIsolateThreadData*)+6)\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26a4  97bd8cdc  /data/app-lib/org.nativescript.examples-1/libNativeScript.so\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26a8  97636b66  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (v8::internal::Isolate::Enter()+118)\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26ac  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26b0  b8df2190  [heap]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26b4  9d96705c  /dev/ashmem/dalvik-aux-structure (deleted)\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26b8  b60b5563  /system/lib/libdvm.so\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26bc  9ecdb4b8  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26c0  b8f7b8c8  [heap]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26c4  000003fc  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26c8  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26cc  b8db6bd0  [heap]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26d0  bf8f275c  [stack]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26d4  97542ad9  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (v8::internal::HandleScope::DeleteExtensions(v8::internal::Isolate*)+9)\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26d8  97bd8cdc  /data/app-lib/org.nativescript.examples-1/libNativeScript.so\r\n03-16 03:28:49.513: I/DEBUG(125):          ........  ........\r\n03-16 03:28:49.513: I/DEBUG(125):     #01  bf8f26ec  b8f826a0  [heap]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26f0  b6246ccc  /system/lib/libdvm.so\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26f4  9740647b  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (tns::NativePlatform::CallJSMethodNative(_JNIEnv*, _jobject*, int, _jstring*, int, unsigned char, _jobjectArray*)+11)\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26f8  974561e8  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (v8::HandleScope::~HandleScope()+8)\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f26fc  97bd8cdc  /data/app-lib/org.nativescript.examples-1/libNativeScript.so\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2700  b8f826a0  [heap]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2704  bf8f2748  [stack]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2708  97401463  /data/app-lib/org.nativescript.examples-1/libNativeScript.so (Java_com_tns_Platform_callJSMethodNative+195)\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f270c  bf8f2748  [stack]\r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2710  94300029  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2714  000001bf  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2718  0600002d  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f271c  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2720  00000000  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2724  38400031  \r\n03-16 03:28:49.513: I/DEBUG(125):          bf8f2728  b6240000  /system/lib/libdvm.so\r\n03-16 03:28:49.565: I/BootReceiver(396): Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)\r\n03-16 03:28:49.569: W/ActivityManager(396):   Force finishing activity org.nativescript.examples/com.tns.NativeScriptActivity\r\n03-16 03:28:49.577: D/(396): HostConnection::get() New Host Connection established 0xb90aebb8, tid 5914\r\n03-16 03:28:49.577: D/dalvikvm(396): GC_CONCURRENT freed 576K, 57% free 8911K/20700K, paused 3ms+1ms, total 13ms\r\n03-16 03:28:49.585: W/InputDispatcher(396): channel '529e1830 org.nativescript.examples/com.tns.NativeScriptActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0xd\r\n03-16 03:28:49.585: E/InputDispatcher(396): channel '529e1830 org.nativescript.examples/com.tns.NativeScriptActivity (server)' ~ Channel is unrecoverably broken and will be disposed!\r\n03-16 03:28:49.601: D/Zygote(128): Process 2786 terminated by signal (11)\r\n03-16 03:28:49.633: W/InputDispatcher(396): Attempted to unregister already unregistered input channel '529e1830 org.nativescript.examples/com.tns.NativeScriptActivity (server)'\r\n03-16 03:28:49.633: I/WindowState(396): WIN DEATH: Window{529e1830 u0 org.nativescript.examples/com.tns.NativeScriptActivity}\r\n03-16 03:28:49.633: W/ActivityManager(396): Exception thrown during pause\r\n03-16 03:28:49.633: W/ActivityManager(396): android.os.DeadObjectException\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat android.os.BinderProxy.transact(Native Method)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:635)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:990)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3834)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3766)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:8344)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:8221)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:8900)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:8455)\r\n03-16 03:28:49.633: W/ActivityManager(396): \tat com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)\r\n03-16 03:28:49.637: I/qtaguid(396): Failed write_ctrl(s 1 10023) res=-1 errno=1\r\n03-16 03:28:49.637: W/NetworkManagementSocketTagger(396): setKernelCountSet(10023, 1) failed with errno -1\r\n03-16 03:28:49.641: I/ActivityManager(396): Process org.nativescript.examples (pid 2786) has died.\r\n03-16 03:28:49.645: D/dalvikvm(396): GC_CONCURRENT freed 745K, 57% free 8974K/20700K, paused 0ms+1ms, total 8ms\r\n03-16 03:28:49.669: I/qtaguid(396): Failed write_ctrl(s 0 10052) res=-1 errno=1\r\n03-16 03:28:49.669: W/NetworkManagementSocketTagger(396): setKernelCountSet(10052, 0) failed with errno -1\r\n03-16 03:28:49.701: W/EGL_genymotion(602): eglSurfaceAttrib not implemented\r\n03-16 03:28:51.657: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:28:56.657: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:01.657: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:06.661: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:11.661: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:16.661: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:21.661: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:26.665: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:29.009: D/dalvikvm(588): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.009: D/dalvikvm(602): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.009: D/dalvikvm(5212): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.009: D/dalvikvm(396): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.009: D/dalvikvm(5192): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.009: D/dalvikvm(473): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.013: D/dalvikvm(568): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.013: D/dalvikvm(630): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.013: D/dalvikvm(4277): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.013: D/dalvikvm(5249): Debugger has detached; object registry had 1 entries\r\n03-16 03:29:29.605: D/MobileDataStateTracker(396): default: setPolicyDataEnable(enabled=true)\r\n03-16 03:29:31.665: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:36.665: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:41.665: E/Genymotion(396): Could not open '/sys/class/power_supply/genymotion_fake_path/present'\r\n03-16 03:29:\r\n```"}}