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

App crash during GC #184

Closed
slavchev opened this issue Aug 7, 2015 · 1 comment
Closed

App crash during GC #184

slavchev opened this issue Aug 7, 2015 · 1 comment

Comments

@slavchev
Copy link

slavchev commented Aug 7, 2015

App crashes during GC (see the following logs)

Log 1

I/DEBUG   (  191): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  191): Build fingerprint: 'samsung/jfltexx/jflte:4.3/JSS15J/I9505XXUEMKF:user/release-keys'
I/DEBUG   (  191): Revision: '11'
I/DEBUG   (  191): pid: 7015, tid: 7015, name: escript.TestApp  >>> org.nativescript.TestApp <<<
I/DEBUG   (  191): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000007
I/DEBUG   (  191):     r0 7978db44  r1 00000000  r2 00000001  r3 00000000
I/DEBUG   (  191):     r4 00000005  r5 76c80b10  r6 00000008  r7 764685e9
I/DEBUG   (  191):     r8 71e55fe0  r9 000044b0  sl 7978db4c  fp 378c836d
I/DEBUG   (  191):     ip 71e5a490  sp bed170e0  lr 75637a1c  pc 755e1540  cpsr 60000010
I/DEBUG   (  191):     d0  77ba0e2877ba0da8  d1  77ba0f2877ba0ea8
I/DEBUG   (  191):     d2  77ba102877ba0fa8  d3  77ba112877ba10a8
I/DEBUG   (  191):     d4  e1530000e5900003  d5  e59ff010059ff010
I/DEBUG   (  191):     d6  71e6c140e7f000f5  d7  71e6c15871e6c120
I/DEBUG   (  191):     d8  0000000044f00000  d9  0000043800000000
I/DEBUG   (  191):     d10 0000000000000780  d11 0000000000000000
I/DEBUG   (  191):     d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  191):     d14 0000000000000000  d15 7ff80000000003e8
I/DEBUG   (  191):     d16 7974fe787974fe68  d17 7974fe987974fe88
I/DEBUG   (  191):     d18 7974feb87974fea8  d19 7974fed87974fec8
I/DEBUG   (  191):     d20 7974fef87974fee8  d21 7974ff187974ff08
I/DEBUG   (  191):     d22 7974ff387974ff28  d23 7974ff587974ff48
I/DEBUG   (  191):     d24 0028002700260024  d25 002a0028002a0029
I/DEBUG   (  191):     d26 0000000000000000  d27 0000000000000000
I/DEBUG   (  191):     d28 001e001d001c001b  d29 0020001f001e001c
I/DEBUG   (  191):     d30 002a002a002a002a  d31 0000000000000000
I/DEBUG   (  191):     scr 22000013
I/DEBUG   (  191): 
I/DEBUG   (  191): backtrace:
I/DEBUG   (  191):     #00  pc 0023e540  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::NativeScriptExtension::GetClosureObjects(v8::Isolate*, v8::Handle<v8::Function> const&, int*)+488)
I/DEBUG   (  191):     #01  pc 0023b2f7  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (tns::ObjectManager::MarkReachableObjects(v8::Isolate*, v8::Local<v8::Object> const&)+786)
I/DEBUG   (  191):     #02  pc 0023b44f  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (tns::ObjectManager::JSObjectWeakCallback(v8::Isolate*, tns::ObjectManager::ObjectWeakCallbackState*)+226)
I/DEBUG   (  191):     #03  pc 002ee640  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::GlobalHandles::PostMarkSweepProcessing(int)+408)
I/DEBUG   (  191):     #04  pc 002eea5c  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::GlobalHandles::PostGarbageCollectionProcessing(v8::internal::GarbageCollector)+60)
I/DEBUG   (  191):     #05  pc 0030d7c8  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags)+348)
I/DEBUG   (  191):     #06  pc 0030f074  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, char const*, char const*, v8::GCCallbackFlags)+388)
I/DEBUG   (  191):     #07  pc 0030f2c0  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::Heap::CollectAllGarbage(int, char const*, v8::GCCallbackFlags)+112)
I/DEBUG   (  191):     #08  pc 00253b78  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::Isolate::RequestGarbageCollectionForTesting(v8::Isolate::GarbageCollectionType)+64)
I/DEBUG   (  191):     #09  pc 005202c4  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+148)
I/DEBUG   (  191):     #10  pc 0027215c  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so
I/DEBUG   (  191):     #11  pc 00000090  <unknown>

Log 2

I/DEBUG   (  924): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  924): Build fingerprint: 'generic_x86/sdk_x86/generic_x86:4.4.2/KK/999428:eng/test-keys'
I/DEBUG   (  924): Revision: '0'
I/DEBUG   (  924): pid: 1817, tid: 1817, name: escript.TestApp  >>> org.nativescript.TestApp <<<
I/DEBUG   (  924): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000007
I/DEBUG   (  924):     eax 00000000  ebx a8a71d08  ecx 00000001  edx 281613e1
I/DEBUG   (  924):     esi 00000001  edi b8d5e374
I/DEBUG   (  924):     xcs 00000073  xds 0000007b  xes 0000007b  xfs 00000000  xss 0000007b
I/DEBUG   (  924):     eip a842e19b  ebp bfba5f38  esp bfba5e6c  flags 00210246
I/DEBUG   (  924): 
I/DEBUG   (  924): backtrace:
I/DEBUG   (  924):     #00  pc 0026d19b  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::Value::IsObject() const+27)
I/DEBUG   (  924):     #01  pc 0025ac8d  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (tns::ObjectManager::MarkReachableObjects(v8::Isolate*, v8::Local<v8::Object> const&)+1213)
I/DEBUG   (  924):     #02  pc 0025bb1f  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (tns::ObjectManager::JSObjectWeakCallback(v8::Isolate*, tns::ObjectManager::ObjectWeakCallbackState*)+383)
I/DEBUG   (  924):     #03  pc 0025c0aa  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (tns::ObjectManager::JSObjectWeakCallbackStatic(v8::WeakCallbackData<v8::Object, tns::ObjectManager::ObjectWeakCallbackState> const&)+42)
I/DEBUG   (  924):     #04  pc 00327ad0  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::GlobalHandles::PostMarkSweepProcessing(int)+384)
I/DEBUG   (  924):     #05  pc 00327f3c  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::GlobalHandles::PostGarbageCollectionProcessing(v8::internal::GarbageCollector)+76)
I/DEBUG   (  924):     #06  pc 0034a999  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags)+313)
I/DEBUG   (  924):     #07  pc 0034af5b  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, char const*, char const*, v8::GCCallbackFlags)+363)
I/DEBUG   (  924):     #08  pc 0034b1c9  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::Heap::CollectAllGarbage(int, char const*, v8::GCCallbackFlags)+121)
I/DEBUG   (  924):     #09  pc 0027aa2b  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::Isolate::RequestGarbageCollectionForTesting(v8::Isolate::GarbageCollectionType)+75)
I/DEBUG   (  924):     #10  pc 002ff31a  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::GCExtension::GC(v8::FunctionCallbackInfo<v8::Value> const&)+58)
I/DEBUG   (  924):     #11  pc 005851af  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))+143)
I/DEBUG   (  924):     #12  pc 0029c842  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so
I/DEBUG   (  924):     #13  pc 0000007b  <unknown>
I/DEBUG   (  924):     #14  pc 0008ab68  <unknown>
I/DEBUG   (  924):     #15  pc 0008aa3d  <unknown>
I/DEBUG   (  924):     #16  pc 00014f74  <unknown>
I/DEBUG   (  924):     #17  pc 000142e9  <unknown>
I/DEBUG   (  924):     #18  pc 002fc424  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so
I/DEBUG   (  924):     #19  pc 002fd568  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, bool)+184)
I/DEBUG   (  924):     #20  pc 0027ed8d  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (v8::Function::Call(v8::Handle<v8::Value>, int, v8::Handle<v8::Value>*)+205)
I/DEBUG   (  924):     #21  pc 00230e4a  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (tns::NativeScriptRuntime::CallJSMethod(_JNIEnv*, v8::Handle<v8::Object> const&, std::string const&, _jobjectArray*, v8::TryCatch&)+522)
I/DEBUG   (  924):     #22  pc 00228e55  /data/app-lib/org.nativescript.TestApp-1/libNativeScript.so (Java_com_tns_Platform_callJSMethodNative+357)
I/DEBUG   (  924):     #23  pc 0002a0eb  /system/lib/libdvm.so (dvmPlatformInvoke+79)
I/DEBUG   (  924):     #24  pc 00006dcf  [heap]
I/DEBUG   (  924):     #25  pc 0008689d  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+285)
I/DEBUG   (  924):     #26  pc 0004c0e2  /system/lib/libdvm.so (dvmCheckCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+66)
I/DEBUG   (  924):     #28  pc 00005927  <unknown>
I/DEBUG   (  924):     #29  pc 0003b592  /system/lib/libdvm.so (dvmMterpStd(Thread*)+66)
I/DEBUG   (  924):     #30  pc 00036c59  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+217)
I/DEBUG   (  924):     #31  pc 000bc599  /system/lib/libdvm.so (dvmCallMethodA(Thread*, Method const*, Object*, bool, JValue*, jvalue const*)+905)

More info (internal links)
http://nsbuild01.telerik.com:8080/build/view/Tests-Release/job/integration-tests-release-unittestapp-android-4.2.2-galaxy4/72/artifact/target/surefire-reports/logs/consoleLog.txt
http://nsbuild01.telerik.com:8080/build/view/Tests-Release/job/integration-tests-release-unittestapp-android-4.2.2-galaxy4/70/artifact/target/surefire-reports/logs/consoleLog.txt
http://nsbuild01.telerik.com:8080/build/view/Tests-Stable-Device/job/integration-tests-stable-unittestapp-android-4.2.2-galaxy4/1397/artifact/target/surefire-reports/logs/consoleLog.txt
http://nsbuild01.telerik.com:8080/build/view/Tests-Stable-Emu/job/integration-tests-stable-unittestapp-android-api19-emulator/345/artifact/target/surefire-reports/logs/consoleLog.txt

@slavchev
Copy link
Author

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

2 participants