My game is having intermittent crashes on Android, seemingly unrelated to anything specific in the game. I haven’t been able to get a logcat of these, until just now.
Unfortunately the errors are not making much sense to me. Possible culprits are:
2020-10-21 19:41:14.631 26207-26272/com.winkelgames.juump A/libc: ../src/sound.cpp:938: void dmSound::MixResampleUpStereo(const dmSound::MixContext *, dmSound::SoundInstance *, uint32_t, uint32_t, float *, uint32_t) [T = short, offset = 0, scale = 1]: assertion "prev_index <= instance->m_FrameCount" failed
And:
2020-10-21 19:41:15.117 26207-26272/com.winkelgames.juump I/defold: INFO:CRASH: Successfully wrote Crashdump to file: /data/user/0/com.winkelgames.juump/files/_crash
2020-10-21 19:41:15.117 26207-26272/com.winkelgames.juump E/defold: ERROR:CRASH: CALL STACK:
# 0 pc 0x5bc [vdso] <unknown>+0
# 1 pc 0x13174 ...oid.runtime/lib64/bionic/libc.so abort+164
2020-10-21 19:41:15.188 880-976/? D/VSC: @ 180661.246: [WO] tilt angle 89
2020-10-21 19:41:15.189 1530-1965/? W/InputDispatcher: channel '991dbd2 com.winkelgames.juump/com.dynamo.android.DefoldActivity (server)' ~ Consumer closed input channel or an error occurred. events=0xd
2020-10-21 19:41:15.189 1530-1965/? E/InputDispatcher: channel '991dbd2 com.winkelgames.juump/com.dynamo.android.DefoldActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
A more extensive log: logcat debug crash.txt (238.9 KB)
Could anything be gleaned from these messages? I would be very grateful for any help that can bring me closer to a fix.