Android Question another crash log

ilan

Expert
Licensed User
Longtime User
hi

i am getting lately many crashes on my apps. the log are almost the same.
i am avoiding any call of DoEvents but still some apps show those logs:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'htc/himawhl_sprint_wwe/htc_himawhl:6.0/MRA58K/695981.41:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 4711, tid: 4730, name: GLThread 1584 >>> www.sagital.pknight <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x579c673c60
x0 000000559c495c20 x1 00000000000000b8 x2 0000007f9a2190b0 x3 0000000000000005
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000
x8 0000000000000001 x9 0000000000000001 x10 0000000000000000 x11 0000000000000000
x12 0000000000000001 x13 0000000000000000 x14 000000559a0c00fc x15 0000000000000000
x16 000000559a0c00f8 x17 0000000000000000 x18 000000559bec40f0 x19 000000579c673c60
x20 0000007f9a1fe060 x21 000000559c495c50 x22 0000000000000006 x23 0000000012c17400
x24 000000000000001f x25 0000000012f0e000 x26 0000000012e918d0 x27 0000000000000000
x28 0000000000000000 x29 0000000000000001 x30 0000007f9a1ec774
sp 0000007f9a1cbf60 pc 0000007f9a1e94c8 pstate 0000000080000000

backtrace:
#00 pc 000000000001b4c8 /data/app/www.sagital.pknight-1/lib/arm64/libgdx-box2d.so (_ZN16b2BlockAllocator8AllocateEi+56)
#01 pc 000000000001e770 /data/app/www.sagital.pknight-1/lib/arm64/libgdx-box2d.so (_ZN7b2World10CreateBodyEPK9b2BodyDef+36)
#02 pc 0000000000030104 /data/app/www.sagital.pknight-1/lib/arm64/libgdx-box2d.so (Java_com_badlogic_gdx_physics_box2d_World_jniCreateBody+164)
#03 pc 0000000000bf4ea0 /data/app/www.sagital.pknight-1/oat/arm64/base.odex (offset 0x81c000)
 

melonZgz

Active Member
Licensed User
Longtime User
When are you creating bodies?
I've found random crashes if I create/delete a body/joint outside the render event.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
When are you creating bodies?
I've found random crashes if I create/delete a body/joint outside the render event.

in "LG_Update" and LG_Update is called in "LG_Render"

almost all bodies are created when i load the tilemap from a Code Module.
some bodies are created in game when i click on fire for example i create the swords or when the player jump on water i create the water drops or when you kill a skeleton i create the bones so all are created in LG_Render.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
could it be related to OpenGL ES version 3.1??

could it be that the current LibGDX version is not supported by OpenGL v3.1?

i see that all crashes are from devices that uses OpenGL v3.1 o_O
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
when i look now on other apps that does not use libgdx or box2d and have the same weird crash log

Build fingerprint: ...

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18
x0 0000000000000000 x1 00000055955dfc90 x2 0000000000000000 x3 ffffffffffffffff
x4 0000000000000000 x5 0000007fee56b968 x6 0000000000000000 x7 0000000000430000
x8 0000000000000000 x9 0000007fa8999000 x10 0000007fa899b9a8 x11 0000000000000035
x12 0000000000000000 x13 0000000000000000 x14 0000000000000001 x15 0000000000000000
x16 0000007faba7f758 x17 0000007faba5f1ec x18 0000005594cdc358 x19 00000055955dfc90
x20 0000000000000000 x21 0000007fee56b968 x22 0000007fee56b964 x23 00000055955dfc90
x24 0000000000000000 x25 0000007fee56b968 x26 00000055955e0570 x27 0000000000000001
x28 0000000000000000 x29 0000007fee56b820 x30 0000007faba60a78
sp 0000007fee56b820 pc 0000007faba5f204 pstate 0000000060000000


they also have OpenGL ES version 3.1 and CPU make Qualcomm.

@Erel could it be that b4a doesnot support that hardware yet??
 
Upvote 0
Top