Google Play New problem : 64bits

All topics about ZGameEditor goes here.

Moderator: Moderators

User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

Currently, cthreads and cmem additions are in the dpr-file. Platform_GetCpuCount and ZClasses.Tasks.Enabled aren't deactivated. And I use CallStaticObjectMethod instead of CallStaticObjectMethodV.

With the optimization set to 1, the crash produces a tombstone file. But I need to root my phone to access it. Stress level ++ :lol:
I'll try that tomorow. (Edit: I just tried, I'm stuck at step 1... I hate rooting android devices)

Here's the logcat for BitmapExpression only:

Code: Select all

09-25 21:49:53.774 F/DEBUG   (14492):     x28 00000076a38b0000  x29 00000076a3cb0b80
09-25 21:49:53.774 F/DEBUG   (14492):     lr  00000076a9af68dc  sp  00000076a3cb0b70  pc  00000076a9af68e4  pst 0000000060000000
09-25 21:49:53.774 F/DEBUG   (14492): backtrace:
09-25 21:49:53.774 F/DEBUG   (14492):       #00 pc 00000000000358e4  /data/app/~~Q40k41SKf1q7fsw01rYqxw==/com.mydomain.onrender-zMNuz8reOjp144YSKue37Q==/lib/arm64/libzgeandroid.so (SYSTEM_$$_WAITFREE_VAR$PMEMCHUNK_VAR+36) (BuildId: f1fae54215bd5bb1c5af6a6ccd9843bfe6d876fe)
Then the logcat for MeshExpression only:

Code: Select all

09-25 21:52:35.035 F/DEBUG   (15109): ABI: 'arm64'
09-25 21:52:35.035 F/DEBUG   (15109): Timestamp: 2024-09-25 21:52:34.266465889+0200
09-25 21:52:35.035 F/DEBUG   (15109): Process uptime: 0s
09-25 21:52:35.035 F/DEBUG   (15109): Cmdline: com.mydomain.onrender
09-25 21:52:35.035 F/DEBUG   (15109): pid: 15043, tid: 15096, name: GLThread 2646  >>> com.mydomain.onrender <<<
09-25 21:52:35.035 F/DEBUG   (15109): uid: 10576
09-25 21:52:35.035 F/DEBUG   (15109): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb8
09-25 21:52:35.035 F/DEBUG   (15109): Cause: null pointer dereference
09-25 21:52:35.035 F/DEBUG   (15109):     x0  00000079cb2c1048  x1  0000000000000000  x2  0000000000000000  x3  0000000000000022
09-25 21:52:35.035 F/DEBUG   (15109):     x4  ffffffffffffffff  x5  0000000000000000  x6  0000000000000000  x7  0000000036393035
09-25 21:52:35.035 F/DEBUG   (15109):     x8  4231675974b96b64  x9  4231675974b96b64  x10 0000000000004001  x11 0000000000000000
09-25 21:52:35.035 F/DEBUG   (15109):     x12 0000000000000001  x13 0000000100000000  x14 0000000000000000  x15 0000000000000030
09-25 21:52:35.035 F/DEBUG   (15109):     x16 00000076aa49e848  x17 00000079bb479588  x18 00000076a0f4c000  x19 00000079cb2c1048
09-25 21:52:35.035 F/DEBUG   (15109):     x20 00000079cb2c1048  x21 0000000000000000  x22 0000000000003ac3  x23 0000000000003aeb
09-25 21:52:35.035 F/DEBUG   (15109):     x24 00000076a57fdcb0  x25 00000076a57fdcb0  x26 00000076a57fdff8  x27 0000000000404000
09-25 21:52:35.035 F/DEBUG   (15109):     x28 00000076a53fd000  x29 00000076a57fdb80
09-25 21:52:35.035 F/DEBUG   (15109):     lr  00000076aa4458dc  sp  00000076a57fdb70  pc  00000076aa4458e4  pst 0000000060000000
09-25 21:52:35.035 F/DEBUG   (15109): backtrace:
09-25 21:52:35.035 F/DEBUG   (15109):       #00 pc 00000000000358e4  /data/app/~~YlClQ1-s8dN0byi09Sj--A==/com.mydomain.onrender-pqemQL2hGvXuByrANwDoug==/lib/arm64/libzgeandroid.so (SYSTEM_$$_WAITFREE_VAR$PMEMCHUNK_VAR+36) (BuildId: f1fae54215bd5bb1c5af6a6ccd9843bfe6d876fe)
Here's the logcat for Omeganaut:

Code: Select all

09-25 21:58:39.258 F/DEBUG   (17487): Revision: 'MP1.0'
09-25 21:58:39.258 F/DEBUG   (17487): ABI: 'arm64'
09-25 21:58:39.258 F/DEBUG   (17487): Timestamp: 2024-09-25 21:58:38.761399283+0200
09-25 21:58:39.258 F/DEBUG   (17487): Process uptime: 0s
09-25 21:58:39.259 F/DEBUG   (17487): Cmdline: com.txori.omeganaut
09-25 21:58:39.259 F/DEBUG   (17487): pid: 17459, tid: 17459, name: txori.omeganaut  >>> com.txori.omeganaut <<<
09-25 21:58:39.259 F/DEBUG   (17487): uid: 10579
09-25 21:58:39.259 F/DEBUG   (17487): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7900000000
09-25 21:58:39.259 F/DEBUG   (17487):     x0  0000007900000000  x1  0000007f0000002d  x2  0000007720e9a370  x3  0000000000000000
09-25 21:58:39.259 F/DEBUG   (17487):     x4  0000000000000000  x5  0000000000000000  x6  732d6c6e622e2f2e  x7  7f7f7f7f7f7f7f7f
09-25 21:58:39.259 F/DEBUG   (17487):     x8  00000079d2e891a0  x9  00000079d2e89040  x10 0000000000000001  x11 0000000000000001
09-25 21:58:39.259 F/DEBUG   (17487):     x12 0000007fd749a360  x13 0000000000000040  x14 00000079ba5a0fd8  x15 0029490d4f42082e
09-25 21:58:39.259 F/DEBUG   (17487):     x16 0000000000004040  x17 00000079bb4792cc  x18 00000079d3646000  x19 0000000000000000
09-25 21:58:39.259 F/DEBUG   (17487):     x20 0000000000000000  x21 00000078954117b0  x22 0000000000000002  x23 0000007fd749c0d0
09-25 21:58:39.259 F/DEBUG   (17487):     x24 00000079b9a27558  x25 0000000000000002  x26 00000079b9a276f8  x27 0000000000000002
09-25 21:58:39.259 F/DEBUG   (17487):     x28 0000007fd749bfa0  x29 0000007fd7497ca0
09-25 21:58:39.259 F/DEBUG   (17487):     lr  0000007720e9a640  sp  0000007fd7497c80  pc  0000007720e80d68  pst 0000000020000000
09-25 21:58:39.259 F/DEBUG   (17487): backtrace:
09-25 21:58:39.259 F/DEBUG   (17487):       #00 pc 0000000000040d68  /data/app/~~s-0BCtVrjnaj_JLoHDFMiw==/com.txori.omeganaut-643XKEgc5GbVEZtQ9S5dBg==/lib/arm64/libzgeandroid.so (ZCLASSES_$$_ZSTRCOMPARE$PCHAR$PCHAR$$BOOLEAN+104) (BuildId: f1fae54215bd5bb1c5af6a6ccd9843bfe6d876fe)
And I just tried to add "uses cmem" in ZgeAndroid.pas, since it already has cthreads
User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

I also tried this combo with Omeganaut:
  • cthreads and cmem additions are in the dpr-file
  • Platform_GetCpuCount and ZClasses.Tasks.Enabled are deactivated (so no CallStaticObjectMethod / CallStaticObjectMethodV)
Resulting in yet another bug, so there's definitely something other than MeshExpression and BitmapExpression that is crashing. I'm going to search which one.

Code: Select all

09-26 11:02:08.346 F/DEBUG   ( 9746): pid: 9705, tid: 9741, name: txori.omeganaut  >>> com.txori.omeganaut <<<
09-26 11:02:08.346 F/DEBUG   ( 9746): uid: 10579
09-26 11:02:08.346 F/DEBUG   ( 9746): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb8
09-26 11:02:08.346 F/DEBUG   ( 9746): Cause: null pointer dereference
09-26 11:02:08.346 F/DEBUG   ( 9746):     x0  00000076c2d320e8  x1  0000000000000000  x2  0000000000000000  x3  0000000000000022
09-26 11:02:08.346 F/DEBUG   ( 9746):     x4  ffffffffffffffff  x5  0000000000000000  x6  0000000000000000  x7  0000000031343739
09-26 11:02:08.346 F/DEBUG   ( 9746):     x8  f7aaee7ade0112e1  x9  f7aaee7ade0112e1  x10 0000000000004001  x11 0000000000000000
09-26 11:02:08.346 F/DEBUG   ( 9746):     x12 0000000000000001  x13 0000000100000000  x14 0000000000000000  x15 0000000000000030
09-26 11:02:08.346 F/DEBUG   ( 9746):     x16 000000741e8ce8a8  x17 00000076da35e588  x18 00000073abf0e000  x19 00000076c2d320e8
09-26 11:02:08.346 F/DEBUG   ( 9746):     x20 00000076c2d320e8  x21 0000000000000000  x22 00000000000025e9  x23 00000000000025e9
09-26 11:02:08.346 F/DEBUG   ( 9746):     x24 00000073ac9fecb0  x25 00000073ac9fecb0  x26 00000073ac9feff8  x27 0000000000404000
09-26 11:02:08.346 F/DEBUG   ( 9746):     x28 00000073ac5fe000  x29 00000073ac9feb80
09-26 11:02:08.346 F/DEBUG   ( 9746):     lr  000000741e8757bc  sp  00000073ac9feb70  pc  000000741e8757c4  pst 0000000060000000
09-26 11:02:08.346 F/DEBUG   ( 9746): backtrace:
09-26 11:02:08.346 F/DEBUG   ( 9746):       #00 pc 00000000000357c4  /data/app/~~paFXyp-2pPanUTnuMXLNkg==/com.txori.omeganaut-K3N9rqgNG3-K1W8Mmo4cLA==/lib/arm64/libzgeandroid.so (SYSTEM_$$_WAITFREE_VAR$PMEMCHUNK_VAR+36) (BuildId: 4cc41fa1bf4faa72c60bc8cba818e9d1d4237a98)
Edit:
I've been stripping down Omeganaut for hours. The app crash when I try to set a value to any vec3 variable. But when I try to make a simple example with that, it works perfectly... :?
From what I understand, there are already things in memory, and setting a vec3 value brings the MEMCHUNK_VAR+36 bug thing.
User avatar
VilleK
Site Admin
Posts: 2360
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Google Play New problem : 64bits

Post by VilleK »

We need to be able to see more of the callstack when it crashes.

Try this:

Inc zzdc_globalopt.inc

At the end add these lines

Code: Select all

{$ifdef android}
  {$STACKFRAMES ON}
{$endif}
User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

  • cthreads and cmem are in the dpr-file
  • Platform_GetCpuCount and ZClasses.Tasks.Enabled aren't deactivated
  • I use CallStaticObjectMethod instead of CallStaticObjectMethodV
  • {$STACKFRAMES ON} is added
Here's the complete logcat for MeshExpression only:

Code: Select all

09-26 17:26:49.353 I/ActivityTaskManager( 2043): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.mydomain.onrender/org.zgameeditor.ZgeActivity bnds=[238,1790][439,2091]} from uid 10042

09-26 17:26:49.434 I/ActivityManager( 2043): Start proc 14413:com.mydomain.onrender/u0a576 for pre-top-activity {com.mydomain.onrender/org.zgameeditor.ZgeActivity}

09-26 17:26:49.963 D/nativeloader(14413): Load /data/app/~~PKiW-0bMHhW6uLXN2Qkyrw==/com.mydomain.onrender-7OsOCT8f1wCR8Kpby_dOXA==/lib/arm64/libzgeandroid.so using ns clns-4 from class loader (caller=/data/app/~~PKiW-0bMHhW6uLXN2Qkyrw==/com.mydomain.onrender-7OsOCT8f1wCR8Kpby_dOXA==/base.apk): ok
09-26 17:26:49.967 I/StyledKeyboardThemeBuilder( 3337): StyledKeyboardThemeBuilder.build():147 Pref: [], themeName: [silk:], darkMode: [true], cacheKey: [overlay_builtin_dynamic_color_dark_base.binarypb:dynamic-gm3-dark-ff12131b-ffb9c3ff-943fcb9ee3ad194aaae9344fca3cbf05]

09-26 17:26:49.985 E/ZgeAndroid(14413): /storage/emulated/0
09-26 17:26:49.985 E/ZgeAndroid(14413): /data/user/0/com.mydomain.onrender/files/
09-26 17:26:49.985 E/ZgeAndroid(14413): /data/app/~~PKiW-0bMHhW6uLXN2Qkyrw==/com.mydomain.onrender-7OsOCT8f1wCR8Kpby_dOXA==/lib/arm64/

09-26 17:26:49.987 E/ZgeAndroid(14413): Function not found: JNI_OnLoad
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glDepthRange

09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glGenLists
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glMateriali
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glIndexMask
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glListBase
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glBegin
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glCallList
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glColor3f

09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glColor3fv
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glColor4fv

09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glEnd
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glColorMaterial
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glDeleteLists
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glDrawBuffer
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glGetTexImage
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glPolygonMode
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glPopAttrib
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glPushAttrib
09-26 17:26:49.988 E/ZgeAndroid(14413): Function not found: glRasterPos2f
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glTexCoord2f
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glVertex2f

09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glVertex3f
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glTexGeni
09-26 17:26:49.989 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.989 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.989 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.989 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.989 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.989 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.989 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.989 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glAttachShader
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glBindAttribLocation
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glCompileShader
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glCreateShader
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glCreateProgram
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glDeleteShader
09-26 17:26:49.989 E/ZgeAndroid(14413): Function not found: glDeleteProgram
09-26 17:26:49.989 W/LatinCommonMetricsProcessor( 3337): LatinCommonMetricsProcessor.processInputMethodEntryChanged():2344 The new entry is equal to the old entry
09-26 17:26:49.990 I/StyledKeyboardThemeBuilder( 3337): StyledKeyboardThemeBuilder.build():147 Pref: [], themeName: [silk:], darkMode: [true], cacheKey: [overlay_builtin_dynamic_color_dark_base.binarypb:dynamic-gm3-dark-ff12131b-ffb9c3ff-943fcb9ee3ad194aaae9344fca3cbf05]
09-26 17:26:49.991 E/ZgeAndroid(14413): Function not found: glDetachShader
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glGetProgramiv
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glGetShaderiv
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glGetShaderInfoLog
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glGetProgramInfoLog
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glValidateProgram
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glGetUniformLocation
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glLinkProgram
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glShaderSource
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUniform3fv
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUniform1f
09-26 17:26:49.992 W/HwcComposer(  756): command 0x4080000 generated error 4
09-26 17:26:49.992 W/HwcComposer(  756): command 0x4080000 generated error 4
09-26 17:26:49.992 W/HwcComposer(  756): command 0x4080000 generated error 4
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUniform4fv

09-26 17:26:49.992 W/HwcComposer(  756): command 0x4080000 generated error 4
09-26 17:26:49.992 W/HwcComposer(  756): command 0x4080000 generated error 4
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUniform2fv
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUniform1i
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUniform1fv
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUniformMatrix3fv
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUniformMatrix4fv
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glUseProgram
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glIsRenderbuffer
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glBindRenderbuffer
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glDeleteRenderbuffers
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glGenRenderbuffers
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glRenderbufferStorage
09-26 17:26:49.992 E/ZgeAndroid(14413): Function not found: glBindFramebuffer
09-26 17:26:49.993 E/ZgeAndroid(14413): Function not found: glDeleteFramebuffers
09-26 17:26:49.993 E/ZgeAndroid(14413): Function not found: glGenFramebuffers
09-26 17:26:49.993 E/ZgeAndroid(14413): Function not found: glCheckFramebufferStatus
09-26 17:26:49.993 E/ZgeAndroid(14413): Function not found: glFramebufferTexture2D
09-26 17:26:49.993 E/ZgeAndroid(14413): Function not found: glFramebufferRenderbuffer
09-26 17:26:49.993 E/ZgeAndroid(14413): Function not found: glGenerateMipmap
09-26 17:26:49.993 E/ZgeAndroid(14413): Function not found: glRenderbufferStorageMultisample
09-26 17:26:49.994 I/KeyboardThemeProvider( 3337): KeyboardThemeProvider.applyKeyboardTheme():27 Apply keyboard theme: theme_keyboard_mode_screen_size_5_5_keyboard_mode_screen_width_middle_stylesheet_noshadow_pgsans_pillkey_silkpopup_gm3token_sagm3token_newm3_dark_phone_navredesign_350_overlay_builtin_dynamic_color_dark_base.binarypb:dynamic-gm3-dark-ff12131b-ffb9c3ff-943fcb9ee3ad194aaae9344fca3cbf05_land

09-26 17:26:49.994 E/ZgeAndroid(14413): Function not found: glTexImage2DMultisample
09-26 17:26:49.994 E/ZgeAndroid(14413): Function not found: glBlitFramebuffer
09-26 17:26:49.995 E/ZgeAndroid(14413): Function not found: glDisableVertexAttribArray
09-26 17:26:49.995 E/ZgeAndroid(14413): Function not found: glEnableVertexAttribArray

09-26 17:26:49.995 E/ZgeAndroid(14413): Function not found: glVertexAttribPointer
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/libEGL  (14413): call to OpenGL ES API with no current context (logged once per thread)
09-26 17:26:49.995 E/ZgeAndroid(14413): GLBase: 1.1
09-26 17:26:49.996 I/AndroidIME( 3337): InputBundleManager.loadActiveInputBundleId():450 loadActiveInputBundleId: und-Latn-x-password, password
09-26 17:26:49.996 W/NotificationCenter( 3337): NotificationCenter$NotificationQueue.notifyOnExecutor():847 Heavy notify work detected on UI thread: [jxj->kam] takes 235ms

09-26 17:26:50.128 I/SDM     (  758): HWCDisplay::GetColorModeCount: Supported color mode count = 3
09-26 17:26:50.128 I/HandwritingOfflineSuperpacks( 3337): HandwritingOfflineSuperpacks.syncInternal():80 no bundled lm for handwriting.
09-26 17:26:50.128 E/HWComposer(  756): getSupportedContentTypes: getSupportedContentTypes failed for display 0: Unsupported (8)
09-26 17:26:50.128 E/ZgeAndroid(14413): Function not found: JNI_OnLoad
09-26 17:26:50.128 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onSuccess():549 KeyboardGroupManager destroyed in eas.

09-26 17:26:50.129 E/ZgeAndroid(14413): Function not found: glDepthRange
09-26 17:26:50.129 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onSuccess():549 KeyboardGroupManager destroyed in fnx.
09-26 17:26:50.129 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onSuccess():549 KeyboardGroupManager destroyed in fqn.
09-26 17:26:50.129 E/ZgeAndroid(14413): Function not found: glGenLists
09-26 17:26:50.129 E/ZgeAndroid(14413): Function not found: glMateriali
09-26 17:26:50.129 E/ZgeAndroid(14413): Function not found: glIndexMask
09-26 17:26:50.129 E/ZgeAndroid(14413): Function not found: glListBase
09-26 17:26:50.129 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onFailure():557 Failed to load KeyboardGroupManager in eas.
09-26 17:26:50.129 E/ZgeAndroid(14413): Function not found: glBegin
09-26 17:26:50.129 E/ZgeAndroid(14413): Function not found: glCallList
09-26 17:26:50.129 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onFailure():557 Failed to load KeyboardGroupManager in fnx.
09-26 17:26:50.129 E/ZgeAndroid(14413): Function not found: glColor3f
09-26 17:26:50.129 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onFailure():557 Failed to load KeyboardGroupManager in fqn.
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glColor3fv
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glColor4fv
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glEnd
09-26 17:26:50.130 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onFailure():557 Failed to load KeyboardGroupManager in eas.
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glColorMaterial
09-26 17:26:50.130 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onFailure():557 Failed to load KeyboardGroupManager in fnx.
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glDeleteLists
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glDrawBuffer
09-26 17:26:50.130 I/AbstractOpenableExtension( 3337): AbstractOpenableExtension$3.onFailure():557 Failed to load KeyboardGroupManager in fqn.
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glGetTexImage
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glPolygonMode
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glPopAttrib
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glPushAttrib
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glRasterPos2f
09-26 17:26:50.130 E/ZgeAndroid(14413): Function not found: glTexCoord2f
09-26 17:26:50.131 E/ZgeAndroid(14413): Function not found: glVertex2f
09-26 17:26:50.131 E/ZgeAndroid(14413): Function not found: glVertex3f
09-26 17:26:50.131 E/ZgeAndroid(14413): Function not found: glTexGeni
09-26 17:26:50.148 E/ZgeAndroid(14413): Function not found: glAttachShader
09-26 17:26:50.148 E/ZgeAndroid(14413): Function not found: glBindAttribLocation
09-26 17:26:50.148 E/ZgeAndroid(14413): Function not found: glCompileShader
09-26 17:26:50.148 E/ZgeAndroid(14413): Function not found: glCreateShader
09-26 17:26:50.148 E/ZgeAndroid(14413): Function not found: glCreateProgram
09-26 17:26:50.148 E/ZgeAndroid(14413): Function not found: glDeleteShader
09-26 17:26:50.149 E/ZgeAndroid(14413): Function not found: glDeleteProgram
09-26 17:26:50.149 E/ZgeAndroid(14413): Function not found: glDetachShader
09-26 17:26:50.149 E/ZgeAndroid(14413): Function not found: glGetProgramiv
09-26 17:26:50.149 E/ZgeAndroid(14413): Function not found: glGetShaderiv
09-26 17:26:50.149 E/ZgeAndroid(14413): Function not found: glGetShaderInfoLog
09-26 17:26:50.150 E/ZgeAndroid(14413): Function not found: glGetProgramInfoLog
09-26 17:26:50.150 E/ZgeAndroid(14413): Function not found: glValidateProgram
09-26 17:26:50.150 E/ZgeAndroid(14413): Function not found: glGetUniformLocation
09-26 17:26:50.150 E/ZgeAndroid(14413): Function not found: glLinkProgram
09-26 17:26:50.150 E/ZgeAndroid(14413): Function not found: glShaderSource
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUniform3fv
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUniform1f
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUniform4fv
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUniform2fv
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUniform1i
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUniform1fv
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUniformMatrix3fv
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUniformMatrix4fv
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glUseProgram
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glIsRenderbuffer
09-26 17:26:50.151 E/ZgeAndroid(14413): Function not found: glBindRenderbuffer
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glDeleteRenderbuffers
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glGenRenderbuffers
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glRenderbufferStorage
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glBindFramebuffer
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glDeleteFramebuffers
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glGenFramebuffers
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glCheckFramebufferStatus
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glFramebufferTexture2D
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glFramebufferRenderbuffer
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glGenerateMipmap
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glRenderbufferStorageMultisample
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glTexImage2DMultisample
09-26 17:26:50.152 E/ZgeAndroid(14413): Function not found: glBlitFramebuffer
09-26 17:26:50.153 E/ZgeAndroid(14413): Function not found: glDisableVertexAttribArray
09-26 17:26:50.153 E/ZgeAndroid(14413): Function not found: glEnableVertexAttribArray
09-26 17:26:50.153 E/ZgeAndroid(14413): Function not found: glVertexAttribPointer
09-26 17:26:50.153 E/ZgeAndroid(14413): RENDER MESH 0
09-26 17:26:50.165 E/ZgeAndroid(14413): Entering Platform_GetCpuCount
09-26 17:26:50.165 E/ZgeAndroid(14413): JNIEnv acquired
09-26 17:26:50.165 E/ZgeAndroid(14413): Runtime class found
09-26 17:26:50.165 E/ZgeAndroid(14413): getRuntime method ID obtained
09-26 17:26:50.165 E/ZgeAndroid(14413): Runtime object retrieved
09-26 17:26:50.165 E/ZgeAndroid(14413): availableProcessors method ID obtained
09-26 17:26:50.166 E/ZgeAndroid(14413): CPUs: 8
09-26 17:26:50.166 E/ZgeAndroid(14413): Exiting Platform_GetCpuCount

09-26 17:26:50.216 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.257 E/ZgeAndroid(14413): RENDER MESH 1
09-26 17:26:50.258 I/crash_dump64(14486): performing dump of process 14413 (target tid = 14475)
09-26 17:26:50.258 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.263 E/ZgeAndroid(14413): RENDER MESH 2

09-26 17:26:50.263 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.265 E/ZgeAndroid(14413): RENDER MESH 3

09-26 17:26:50.265 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.269 I/ActivityTaskManager( 2043): Displayed com.mydomain.onrender/org.zgameeditor.ZgeActivity: +914ms

09-26 17:26:50.284 E/ZgeAndroid(14413): RENDER MESH 4

09-26 17:26:50.285 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.301 E/ZgeAndroid(14413): RENDER MESH 5
09-26 17:26:50.301 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.316 E/ZgeAndroid(14413): RENDER MESH 6
09-26 17:26:50.316 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.331 E/ZgeAndroid(14413): RENDER MESH 7
09-26 17:26:50.331 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.348 E/ZgeAndroid(14413): RENDER MESH 8

09-26 17:26:50.348 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.364 E/ZgeAndroid(14413): RENDER MESH 9
09-26 17:26:50.364 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.381 E/ZgeAndroid(14413): RENDER MESH 10
09-26 17:26:50.381 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.398 E/ZgeAndroid(14413): RENDER MESH 11
09-26 17:26:50.398 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.415 E/ZgeAndroid(14413): RENDER MESH 12
09-26 17:26:50.415 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.432 E/ZgeAndroid(14413): RENDER MESH 13

09-26 17:26:50.432 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.448 E/ZgeAndroid(14413): RENDER MESH 14
09-26 17:26:50.448 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.465 E/ZgeAndroid(14413): RENDER MESH 15
09-26 17:26:50.465 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.482 E/ZgeAndroid(14413): RENDER MESH 16
09-26 17:26:50.482 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.498 E/ZgeAndroid(14413): RENDER MESH 17
09-26 17:26:50.499 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.515 E/ZgeAndroid(14413): RENDER MESH 18
09-26 17:26:50.516 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.532 E/ZgeAndroid(14413): RENDER MESH 19
09-26 17:26:50.532 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.549 E/ZgeAndroid(14413): RENDER MESH 20
09-26 17:26:50.549 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.566 E/ZgeAndroid(14413): RENDER MESH 21
09-26 17:26:50.566 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.583 E/ZgeAndroid(14413): RENDER MESH 22
09-26 17:26:50.583 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.598 E/ZgeAndroid(14413): RENDER MESH 23
09-26 17:26:50.598 E/ZgeAndroid(14413): MESH RENDERED

is being finalized but wasn't closed, file: fr_fr_20230613_compact_fst_zip[65]
09-26 17:26:50.614 W/SP      ( 3337): File ref is being finalized but wasn't closed, file: transformer_latin_tflite_20231010_zip[78]
09-26 17:26:50.615 E/ZgeAndroid(14413): RENDER MESH 24
09-26 17:26:50.615 E/ZgeAndroid(14413): MESH RENDERED
09-26 17:26:50.616 W/SP      ( 3337): File ref is being finalized but wasn't closed, file: main_en_us_2024051500_2[2]
09-26 17:26:50.616 W/SP      ( 3337): File ref is being finalized but wasn't closed, file: main_en_us_2024080700_1[2]
09-26 17:26:50.616 W/SP      ( 3337): File ref is being finalized but wasn't closed, file: main_en_gb_2022091500_1[2]
09-26 17:26:50.616 W/SP      ( 3337): File ref is being finalized but wasn't closed, file: main_fr_fr_2024072500_1[2]

09-26 17:26:50.632 E/ZgeAndroid(14413): RENDER MESH 25
09-26 17:26:50.632 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.649 E/ZgeAndroid(14413): RENDER MESH 26
09-26 17:26:50.649 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.665 E/ZgeAndroid(14413): RENDER MESH 27
09-26 17:26:50.665 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.683 E/ZgeAndroid(14413): RENDER MESH 28
09-26 17:26:50.683 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.699 E/ZgeAndroid(14413): RENDER MESH 29
09-26 17:26:50.699 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.716 E/ZgeAndroid(14413): RENDER MESH 30

09-26 17:26:50.716 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.733 E/ZgeAndroid(14413): RENDER MESH 31
09-26 17:26:50.733 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.750 E/ZgeAndroid(14413): RENDER MESH 32
09-26 17:26:50.750 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.767 E/ZgeAndroid(14413): RENDER MESH 33
09-26 17:26:50.767 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.783 E/ZgeAndroid(14413): RENDER MESH 34
09-26 17:26:50.783 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.799 E/ZgeAndroid(14413): RENDER MESH 35

09-26 17:26:50.800 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.818 E/ZgeAndroid(14413): RENDER MESH 36
09-26 17:26:50.819 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.832 E/ZgeAndroid(14413): RENDER MESH 37
09-26 17:26:50.832 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.850 E/ZgeAndroid(14413): RENDER MESH 38
09-26 17:26:50.851 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.866 E/ZgeAndroid(14413): RENDER MESH 39

09-26 17:26:50.867 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.883 E/ZgeAndroid(14413): RENDER MESH 40
09-26 17:26:50.883 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.900 E/ZgeAndroid(14413): RENDER MESH 41
09-26 17:26:50.900 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.917 E/ZgeAndroid(14413): RENDER MESH 42
09-26 17:26:50.917 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.933 E/ZgeAndroid(14413): RENDER MESH 43
09-26 17:26:50.934 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.950 E/ZgeAndroid(14413): RENDER MESH 44
09-26 17:26:50.950 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.967 E/ZgeAndroid(14413): RENDER MESH 45
09-26 17:26:50.968 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.984 E/ZgeAndroid(14413): RENDER MESH 46

09-26 17:26:50.984 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:50.999 F/DEBUG   (14486):     x24 0000007a8d411cb0  x25 0000007a8d411cb0  x26 0000007a8d411ff8  x27 0000000000404000
09-26 17:26:50.999 F/DEBUG   (14486):     x28 0000007a8d011000  x29 0000007a8d411b80
09-26 17:26:50.999 F/DEBUG   (14486):     lr  0000007b050358dc  sp  0000007a8d411b70  pc  0000007b050358e4  pst 0000000060000000
09-26 17:26:50.999 F/DEBUG   (14486): backtrace:
09-26 17:26:50.999 F/DEBUG   (14486):       #00 pc 00000000000358e4  /data/app/~~PKiW-0bMHhW6uLXN2Qkyrw==/com.mydomain.onrender-7OsOCT8f1wCR8Kpby_dOXA==/lib/arm64/libzgeandroid.so (SYSTEM_$$_WAITFREE_VAR$PMEMCHUNK_VAR+36) (BuildId: f1fae54215bd5bb1c5af6a6ccd9843bfe6d876fe)
09-26 17:26:51.000 E/ZgeAndroid(14413): RENDER MESH 47
09-26 17:26:51.001 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:51.017 E/ZgeAndroid(14413): RENDER MESH 48
09-26 17:26:51.018 E/ZgeAndroid(14413): MESH RENDERED

09-26 17:26:51.026 I/DropBoxManagerService( 2043): add tag=data_app_native_crash isTagEnabled=true flags=0x2
09-26 17:26:51.030 W/ActivityTaskManager( 2043):   Force finishing activity com.mydomain.onrender/org.zgameeditor.ZgeActivity

09-26 17:26:51.058 I/WindowManager( 2043): WIN DEATH: Window{be48f35 u0 com.mydomain.onrender/org.zgameeditor.ZgeActivity}
09-26 17:26:51.059 I/libprocessgroup( 2043): Successfully killed process cgroup uid 10576 pid 14413 in 0ms

09-26 17:26:51.059 W/InputManager-JNI( 2043): Input channel object 'be48f35 com.mydomain.onrender/org.zgameeditor.ZgeActivity (client)' was disposed without first being removed with the input manager!

09-26 17:26:51.127 W/WindowManager( 2043): Failed to deliver inset state change to w=Window{be48f35 u0 com.mydomain.onrender/org.zgameeditor.ZgeActivity EXITING}
09-26 17:26:51.127 W/WindowManager( 2043): android.os.DeadObjectException
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.os.BinderProxy.transactNative(Native Method)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.os.BinderProxy.transact(BinderProxy.java:571)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.view.IWindow$Stub$Proxy.insetsControlChanged(IWindow.java:687)
09-26 17:26:51.127 W/WindowManager( 2043): 	at com.android.server.wm.WindowState.notifyInsetsControlChanged(WindowState.java:4037)
09-26 17:26:51.127 W/WindowManager( 2043): 	at com.android.server.wm.InsetsStateController.lambda$notifyPendingInsetsControlChanged$6$InsetsStateController(InsetsStateController.java:552)
09-26 17:26:51.127 W/WindowManager( 2043): 	at com.android.server.wm.InsetsStateController$$ExternalSyntheticLambda1.run(Unknown Source:2)
09-26 17:26:51.127 W/WindowManager( 2043): 	at com.android.server.wm.WindowAnimator.executeAfterPrepareSurfacesRunnables(WindowAnimator.java:345)
09-26 17:26:51.127 W/WindowManager( 2043): 	at com.android.server.wm.WindowAnimator.animate(WindowAnimator.java:226)
09-26 17:26:51.127 W/WindowManager( 2043): 	at com.android.server.wm.WindowAnimator.lambda$new$1$WindowAnimator(WindowAnimator.java:106)
09-26 17:26:51.127 W/WindowManager( 2043): 	at com.android.server.wm.WindowAnimator$$ExternalSyntheticLambda0.doFrame(Unknown Source:2)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1035)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.view.Choreographer.doCallbacks(Choreographer.java:845)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.view.Choreographer.doFrame(Choreographer.java:775)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.os.Handler.handleCallback(Handler.java:938)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.os.Handler.dispatchMessage(Handler.java:99)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.os.Looper.loopOnce(Looper.java:201)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.os.Looper.loop(Looper.java:288)
09-26 17:26:51.127 W/WindowManager( 2043): 	at android.os.HandlerThread.run(HandlerThread.java:67)
09-26 17:26:51.127 W/WindowManager( 2043): 	at com.android.server.ServiceThread.run(ServiceThread.java:44)

09-26 17:26:51.533 W/ActivityTaskManager( 2043): Activity top resumed state loss timeout for ActivityRecord{b772f62 u0 com.mydomain.onrender/org.zgameeditor.ZgeActivity t-1 f}}
I don't think {$STACKFRAMES ON} worked :?

Edit:
I just tried to use ndk_stack on the libzgeandroid.so and the logcat that goes with it:

Code: Select all

C:\Android\android-ndk-r21e\prebuilt\windows-x86_64\bin>ndk-stack.cmd -sym libzgeandroid.so -dump logcat.txt
********** Crash dump: **********
Build fingerprint: 'google/sargo/sargo:12/SP2A.220505.008/8782922:user/release-keys'
#00 0x00000000000358e4 /data/app/~~5SNRvV6lB4NNF4_fwUxQVg==/com.mydomain.onrender-TTJHJOMYbkJmdu9ehF9xMA==/lib/arm64/libzgeandroid.so (SYSTEM_$$_WAITFREE_VAR$PMEMCHUNK_VAR+36) (BuildId: f1fae54215bd5bb1c5af6a6ccd9843bfe6d876fe)
Crash dump is completed
It's more or less the same
User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

Do you think this problem could appear on linux 64 or windows 64? Maybe it could be easier to debug? Or that is specifically a problem with android?
User avatar
VilleK
Site Admin
Posts: 2360
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Google Play New problem : 64bits

Post by VilleK »

It is strange that the log shows that it manages to render over 40 meshes before crashing. I have no idea why it would crash after working so relatively long.

You could try disable audio in case the audio thread is complicating things:

ZPlatform_Android.inc

procedure Platform_InitAudio;

insert exit as first line to make it do nothing.

Code: Select all

exit;
It feels like it is specific to Android. If it happened on Windows 64 then we would have known by now because the ZGameEditor IDE is running in 64-bit and the same with the ZGameEditor Visualizer plugin. And I seem to recall you tried Linux 64 at some point without problems like this.
User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

With audio disable, it is still crashing after a random number of frames (currently 25 to 78).
But I like the idea. Are there other functions that I could totally disable like that without breaking anything?
(other than Platform_GetCpuCount and ZClasses.Tasks.Enabled :lol:)
User avatar
VilleK
Site Admin
Posts: 2360
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Google Play New problem : 64bits

Post by VilleK »

Ats wrote: Fri Sep 27, 2024 8:09 am With audio disable, it is still crashing after a random number of frames (currently 25 to 78).
But I like the idea. Are there other functions that I could totally disable like that without breaking anything?
(other than Platform_GetCpuCount and ZClasses.Tasks.Enabled :lol:)
With audio off and tasks off then nothing in ZGE is using threading so the crash is probably not thread related. It is a mystery why it crashes after a number of frames because ZGE is doing the same thing every frame. Maybe there is something in the java/jni layer that needs to be different in 64-bit but I had a quick look and saw nothing different. Is there anything more that can be done to get a improved callstack for the crash?
User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

I installed the whole Android Studio, but there is nothing more than what I already had using adb and ndk-stack.
But I tried to build libzgeandroid.so with audio off and tasks off and launch Omeganaut, which is crashing every time I try to set a Vec3. Yet I wasn't able to strip it down...

But I get a different crash, pointing to ZExpressions' array:

2024-09-30 11:56:52.269 2985-2985 DEBUG pid-2985 A #00 pc 000000000005aa00 /data/app/~~Vo2Vt5EnJqveSMlZ7bRBmg==/com.txori.omeganaut--UkHEL2TUlaoIjfJwhzcBA==/lib/arm64/libzgeandroid.so (ZEXPRESSIONS$_$TDEFINEARRAY_$__$$_POPANDGETELEMENT$PEXECUTIONENVIRONMENT$$PFLOAT+40) (BuildId: e760fbd54c7cfc8ec9f6caad7872797d29bdce0b)

So I went full log:

Code: Select all

function TDefineArray.PopAndGetElement(Env: PExecutionEnvironment): ZClasses.PFloat;
var
  Index, I1, I2, I3: integer;
  P: PBytes;
begin
  AndroidLog(PChar('Entering PopAndGetElement method'));

  // Pop values from the stack
  Env.StackPopTo(I3);
  AndroidLog(PChar('Popped I3: ' + IntToStr(I3)));

  if Self.Dimensions >= dadTwo then
  begin
    Env.StackPopTo(I2);
    AndroidLog(PChar('Popped I2: ' + IntToStr(I2)));
  end
  else
  begin
    I2 := 0;
    AndroidLog(PChar('I2 set to 0 (1D array)'));
  end;

  if Self.Dimensions = dadThree then
  begin
    Env.StackPopTo(I1);
    AndroidLog(PChar('Popped I1: ' + IntToStr(I1)));
  end
  else
  begin
    I1 := 0;
    AndroidLog(PChar('I1 set to 0 (2D or 1D array)'));
  end;

  // Calculate the index based on dimensions
  case Self.Dimensions of
    dadOne: 
    begin
      Index := I3;
      AndroidLog(PChar('Calculated Index for 1D array: ' + IntToStr(Index)));
    end;
    dadTwo: 
    begin
      Index := (I2 * SizeDim2) + I3;
      AndroidLog(PChar('Calculated Index for 2D array: ' + IntToStr(Index)));
    end;
  else
    Index := (I1 * SizeDim2 * SizeDim3) + (I2 * SizeDim3) + I3;
    AndroidLog(PChar('Calculated Index for 3D array: ' + IntToStr(Index)));
  end;

  P := PBytes(GetData);
  AndroidLog(PChar('Data pointer obtained'));

  // Check index and dimension validity
  {$ifndef minimal}
  if ((Index < 0) or (Index >= Limit)) or
     ((I1 < 0) or (I2 < 0) or (I3 < 0)) or
     ((Dimensions = dadOne) and (I3 >= SizeDim1)) or
     ((Dimensions = dadTwo) and ((I2 >= SizeDim1) or (I3 >= SizeDim2))) or
     ((Dimensions = dadThree) and ((I1 >= SizeDim1) or (I2 >= SizeDim2) or (I3 >= SizeDim3))) then
  begin
    Env.ScriptError('Array access outside range: ' + String(Self.Name) + ' ' + IntToStr(I1) + ' ' + IntToStr(I2) + ' ' + IntToStr(I3));
    AndroidLog(PChar('Error: Array access outside range'));
    Result := nil;
    Exit;
  end;
  {$endif}

  // Return the element pointer
  Result := @P^[Index * Self.GetElementSize];
  AndroidLog(PChar('Returning element pointer for index: ' + IntToStr(Index)));
end;
And now there are tons of log with no clear evidence of a problem...
Attachments
full_array_log.zip
(7.57 KiB) Downloaded 10 times
User avatar
VilleK
Site Admin
Posts: 2360
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Google Play New problem : 64bits

Post by VilleK »

Looks like a memory problem again. The vec3 memory is not initalized for some reason.
User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

Let's roll back a bit. Could there be problems with the size of the variables I changed in this commit?
Like in Platform_CreateThread when I added this?

Code: Select all

{$IFDEF CPU64}
id: QWord;
{$ELSE}
id: LongWord;
{$ENDIF}
User avatar
VilleK
Site Admin
Posts: 2360
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Google Play New problem : 64bits

Post by VilleK »

Ats wrote: Tue Oct 01, 2024 3:56 pm Let's roll back a bit. Could there be problems with the size of the variables I changed in this commit?
Those changes look good so I don't think they are the problem.

It seems it is possible to debug apps with jni native code from Android Studio: https://stackoverflow.com/questions/324 ... oid-studio

If you get that working then it should stop at the problematic line and show a callstack. You would also be able to set breakpoints and single step through the code.
User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

I'm still discovering the Android Studio. I didn't manage to create a project to test the library yet.
But the Android emulator is running pretty nicely. It's simple to install, simple to use, and simple to root, when compared to the real thing. So I thought I could check memory usages with it, or stuff like that...

But here comes the fun fact:
The example I used for days with libzgeandroid.so 64 is running fine on the emulator, while it crash after a few frames on the real devices :?
User avatar
Ats
Posts: 773
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Google Play New problem : 64bits

Post by Ats »

I'm currently toying widh ndk-gdb, which needs the app to be running in order to work.
So I added a purple splash screen before summoning the BitmapExpression of death:

Code: Select all

<?xml version="1.0" encoding="iso-8859-1" ?>
<ZApplication Name="App" Caption="ZGE" ClearColor="0.502 0.502 0.7529 1" FileVersion="2" AndroidPackageName="com.txori.zge">
  <OnLoaded>
    <SetAppState State="State_Ready"/>
  </OnLoaded>
  <States>
    <AppState Name="State_Ready">
      <OnUpdate>
        <KeyPress Keys="{">
          <OnPressed>
            <SetAppState State="State_Cubes"/>
          </OnPressed>
        </KeyPress>
        <ZExpression>
          <Expression>
<![CDATA[int TouchCount = touchGetCount();
if (TouchCount > 0) @SetAppState(State:State_Cubes);]]>
          </Expression>
        </ZExpression>
      </OnUpdate>
    </AppState>
    <AppState Name="State_Cubes">
      <OnRender>
        <Repeat Name="repeat" Count="6">
          <OnIteration>
            <ZExpression>
              <Expression>
<![CDATA[int i = repeat.Iteration;
transform.Translate.X = -2.5+(i%3)*2.5;
transform.Translate.Y = 1.5-(i/3)*3;

switch(i) {
case 0: @UseMaterial(Material:MaterialGeneratedMirror); break;
case 1: @UseMaterial(Material:MaterialGeneratedTile); break;
case 2: @UseMaterial(Material:MaterialGeneratedClamp); break;
case 3: @UseMaterial(Material:MaterialModelDefinedMirror); break;
case 4: @UseMaterial(Material:MaterialModelDefinedTile); break;
case 5: @UseMaterial(Material:MaterialModelDefinedClamp); break;
}]]>
              </Expression>
            </ZExpression>
            <RenderTransformGroup Name="transform" Translate="2.5 -1.5 0">
              <Children>
                <RenderTransform Rotate="0.1 0.1 0"/>
                <RenderMesh Mesh="CubeMesh"/>
              </Children>
            </RenderTransformGroup>
          </OnIteration>
        </Repeat>
      </OnRender>
    </AppState>
  </States>
  <Content>
    <Mesh Name="CubeMesh">
      <Producers>
        <MeshBox/>
      </Producers>
    </Mesh>
    <Bitmap Name="BitmapRainbow" Width="32" Height="32" Filter="1">
      <Producers>
        <BitmapExpression>
          <Expression>
<![CDATA[int u = round(X*31), v = round(Y*31);

if(u == 0 || u == 31 || v == 0 || v == 31)
{
  Pixel = 1;
}
else
{
  Pixel.R = X;
  Pixel.G = Y;
  Pixel.B = 1-X;
}]]>
          </Expression>
        </BitmapExpression>
      </Producers>
    </Bitmap>
    <Material Name="MaterialGeneratedMirror">
      <Textures>
        <MaterialTexture Texture="BitmapRainbow"/>
      </Textures>
    </Material>
    <Material Name="MaterialGeneratedTile">
      <Textures>
        <MaterialTexture Texture="BitmapRainbow" TextureWrapMode="1"/>
      </Textures>
    </Material>
    <Material Name="MaterialGeneratedClamp">
      <Textures>
        <MaterialTexture Texture="BitmapRainbow" TextureWrapMode="2"/>
      </Textures>
    </Material>
    <Material Name="MaterialModelDefinedMirror">
      <Textures>
        <MaterialTexture Texture="BitmapRainbow" TexCoords="1"/>
      </Textures>
    </Material>
    <Material Name="MaterialModelDefinedTile">
      <Textures>
        <MaterialTexture Texture="BitmapRainbow" TextureWrapMode="1" TexCoords="1"/>
      </Textures>
    </Material>
    <Material Name="MaterialModelDefinedClamp">
      <Textures>
        <MaterialTexture Texture="BitmapRainbow" TextureWrapMode="2" TexCoords="1"/>
      </Textures>
    </Material>
  </Content>
</ZApplication>
Then I had to add a fake Android.mk:

Code: Select all

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := libzgeandroid
LOCAL_SRC_FILES := libzgeandroid.so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
LOCAL_LDLIBS := -llog -landroid
LOCAL_ARM_MODE := arm
LOCAL_ARM_NEON := true

include $(PREBUILT_SHARED_LIBRARY)
and a fake application.mk:

Code: Select all

APP_ABI := arm64-v8a
in a newly added "jni" folder within the android project "com.txori.zge" folder.

Then I launch:

C:\Android\android-ndk-r21e\prebuilt\windows-x86_64\bin>ndk-gdb --launch org.zgameeditor.ZgeActivity --adb C:\Android\android-sdk-windows\platform-tools\adb.exe --project=C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge

and I wait for 20 seconds before it launches and displays a brand-new log (the app isn't crashed yet):

Code: Select all

C:\Android\android-ndk-r21e\prebuilt\windows-x86_64\bin\gdb-orig.exe: warning: Couldn't determine a path for the index cache directory.
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
BFD: C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64: unknown type [0x13] section .relr.dyn'
warning: section .interp not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .note.android.ident not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .note.gnu.build-id not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .note.android.memtag not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .dynsym not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .gnu.version not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .gnu.version_r not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .gnu.hash not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .dynstr not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .rela.dyn not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .relr.dyn not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .rela.plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .rodata not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .eh_frame_hdr not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .eh_frame not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .tdata not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .data.rel.ro not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .dynamic not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .got not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .got.plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .data not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .interp not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .note.android.ident not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .note.gnu.build-id not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .note.android.memtag not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .dynsym not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .gnu.version not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .gnu.version_r not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .gnu.hash not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .dynstr not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .rela.dyn not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .relr.dyn not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .rela.plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .rodata not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .eh_frame_hdr not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .eh_frame not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .tdata not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .data.rel.ro not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .dynamic not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .got not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .got.plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
warning: section .data not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\bin\app_process64
BFD: C:/Dropbox/Omeganaut/research/ZgeBullet-master/demos/test/com.txori.zge/obj/local/arm64-v8a/system/bin/linker64: unknown type [0x13] section .relr.dyn'
warning: C:/Dropbox/Omeganaut/research/ZgeBullet-master/demos/test/com.txori.zge/obj/local/arm64-v8a/system/bin/linker64': Shared library architecture unknown is not compatible with target architecture aarch64.
BFD: C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so: unknown type [0x13] section .relr.dyn'
warning: C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so': Shared library architecture unknown is not compatible with target architecture aarch64.
warning: Could not load shared library symbols for 313 libraries, e.g. /system/lib64/libandroid_runtime.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: section .note.android.ident not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .note.android.pad_segment not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .note.gnu.build-id not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .dynsym not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .gnu.version not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .gnu.version_d not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .gnu.version_r not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .gnu.hash not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .dynstr not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .rela.dyn not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .relr.dyn not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .rela.plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .rodata not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .eh_frame_hdr not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .eh_frame not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .data.rel.ro not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .fini_array not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .dynamic not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .got not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .got.plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .data not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .bss not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libm.so
warning: section .note.android.pad_segment not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .note.gnu.build-id not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .dynsym not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .gnu.version not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .gnu.version_d not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .gnu.hash not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .dynstr not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .rela.plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .eh_frame_hdr not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .eh_frame not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .dynamic not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .got.plt not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: section .bss not found in .gnu_debugdata for C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libdl.so
warning: C:/Dropbox/Omeganaut/research/ZgeBullet-master/demos/test/com.txori.zge/obj/local/arm64-v8a/system/bin/linker64': Shared library architecture unknown is not compatible with target architecture aarch64.
0x00000077167c4d28 in __epoll_pwait ()
   from C:\Dropbox\Omeganaut\research\ZgeBullet-master\demos\test\com.txori.zge\obj\local\arm64-v8a\system\lib64\libc.so
(gdb)
Then I can advance frame per frame until it crashes:

Code: Select all

(gdb) continue
Continuing.
[New Thread 9950.10745]
[New Thread 9950.10710]
[New Thread 9950.10746]

Thread 20 "GLThread 731" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 9950.10745]
0x0000007b8d44f8e4 in ?? ()
(gdb) continue
Continuing.
[New Thread 9950.10914]
[New Thread 9950.10916]
[New Thread 9950.10917]
[New Thread 9950.10919]
[New Thread 9950.10920]

Thread 20 "GLThread 731" received signal SIGSEGV, Segmentation fault.
0x0000007b8d44f8e4 in ?? ()
(gdb) continue
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
Then I can trace threads, memstacks and things. I don't know exactly what to do, but I might be onto something 8)
User avatar
VilleK
Site Admin
Posts: 2360
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Google Play New problem : 64bits

Post by VilleK »

Code: Select all

Thread 20 "GLThread 731" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 9950.10745]
When you see this, then it could be possible from gdb to get the callstack of the crashing thread (in this case thread 20).

I've never used gdb but it seems getting the callstack is "where": https://cgi.cse.unsw.edu.au/~learn/debu ... all_stack/

Switch to a specific thread should be "thread n": https://sourceware.org/gdb/current/onli ... reads.html
Post Reply