ndk icon indicating copy to clipboard operation
ndk copied to clipboard

Crash if not adding a logger

Open Dispersia opened this issue 4 years ago • 0 comments

Hello, when attempting to run the winit example for request_redraw_threaded, if you comment out the simple_logger line it crashes, although the example runs fine in desktop etc so i dont think it's a problem with winit itself

minifed to just the example and it crashing: https://github.com/Dispersia/test_android

and i can't get it to work in any way against master, so I don't know if it still occurs: https://github.com/Dispersia/test_android/tree/against_master

Error received:

--------- beginning of crash
08-09 14:35:44.660  2471  2501 F libc    : FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xf34eb018)
08-09 14:35:44.661  2471  2501 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 2501 (RenderThread), pid 2471 (le.test_example)
08-09 14:35:44.686  2471  2502 I RustStdoutStderr: FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xf3531074)
08-09 14:35:44.686  2471  2471 F libc    : FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xf3531074)
08-09 14:35:44.690  2507  2507 E DEBUG   : failed to open directory /proc/2501/fd: No such file or directory
08-09 14:35:44.691  2507  2507 F crash_dump32: crash_dump.cpp:443] failed to get process threads: No such file or directory
08-09 14:35:44.691  1910  1910 I /system/bin/tombstoned: received crash request for pid 2501
08-09 14:35:44.691  1839  1839 I Zygote  : Process 2471 exited cleanly (0)
08-09 14:35:44.691  1910  1910 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
08-09 14:35:44.694  2753  3985 I Icing   : IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=null serviceId=30
08-09 14:35:44.718  2108  2204 W InputDispatcher: channel '46bfb3d rust.example.test_example/android.app.NativeActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
08-09 14:35:44.718  2108  2204 E InputDispatcher: channel '46bfb3d rust.example.test_example/android.app.NativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
08-09 14:35:44.719  2108  7451 I ActivityManager: Process rust.example.test_example (pid 2471) has died: fore TOP
08-09 14:35:44.720  2108  7942 I WindowManager: WIN DEATH: Window{46bfb3d u0 rust.example.test_example/android.app.NativeActivity}
08-09 14:35:44.720  2108  7942 W InputDispatcher: Attempted to unregister already unregistered input channel '46bfb3d rust.example.test_example/android.app.NativeActivity (server)'
08-09 14:35:44.722  2108  7451 W ActivityTaskManager: Force removing ActivityRecord{348517b u0 rust.example.test_example/android.app.NativeActivity t62}: app died, no saved state

Dispersia avatar Aug 09 '20 21:08 Dispersia