[Lazarus] Android LCL example with 2.7.1

leledumbo leledumbo_cool at yahoo.co.id
Fri Mar 8 15:36:37 CET 2013


Lazarus 1.1 r40503 FPC 2.7.1 r23704, both my app and androidlcl example
crashes with this:

I/lclapp  (  738): [FORMS.PP] ExceptionOccurred 
I/lclapp  (  738):   Sender=EIntOverflow
I/lclapp  (  738):   Exception=Arithmetic overflow
I/lclapp  (  738):   Stack trace:
I/lclapp  (  738):   $46AC306C
I/lclapp  (  738): TApplication.HandleException Arithmetic overflow
I/lclapp  (  738):   Stack trace:
I/lclapp  (  738):   $46AC306C

androidlcl generates much more information though:

I/Process (   76): Sending signal. PID: 738 SIG: 3
I/dalvikvm(  738): threadid=3: reacting to signal 3
I/dalvikvm(  738): Wrote stack traces to '/data/anr/traces.txt'
F/libc    (  738): Fatal signal 11 (SIGSEGV) at 0x400dac9c (code=2)
I/Process (   76): Sending signal. PID: 738 SIG: 3
I/dalvikvm(  738): threadid=3: reacting to signal 3
I/dalvikvm(  738): Wrote stack traces to '/data/anr/traces.txt'
I/DEBUG   (   33): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
*** ***
I/DEBUG   (   33): Build fingerprint:
'generic/sdk/generic:4.0.4/MR1/302030:eng/test-keys'
I/DEBUG   (   33): pid: 738, tid: 738  >>> com.pascal.lcltest <<<
I/DEBUG   (   33): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr
400dac9c
I/DEBUG   (   33):  r0 00000000  r1 00001000  r2 00000003  r3 befa1fc4
I/DEBUG   (   33):  r4 4004755c  r5 400da000  r6 400daca8  r7 0000010c
I/DEBUG   (   33):  r8 00001000  r9 00000000  10 4527c2c4  fp 0000000c
I/DEBUG   (   33):  ip fffff750  sp befa1fb8  lr 40022bef  pc 40022bf0  cpsr
60000030
I/DEBUG   (   33):  d0  bf800000bf800000  d1  3ff0000042c80000
I/DEBUG   (   33):  d2  bf80000000000000  d3  3f80000000000000
I/DEBUG   (   33):  d4  3f80000000000000  d5  3ff000003f800000
I/DEBUG   (   33):  d6  bff0000000000000  d7  408000003f800000
I/DEBUG   (   33):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   (   33):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   (   33):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   (   33):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   (   33):  scr 60000013
I/DEBUG   (   33): 
I/DEBUG   (   33):          #00  pc 0001ebf0  /system/lib/libc.so
(__cxa_finalize)
I/DEBUG   (   33):          #01  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #02  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #03  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #04  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #05  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #06  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #07  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #08  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #09  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #10  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #11  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #12  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #13  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #14  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #15  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #16  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #17  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #18  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #19  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #20  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #21  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #22  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #23  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #24  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #25  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #26  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #27  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #28  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #29  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #30  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33):          #31  pc 0001ef9c  /system/lib/libc.so (exit)
I/DEBUG   (   33): 
I/DEBUG   (   33): code around pc:
I/DEBUG   (   33): 40022bd0 f1a6d118 9b010a0c 0007e89a 0007e883 
................
I/DEBUG   (   33): 40022be0 46414628 f8dd2203 f7eda010 b930ed06 
(FAF."........0.
I/DEBUG   (   33): 40022bf0 0c0cf846 46284641 f7ed2201 4650ecfe 
F...AF(F."....PF
I/DEBUG   (   33): 40022c00 47889903 f1173e0c d5d837ff 2d00682d 
...G.>...7..-h.-
I/DEBUG   (   33): 40022c10 f1b9d1d0 d1180f00 c048f8df f8dc44fc 
..........H..D..
I/DEBUG   (   33): 
I/DEBUG   (   33): code around lr:
I/DEBUG   (   33): 40022bcc 45810c04 f1a6d118 9b010a0c 0007e89a 
...E............
I/DEBUG   (   33): 40022bdc 0007e883 46414628 f8dd2203 f7eda010 
....(FAF."......
I/DEBUG   (   33): 40022bec b930ed06 0c0cf846 46284641 f7ed2201 
..0.F...AF(F."..
I/DEBUG   (   33): 40022bfc 4650ecfe 47889903 f1173e0c d5d837ff 
..PF...G.>...7..
I/DEBUG   (   33): 40022c0c 2d00682d f1b9d1d0 d1180f00 c048f8df 
-h.-..........H.
I/DEBUG   (   33): 
I/DEBUG   (   33): memory map around addr 400dac9c:
I/DEBUG   (   33): 400d9000-400da000 /system/lib/libz.so
I/DEBUG   (   33): 400da000-400db000 
I/DEBUG   (   33): 400db000-400fe000 /system/lib/libbinder.so
I/DEBUG   (   33): 
I/DEBUG   (   33): stack:
I/DEBUG   (   33):     befa1f78  4527c460  
I/DEBUG   (   33):     befa1f7c  4527c3a8  
I/DEBUG   (   33):     befa1f80  400dad20  
I/DEBUG   (   33):     befa1f84  00000116  
I/DEBUG   (   33):     befa1f88  00001000  
I/DEBUG   (   33):     befa1f8c  44f782d5  /system/lib/libbcc.so
I/DEBUG   (   33):     befa1f90  4527c460  
I/DEBUG   (   33):     befa1f94  400da000  
I/DEBUG   (   33):     befa1f98  400dad20  
I/DEBUG   (   33):     befa1f9c  44f7834d  /system/lib/libbcc.so
I/DEBUG   (   33):     befa1fa0  4004755c  /system/lib/libc.so
I/DEBUG   (   33):     befa1fa4  400da000  
I/DEBUG   (   33):     befa1fa8  4527c354  
I/DEBUG   (   33):     befa1fac  44ff4215  /system/lib/libbcc.so
I/DEBUG   (   33):     befa1fb0  4004755c  /system/lib/libc.so
I/DEBUG   (   33):     befa1fb4  0000010c  
I/DEBUG   (   33): #00 befa1fb8  befa1f00  [stack]
I/DEBUG   (   33):     befa1fbc  befa1fc4  [stack]
I/DEBUG   (   33):     befa1fc0  befa1f98  [stack]
I/DEBUG   (   33):     befa1fc4  44e93ead  /system/lib/libbcc.so
I/DEBUG   (   33):     befa1fc8  4527c2c4  
I/DEBUG   (   33):     befa1fcc  45278770  /system/lib/libbcc.so
I/DEBUG   (   33):     befa1fd0  46e9b030  
I/DEBUG   (   33):     befa1fd4  00000000  
I/DEBUG   (   33):     befa1fd8  46da6f48 
/data/data/com.pascal.lcltest/lib/liblclapp.so
I/DEBUG   (   33):     befa1fdc  46e9b030  
I/DEBUG   (   33):     befa1fe0  46e8b160  
I/DEBUG   (   33):     befa1fe4  befa2664  [stack]
I/DEBUG   (   33):     befa1fe8  41fac4f0  
I/DEBUG   (   33):     befa1fec  468fcd02 
/data/dalvik-cache/data at app@com.pascal.lcltest-1.apk at classes.dex
I/DEBUG   (   33):     befa1ff0  befa20f4  [stack]
I/DEBUG   (   33):     befa1ff4  40022fa1  /system/lib/libc.so
I/DEBUG   (   33): #01 befa1ff8  46da6f48 
/data/data/com.pascal.lcltest/lib/liblclapp.so
I/DEBUG   (   33):     befa1ffc  46a0afe8 
/data/data/com.pascal.lcltest/lib/liblclapp.so
I/DEBUG   (   33):     befa2000  befa20f4  [stack]
I/DEBUG   (   33):     befa2004  46a0b020 
/data/data/com.pascal.lcltest/lib/liblclapp.so
I/DEBUG   (   33):     befa2008  46a404ec 
/data/data/com.pascal.lcltest/lib/liblclapp.so
I/DEBUG   (   33):     befa200c  46a4052c 
/data/data/com.pascal.lcltest/lib/liblclapp.so
I/DEBUG   (   33):     befa2010  46e9b030  
I/DEBUG   (   33):     befa2014  46e8b160  
I/DEBUG   (   33):     befa2018  befa2664  [stack]
I/DEBUG   (   33):     befa201c  41fac4f0  
I/DEBUG   (   33):     befa2020  468fcd02 
/data/dalvik-cache/data at app@com.pascal.lcltest-1.apk at classes.dex
I/DEBUG   (   33):     befa2024  46fc362c  
I/DEBUG   (   33):     befa2028  0000000b  
I/DEBUG   (   33):     befa202c  46e7437c  
I/DEBUG   (   33):     befa2030  0000000b  
I/DEBUG   (   33):     befa2034  46d501a4 
/data/data/com.pascal.lcltest/lib/liblclapp.so
I/DEBUG   (   33):     befa2038  00000002  
I/DEBUG   (   33):     befa203c  0000000a  
I/Process (   76): Sending signal. PID: 738 SIG: 3
I/dalvikvm(  738): threadid=3: reacting to signal 3
I/dalvikvm(  738): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   76): Sending signal. PID: 738 SIG: 3
I/dalvikvm(  738): threadid=3: reacting to signal 3
I/dalvikvm(  738): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   76): Sending signal. PID: 738 SIG: 3
I/dalvikvm(  738): threadid=3: reacting to signal 3
I/dalvikvm(  738): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   76): Sending signal. PID: 738 SIG: 3
I/dalvikvm(  738): threadid=3: reacting to signal 3
I/dalvikvm(  738): Wrote stack traces to '/data/anr/traces.txt'
I/Process (   76): Sending signal. PID: 738 SIG: 3
I/dalvikvm(  738): threadid=3: reacting to signal 3
I/dalvikvm(  738): Wrote stack traces to '/data/anr/traces.txt'
D/Zygote  (   36): Process 738 terminated by signal (11)
I/WindowManager(   76): WIN DEATH: Window{412994b0
com.pascal.lcltest/com.pascal.lcltest.LCLActivity paused=false}
I/ActivityManager(   76): Process com.pascal.lcltest (pid 738) has died.
W/ActivityManager(   76): Force removing ActivityRecord{410ac500
com.pascal.lcltest/.LCLActivity}: app died, no saved state
W/NetworkManagementSocketTagger(   76): setKernelCountSet(10040, 0) failed
with errno -2
I/WindowManager(   76): WIN DEATH: Window{4128d228
com.pascal.lcltest/com.pascal.lcltest.LCLActivity paused=false}



--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Android-LCL-example-with-2-7-1-tp4029697p4029765.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.




More information about the Lazarus mailing list