I have this TableView. Nothing fance. Just a plain TableView that when I click over some row, it reset the TableView with new rows.
When the TableView open, if I click over a row, it works ok. I now I can scroll and click as much as I want and all works like a charm.
But if when I open the TableView, if the first thing I do is scroll the TableView (something more than 1 page long), when I click any row, about 90% of times the app will just crash and restart, with no message on screen, and the console will show this:
F/libc ( 2307): Fatal signal 11 (SIGSEGV) at 0x00000014 (code=1) I/DEBUG ( 34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 34): Build fingerprint: 'generic/google_sdk/generic:4.0.2/ICS_MR0/229537:eng/test-keys' I/DEBUG ( 34): pid: 2307, tid: 2323 >>> com.app.my <<< I/DEBUG ( 34): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000014 I/DEBUG ( 34): r0 00000000 r1 80000000 r2 35a08091 r3 00000000 I/DEBUG ( 34): r4 00000000 r5 498f6818 r6 00000000 r7 498f6824 I/DEBUG ( 34): r8 0000287c r9 49af35a5 10 49faf838 fp 35af9cf1 I/DEBUG ( 34): ip 49fabf4c sp 498f67a8 lr 49af35f9 pc 49ac9c3c cpsr 60000030 I/DEBUG ( 34): d0 4010000000000000 d1 404c000000000000 I/DEBUG ( 34): d2 000000003f000000 d3 000000003f000000 I/DEBUG ( 34): d4 0000000000000000 d5 0000000000000000 I/DEBUG ( 34): d6 00841fe000000000 d7 3ff0000000000000 I/DEBUG ( 34): d8 0000000000000000 d9 0000000000000000 I/DEBUG ( 34): d10 0000000000000000 d11 0000000000000000 I/DEBUG ( 34): d12 0000000000000000 d13 0000000000000000 I/DEBUG ( 34): d14 0000000000000000 d15 0000000000000000 I/DEBUG ( 34): scr 80000012 I/DEBUG ( 34): I/DEBUG ( 34): #00 pc 00071c3c /mnt/asec/com.app.my-2/lib/libkroll-v8.so (_ZN8titanium10JavaObject13getJavaObjectEv) I/DEBUG ( 34): #01 pc 0009b5f4 /mnt/asec/com.app.my-2/lib/libkroll-v8.so (_ZN8titanium11TiFileProxy13getNativePathERKN2v89ArgumentsE) I/DEBUG ( 34): #02 pc 0015c04c /mnt/asec/com.app.my-2/lib/libkroll-v8.so I/DEBUG ( 34): I/DEBUG ( 34): code around pc: I/DEBUG ( 34): 49ac9c1c 1c2060e5 ffc8f7ff 46c0bd70 ffffff9b I/DEBUG ( 34): 49ac9c2c 4b19b570 447b1c04 781b681b d1162b00 I/DEBUG ( 34): 49ac9c3c 2b007d03 6900d00d fefaf004 d01a1e05 I/DEBUG ( 34): 49ac9c4c 23004a12 68607523 1c21447a e9e6f0c2 I/DEBUG ( 34): 49ac9c5c 6900e003 fed8f004 1c281c05 f7ffbd70 I/DEBUG ( 34): I/DEBUG ( 34): code around lr: I/DEBUG ( 34): 49af35d8 68121e5a 2aaa79d2 e06bd100 21001c28 I/DEBUG ( 34): 49af35e8 ec8cf09c 1e181c03 2000d100 fb1af7d6 I/DEBUG ( 34): 49af35f8 68214b3e 447b1c07 23906d5a 1c2058cd I/DEBUG ( 34): 49af3608 1c392300 4b3a47a8 447b1c05 781b681b I/DEBUG ( 34): 49af3618 d0192b00 23e46822 58d3009b 47981c20 I/DEBUG ( 34): I/DEBUG ( 34): stack: I/DEBUG ( 34): 498f6768 498f6868 I/DEBUG ( 34): 498f676c 498f6864 I/DEBUG ( 34): 498f6770 498f6868 I/DEBUG ( 34): 498f6774 498f67e0 I/DEBUG ( 34): 498f6778 00001f64 I/DEBUG ( 34): 498f677c 498f6820 I/DEBUG ( 34): 498f6780 00000001 I/DEBUG ( 34): 498f6784 49cdc008 /mnt/asec/com.app.my-2/lib/libkroll-v8.so I/DEBUG ( 34): 498f6788 498f6820 I/DEBUG ( 34): 498f678c 00000000 I/DEBUG ( 34): 498f6790 00000001 I/DEBUG ( 34): 498f6794 00242c18 I/DEBUG ( 34): 498f6798 498f6868 I/DEBUG ( 34): 498f679c 00242c18 I/DEBUG ( 34): 498f67a0 df0027ad I/DEBUG ( 34): 498f67a4 00000000 I/DEBUG ( 34): #00 498f67a8 0019a1f0 I/DEBUG ( 34): 498f67ac 498f6818 I/DEBUG ( 34): 498f67b0 00000000 I/DEBUG ( 34): 498f67b4 49af35f9 /mnt/asec/com.app.my-2/lib/libkroll-v8.so I/DEBUG ( 34): #01 498f67b8 00242c18 I/DEBUG ( 34): 498f67bc 0026ffcc I/DEBUG ( 34): 498f67c0 00270f60 I/DEBUG ( 34): 498f67c4 31916800 I/DEBUG ( 34): 498f67c8 00242c18 I/DEBUG ( 34): 498f67cc 00242c18 I/DEBUG ( 34): 498f67d0 00000000 I/DEBUG ( 34): 498f67d4 00000000 I/DEBUG ( 34): 498f67d8 4a0700fd I/DEBUG ( 34): 498f67dc 49bb4050 /mnt/asec/com.app.my-2/lib/libkroll-v8.soThe funny (sad) thing is... This happen in real devices and in the emulator when I'm just running the app, but if I'm debugging the app in the emulator, it never, NEVER, happens. So I can not debug the damn thing!
Any clue about what can be going wrong? Any clue in how can I avoid it?