Hello everyone,
I want to enable rotation for my app on android, but I get a crash before I even get the resizing event.
Here is the logcat output before the crash:
02-16 09:49:11.802 27670-27670/org.visualproductions.kiosc V/SDL: onPause()
02-16 09:49:11.802 27670-27670/org.visualproductions.kiosc V/SDL: nativePause()
02-16 09:49:11.802 27670-27670/org.visualproductions.kiosc E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
02-16 09:49:11.906 27670-27670/org.visualproductions.kiosc D/ActivityThread: ACT-AM_ON_PAUSE_CALLED ActivityRecord{204a1f86 token=android.os.BinderProxy@3cce7047 {org.visualproductions.kiosc/org.libsdl.app.SDLActivity}}
02-16 09:49:11.906 27670-27670/org.visualproductions.kiosc V/SDL: onDestroy()
02-16 09:49:12.012 27670-27699/org.visualproductions.kiosc D/GraphicBuffer: unregister, handle(0xa3e11100) (w:1024 h:552 s:1024 f:0x1 u:0x000f02)
02-16 09:49:12.012 27670-27699/org.visualproductions.kiosc D/GraphicBuffer: unregister, handle(0xa33833a0) (w:1024 h:552 s:1024 f:0x1 u:0x000f02)
02-16 09:49:12.012 27670-27699/org.visualproductions.kiosc D/GraphicBuffer: unregister, handle(0xa3383220) (w:1024 h:552 s:1024 f:0x1 u:0x000f02)
02-16 09:49:12.013 27670-27699/org.visualproductions.kiosc D/GraphicBuffer: unregister, handle(0xa33830a0) (w:1024 h:552 s:1024 f:0x1 u:0x000f02)
02-16 09:49:12.024 27670-27702/org.visualproductions.kiosc W/art: Native thread exiting without having called DetachCurrentThread (maybe it’s going to use a pthread_key_create destructor?): Thread[17,tid=27702,Native,Thread*=0xb092a400,peer=0x12d26080,“Thread-1808”]
02-16 09:49:12.336 27670-27704/org.visualproductions.kiosc W/art: Native thread exiting without having called DetachCurrentThread (maybe it’s going to use a pthread_key_create destructor?): Thread[19,tid=27704,Native,Thread*=0xb032a400,peer=0x12d36080,“Thread-1810”]
02-16 09:49:12.337 27670-27699/org.visualproductions.kiosc A/libc: /Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/…/…/external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char *, …): assertion “terminating with uncaught exception of type NSt6__ndk112system_errorE: thread::join failed: No such process” failed
02-16 09:49:12.338 27670-27699/org.visualproductions.kiosc A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 27699 (SDLThread)