I have a simple app that follows the models/login app in the alloy suite. It works on iPhones but when I try to run it on Android, the app restarts on the logged in page while responding to some click event ( i.e. an onClick on an optionDialog or onClick on a button )
I've been trying to isolate the code down as much as possible just by deleting everything and I have determined the error shows up
- Only when I go from a login page -> the logged in page using open()'s and close()'s
- Only when responding to an "onClick" event
How do I continue this debugging?
This is the error that I am getting in the logs:
F/libc ( 4794): Fatal signal 11 (SIGSEGV) at 0x00000014 (code=1), thread 4808 (KrollRuntimeThr)
I/DEBUG ( 113): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 113): Build fingerprint: 'generic/vbox86p/vbox86p:4.1.1/JRO03S/eng.buildbot.20131216.105737:userdebug/test-keys'
I/DEBUG ( 113): pid: 4794, tid: 4808, name: KrollRuntimeThr >>> com.ourvolts.mobile <<<
I/DEBUG ( 113): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000014
I/DEBUG ( 113): eax 99656f24 ebx 99656cf0 ecx 415080c1 edx 4d708091
I/DEBUG ( 113): esi 00000000 edi 998c66af
I/DEBUG ( 113): xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
I/DEBUG ( 113): eip 9900de89 ebp 998c67b4 esp 998c6540 flags 00010246
I/DEBUG ( 113):
I/DEBUG ( 113): backtrace:
I/DEBUG ( 113): #00 pc 00076e89 /data/data/com.ourvolts.mobile/lib/libkroll-v8.so (titanium::JavaObject::getJavaObject()+41)
I/DEBUG ( 113): #01 pc 000a0465 <unknown>
I/DEBUG ( 113):
I/DEBUG ( 113): stack:
I/DEBUG ( 113): 998c6500 00000000
I/DEBUG ( 113): 998c6504 00000000
I/DEBUG ( 113): 998c6508 00000000
I/DEBUG ( 113): 998c650c 00000000
I/DEBUG ( 113): 998c6510 00000000
I/DEBUG ( 113): 998c6514 00000000
I/DEBUG ( 113): 998c6518 00000000
I/DEBUG ( 113): 998c651c 00000000
I/DEBUG ( 113): 998c6520 00000000
I/DEBUG ( 113): 998c6524 00000000
I/DEBUG ( 113): 998c6528 00000000
I/DEBUG ( 113): 998c652c 00000000
I/DEBUG ( 113): 998c6530 00000000
I/DEBUG ( 113): 998c6534 00000000
I/DEBUG ( 113): 998c6538 00000000
I/DEBUG ( 113): 998c653c 00000000
I/DEBUG ( 113): #00 998c6540 4d725ad1
I/DEBUG ( 113): 998c6544 00008601
I/DEBUG ( 113): 998c6548 46f00000
I/DEBUG ( 113): 998c654c 99656cf0 /data/data/com.ourvolts.mobile/lib/libkroll-v8.so
I/DEBUG ( 113): 998c6550 99656cf0 /data/data/com.ourvolts.mobile/lib/libkroll-v8.so
I/DEBUG ( 113): 998c6554 b96e2c70 [heap]
I/DEBUG ( 113): 998c6558 998c66af [stack:4808]
I/DEBUG ( 113): 998c655c 9901b338 /data/data/com.ourvolts.mobile/lib/libkroll-v8.so (titanium::TypeConverter::jsValueToJavaObject(_JNIEnv*, v8::Local<v8::Value>, bool*)+376)
I/DEBUG ( 113): 998c6560 00000000
I/DEBUG ( 113): 998c6564 998c67b4 [stack:4808]
I/DEBUG ( 113): 998c6568 998c669c [stack:4808]
I/DEBUG ( 113): 998c656c 993edd68 /data/data/com.ourvolts.mobile/lib/libkroll-v8.so
I/DEBUG ( 113): 998c6570 4d793bc9
I/DEBUG ( 113): 998c6574 5f92379d
I/DEBUG ( 113): 998c6578 998c6674 [stack:4808]
I/DEBUG ( 113): 998c657c 993d3d68 /data/data/com.ourvolts.mobile/lib/libkroll-v8.so
I/DEBUG ( 113): ........ ........
I/DEBUG ( 113): #01 998c67bc 4d73a305
I/DEBUG ( 113): 998c67c0 4d758299
I/DEBUG ( 113): 998c67c4 998c67dc [stack:4808]
I/DEBUG ( 113): 998c67c8 57d0db41
I/DEBUG ( 113): 998c67cc 4d7a047d
I/DEBUG ( 113): 998c67d0 00000002
I/DEBUG ( 113): 998c67d4 4d73a305
I/DEBUG ( 113): 998c67d8 00000010
I/DEBUG ( 113): 998c67dc 998c6800 [stack:4808]
I/DEBUG ( 113): 998c67e0 57d28c5d
I/DEBUG ( 113): 998c67e4 46f09b65
I/DEBUG ( 113): 998c67e8 4d7a047d
I/DEBUG ( 113): 998c67ec 46f09b65
I/DEBUG ( 113): 998c67f0 4d7080c1
I/DEBUG ( 113): 998c67f4 4d7080c1