signal 11 at libIMGegl.so

My Android program crashs at libIMGegl.so.


Could you help me?





GalaxyS(SC-02B)


Android 2.3.3





I/DEBUG   ( 3274): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000


I/DEBUG   ( 3274): r0 00000001 r1 00000800 r2 00000800 r3 00000000


I/DEBUG   ( 3274): r4 0051fc78 r5 00000001 r6 8160d658 r7 4a1ecd04


I/DEBUG   ( 3274): r8 00000000 r9 8160d65c 10 00000000 fp 00000000


I/DEBUG   ( 3274): ip 00000000 sp 4a1ecc88 lr 81302a14 pc 8160ae48 cpsr 20000010


I/DEBUG   ( 3274): d0 203d20787149f2ca d1 6e6f204b4f3a6c33


I/DEBUG   ( 3274): d2 0000000800003032 d3 0000000800003042


I/DEBUG   ( 3274): d4 0000000000003029 d5 000000050000302e


I/DEBUG   ( 3274): d6 000000000000302f d7 7149f2ca3f000000


I/DEBUG   ( 3274): d8 0000000000000000 d9 0000000000000000


I/DEBUG   ( 3274): d10 0000000000000000 d11 0000000000000000


I/DEBUG   ( 3274): d12 0000000000000000 d13 0000000000000000


I/DEBUG   ( 3274): d14 0000000000000000 d15 0000000000000000


I/DEBUG   ( 3274): d16 3fedd72000000000 d17 3e002112eeb90000


I/DEBUG   ( 3274): d18 3fe0000000000000 d19 3fe000000040844c


I/DEBUG   ( 3274): d20 4008000000000000 d21 3fd99a27ad32ddf5


I/DEBUG   ( 3274): d22 3fd24998d6307188 d23 3fcc7288e957b53b


I/DEBUG   ( 3274): d24 3fc74721cad6b0ed d25 3fc39a09d078c69f


I/DEBUG   ( 3274): d26 0000000000000000 d27 0000000000000000


I/DEBUG   ( 3274): d28 0000000000000000 d29 0000000000000000


I/DEBUG   ( 3274): d30 0000000000000000 d31 0000000000000000


I/DEBUG   ( 3274): scr 20000012





(gdb) info shared





0x81601b6c 0x8160bb7c Yes        /cygdrive/z/*********/libs/armeabi/libIMGegl.so





(gdb) break 8160ae48





Breakpoint 1, KEGL_SGXResizeRenderSurface (psSysContext=0x8160d658, psParams=0x4a1ecd04,


    bMultiSample=IMG_FALSE, bCreateZSBuffer=<value optimized out>, psSurface=0x3ea290)


    at srv_sgx.c:1105


1105    srv_sgx.c:








(gdb) bt


#0 KEGL_SGXResizeRenderSurface (psSysContext=0x8160d658, psParams=0x4a1ecc34,


    bMultiSample=IMG_FALSE, bCreateZSBuffer=<value optimized out>, psSurface=0x4630d0)


    at srv_sgx.c:1105


#1 0x8171c464 in PrepareToDraw (gc=0x324fa8, pui32ClearFlags=0x4a1eccbc)


    at /home/alistair/android/hardware/imgtec/pvr-um/eurasia//eurasiacon/opengles1/sgxif.c:644


#2 0x81708b50 in glDrawArrays (mode=6, first=0, count=4)


    at /home/alistair/android/hardware/imgtec/pvr-um/eurasia//eurasiacon/opengles1/drawvarray.c:2223


another pattern of Crash.


Do you have any info??





I/DEBUG ( 7547): Build fingerprint: 'samsung/SC-02B/SC-02B:2.3.3/GINGERBREAD/OMKE3:user/release-keys’


I/DEBUG ( 7547): pid: 7754, tid: 7772 >>> zzzzzzzzzzz <<<


I/DEBUG ( 7547): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 005f008e


I/DEBUG ( 7547): r0 00000093 r1 c01c6707 r2 00770061 r3 005f006e


I/DEBUG ( 7547): r4 00431438 r5 002b3140 r6 8160d65c r7 00297060


I/DEBUG ( 7547): r8 00000000 r9 002b3140 10 00297060 fp 471ec340


I/DEBUG ( 7547): ip 81322028 sp 471eb880 lr 81302a14 pc 813124ec cpsr 20000010


I/DEBUG ( 7547): d0 3f80000000000000 d1 0000000000000000


I/DEBUG ( 7547): d2 3f80000000000000 d3 0000000000000000


I/DEBUG ( 7547): d4 cf08c070f7800b70 d5 f7800b70c70ac030


I/DEBUG ( 7547): d6 c760c030cf0cc070 d7 cf0ec070f7811970


I/DEBUG ( 7547): d8 0000000000000000 d9 0000000000000000


I/DEBUG ( 7547): d10 0000000000000000 d11 0000000000000000


I/DEBUG ( 7547): d12 0000000000000000 d13 0000000000000000


D/NaviCore_onPause( 7754): START


D/NaviCore_onPause( 7754): END


I/DEBUG ( 7547): d14 0000000000000000 d15 0000000000000000


I/DEBUG ( 7547): d16 471ec69000000000 d17 7e37e43c8800759c


I/DEBUG ( 7547): d18 42eccefa43de3400 d19 3fbc71c71c71c71c


I/DEBUG ( 7547): d20 4008000000000000 d21 3fd99a27ad32ddf5


I/DEBUG ( 7547): d22 3fd24998d6307188 d23 3fcc7288e957b53b


I/DEBUG ( 7547): d24 3fc74721cad6b0ed d25 3fc39a09d078c69f


I/DEBUG ( 7547): d26 0000000000000000 d27 0000000000000000


I/DEBUG ( 7547): d28 0000000000000000 d29 0000000000000000


I/DEBUG ( 7547): d30 0000000000000000 d31 0000000000000000


I/DEBUG ( 7547): scr 20000012








Program received signal SIGSEGV, Segmentation fault.


0x81312538 in DestroyPBBlock (psDevData=0x8160d65c, psPBDesc=0x2ed698, psPBBlock=0x4c48b0)


    at /home/alistair/android-gingerbread/hardware/imgtec/pvr-um/eurasia/services4/srvclient/devices/sgx/sgxpb.c:366


366     in /home/alistair/android-gingerbread/hardware/imgtec/pvr-um/eurasia/services4/srvclient/devices/sgx/sgxpb.c





(gdb) bt


#0 0x81312538 in DestroyPBBlock (psDevData=0x8160d65c, psPBDesc=0x2ed698,psPBBlock=0x4c48b0)


    at /home/alistair/android-gingerbread/hardware/imgtec/pvr-um/eurasia/services4/srvclient/devices/sgx/sgxpb.c:366


#1 0x813129d4 in HandlePBGrowShrink (psDevData=0x8160d65c, psRenderContext=0x2eba60,


    bOutOfMemory=<value optimized out>)


    at /home/alistair/android-gingerbread/hardware/imgtec/pvr-um/eurasia/services4/srvclient/devices/sgx/sgxpb.c:1038


#2 0x81311550 in SGXKickTA (psDevData=<value optimized out>, psKickTA=0x381d58,


    psKickOutput=0x471ec340, pvKickPDUMP=<value optimized out>, pvKickSubmit=0x0)


    at /home/alistair/android-gingerbread/hardware/imgtec/pvr-um/eurasia/services4/srvclient/devices/sgx/sgxkick_client.c:1664


#3 0x8171cd20 in ScheduleTA (gc=0x381d50, psRenderSurface=0x36a580, ui32KickFlags=0)


    at /home/alistair/android/hardware/imgtec/pvr-um/eurasia//eurasiacon/opengles1/sgxif.c:1636


#4 0x817314bc in GLES1EmitState (gc=<value optimized out>,


    ui32NumIndices=<value optimized out>, uIndexAddress={uiAddr = 48381952},


    ui32IndexOffset=<value optimized out>)


    at /home/alistair/android/hardware/imgtec/pvr-um/eurasia//eurasiacon/opengles1/validate.c:5590


#5 0x81708ccc in glDrawArrays (mode=6, first=0, count=4)


    at /home/alistair/android/hardware/imgtec/pvr-um/eurasia//eurasiacon/opengles1/drawvarray.c:2277


    

Hi,





*Are the driver you are using standard release drivers for the Galaxy S?


*Does this crash with other applications, e.g. the demos and tutorials in our SDK?





If you are using drivers other than those usually distributed by the OEM/carrier, then you should follow up the issues though our driver bug tracking system rather than on the public forums (email devtech@imgtec.com for further instructions if this is the case).


Otherwise, if you can send the application or a reproduction of the issue to devtech@imgtec.com, it will be easier for us to investigate.





Thanks,


Joe

Thanks for your replay.

I'll send this problem to devtech@imgtec.com.

 

*Are the driver you are using standard release drivers for the Galaxy S?

Yes, this is a standard release driver.

I don't know why, but the driver have debug symbols.

that's why I reached the source of the trouble.