rust-windowing / rust-windowing/winit
winit iOS bug, file an issue: redraw queued while processing redraws
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
Description
I'm seeing an iOS crash in Apple's AppStore App Review that I haven’t been able to reproduce locally yet.
Crash is a Rust panic inside winit:
winit iOS bug, file an issue: redraw queued while processing redraws
https://github.com/rust-windowing/winit/blob/v0.30.13/src/platform_impl/ios/app_state.rs#L581
From Crashlytics, it looks like this is happening around an iOS lifecycle/redraw timing issue. The app pauses/resumes, drops or recreates the Metal/wgpu backbuffer, and then I guess a redraw gets queued while winit is already processing redraws. Current winit panics there instead of deferring the redraw, which aborts the app.
What the reviewer seems to be doing:
- Fresh launch
- Tap Sign in with Apple from the menu
- Native Apple auth flow opens, causing
lifecycle Pause - App resumes after auth
- Auth completes and the websocket connects
- App runs for a bit
- Reviewer backgrounds/foregrounds the app again
- A few seconds after resume, it crashes
The device in Crashlytics is an iPad Air M3:
Device
Model: iPad Air 11-inch (M3)
Orientation: Face Up
RAM free: 2.09 GiB
Operating System
Version:26.5.0
Orientation: Landscape
Jailbroken: No
I haven’t reproduced it myself. I only have an M1 MacBook Air and an iPhone 17, so this may be iPad-only or just much easier to trigger on iPad OS due to different lifecycle/display/render timing? Not sure.
Crashlytics thread stacktrace:
# Crashlytics -
# Application: com.legendsoftaria.lot
# Platform: apple
# Version: 2026.6.8 (108)
# Issue: 41a9fe1d1ded4a66e7930354e2632a12
# Session: f85056a57f704b81b285ba42df7192ef_DNE_1_v2
# Date: Thu Jun 18 2026 21:25:19 GMT-0400 (Eastern Daylight Time)
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0xb1d0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x77dc pthread_kill + 268
2 libsystem_c.dylib 0x76c98 abort + 148
3 LegendsOfTaria 0x95f438 _RNvNtNtCsgi3HV2in2Hc_3std6thread7current12init_current + 289 (current.rs:289)
4 LegendsOfTaria 0x95c350 _RNvCsGIExRX8pES_7___rustc10rust_panic + 885 (panicking.rs:885)
5 LegendsOfTaria 0x5d55e0 _RNvNtCsgi3HV2in2Hc_3std9panicking15panic_with_hook + 44 (rt.rs:44)
6 LegendsOfTaria 0x5f4938 _RNCNvNtCsgi3HV2in2Hc_3std9panicking13panic_handler0B5_ + 810 (mod.rs:810)
7 LegendsOfTaria 0x5f48c8 _RNCNvNtCsgi3HV2in2Hc_3std9panicking13panic_handler0B5_ + 689 (panicking.rs:689)
8 LegendsOfTaria 0x5f4e1c _RNvCsGIExRX8pES_7___rustc24___rust_foreign_exception + 82 (panicking.rs:82)
9 LegendsOfTaria 0x93db00 _RNvNtCsicosXiyvBrW_4core9panicking18panic_nounwind_fmt + 122 (panicking.rs:122)
10 LegendsOfTaria 0x93dad8 _RNvNtCsicosXiyvBrW_4core9panicking18panic_nounwind_fmt + 95 (panicking.rs:95)
11 LegendsOfTaria 0x93db14 _RNvNtCsicosXiyvBrW_4core9panicking16panic_in_cleanup + 351 (panicking.rs:351)
12 LegendsOfTaria 0x8ffb00 winit::platform_impl::ios::event_loop::setup_control_flow_observers::control_flow_main_end_handler::h3631a215a5a4dbb4 + 4352047872
13 CoreFoundation 0x8989c __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
14 CoreFoundation 0x64d00 __CFRunLoopDoObservers + 648
15 CoreFoundation 0x2f208 __CFRunLoopRun + 924
16 CoreFoundation 0x2e54c _CFRunLoopRunSpecificWithOptions + 532
17 GraphicsServices 0x1498 GSEventRunModal + 120
18 UIKitCore 0x121244 -[UIApplication _run] + 796
19 UIKitCore 0x8c158 UIApplicationMain + 332
20 LegendsOfTaria 0x92ff3c winit::platform_impl::ios::event_loop::EventLoop$LT$T$GT$::run::h4095cd80f639a264 + 316 (event_loop.rs:316)
21 LegendsOfTaria 0x18e0b0 taria_ios_main + 274 (event_loop.rs:274)
22 LegendsOfTaria 0x401c main + 8 (main.m:8)
23 ??? 0x19e901c1c (Missing)
Thread
0 libsystem_kernel.dylib 0xa80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x13fc _pthread_wqthread + 368
2 libsystem_pthread.dylib 0x8c0 start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0xa80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x13fc _pthread_wqthread + 368
2 libsystem_pthread.dylib 0x8c0 start_wqthread + 8
Thread
0 libsystem_pthread.dylib 0x8b8 start_wqthread + 8604600502
com.google.firebase.crashlytics.MachExceptionServer
0 libsystem_kernel.dylib 0xcd4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x430c mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x422c mach_msg_overwrite + 424
3 libsystem_kernel.dylib 0x4078 mach_msg + 24
4 LegendsOfTaria 0xf5064 FIRCLSMachExceptionServer + 198 (FIRCLSMachException.c:198)
5 libsystem_pthread.dylib 0x4438 _pthread_start + 136
6 libsystem_pthread.dylib 0x8cc thread_start + 8
com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0xcd4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x430c mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x422c mach_msg_overwrite + 424
3 libsystem_kernel.dylib 0x4078 mach_msg + 24
4 CoreFoundation 0x65344 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x2f310 __CFRunLoopRun + 1188
6 CoreFoundation 0x2e54c _CFRunLoopRunSpecificWithOptions + 532
7 Foundation 0xacf0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8 Foundation 0xabd8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9 UIKitCore 0xe6a7c -[UIEventFetcher threadMain] + 420
10 Foundation 0x8e824 __NSThread__start__ + 732
11 libsystem_pthread.dylib 0x4438 _pthread_start + 136
12 libsystem_pthread.dylib 0x8cc thread_start + 8
Thread
0 libsystem_kernel.dylib 0xa80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x13fc _pthread_wqthread + 368
2 libsystem_pthread.dylib 0x8c0 start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0xa80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x13fc _pthread_wqthread + 368
2 libsystem_pthread.dylib 0x8c0 start_wqthread + 8
com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0xcd4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x430c mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x422c mach_msg_overwrite + 424
3 libsystem_kernel.dylib 0x4078 mach_msg + 24
4 CoreFoundation 0x65344 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x2f310 __CFRunLoopRun + 1188
6 CoreFoundation 0x2e54c _CFRunLoopRunSpecificWithOptions + 532
7 CFNetwork 0x91b54 +[__CFN_CoreSchedulingSetRunnable _run:] + 416
8 Foundation 0x8e824 __NSThread__start__ + 732
9 libsystem_pthread.dylib 0x4438 _pthread_start + 136
10 libsystem_pthread.dylib 0x8cc thread_start + 8
Thread
0 libsystem_kernel.dylib 0x6808 __semwait_signal + 8
1 libsystem_c.dylib 0xc82c nanosleep + 220
2 LegendsOfTaria 0x385230 std::sys::backtrace::__rust_begin_short_backtrace::h469b446a32b36afb + 4346303024
3 LegendsOfTaria 0x393c64 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he94a8a33d9efe909 + 4346362980
4 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
5 libsystem_pthread.dylib 0x4438 _pthread_start + 136
6 libsystem_pthread.dylib 0x8cc thread_start + 8
caulk::deferred_logger
0 libsystem_kernel.dylib 0xc50 semaphore_wait_trap + 8
1 caulk 0x3c6c caulk::semaphore::timed_wait(double) + 224
2 caulk 0x3cb8 caulk::concurrent::details::worker_thread::run() + 32
3 caulk 0x7f54 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4 libsystem_pthread.dylib 0x4438 _pthread_start + 136
5 libsystem_pthread.dylib 0x8cc thread_start + 8
caulk.messenger.shared:high
0 libsystem_kernel.dylib 0xc50 semaphore_wait_trap + 8
1 caulk 0x3c6c caulk::semaphore::timed_wait(double) + 224
2 caulk 0x3cb8 caulk::concurrent::details::worker_thread::run() + 32
3 caulk 0x7f54 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4 libsystem_pthread.dylib 0x4438 _pthread_start + 136
5 libsystem_pthread.dylib 0x8cc thread_start + 8
AURemoteIO::IOThread
0 libsystem_kernel.dylib 0xcd4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x430c mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x422c mach_msg_overwrite + 424
3 libsystem_kernel.dylib 0x4078 mach_msg + 24
4 libEmbeddedSystemAUs.dylib 0x10d28 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup_managed const&)::'lambda'(), std::__1::tuple<>>>(void*)
5 libsystem_pthread.dylib 0x4438 _pthread_start + 136
6 libsystem_pthread.dylib 0x8cc thread_start + 8
Thread
0 libsystem_kernel.dylib 0xa80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x13fc _pthread_wqthread + 368
2 libsystem_pthread.dylib 0x8c0 start_wqthread + 8
tokio-rt-worker
0 libsystem_kernel.dylib 0x65e8 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2b48 _pthread_cond_wait + 980
2 LegendsOfTaria 0x674488 tokio::runtime::scheduler::multi_thread::worker::Context::park_internal::hf64532015dacde95 + 4349379720
3 LegendsOfTaria 0x672aa0 tokio::runtime::task::raw::poll::h58e9294a03aacf37 + 4349373088
4 LegendsOfTaria 0x6695d0 std::sys::backtrace::__rust_begin_short_backtrace::had4f98552fec707d + 4349334992
5 LegendsOfTaria 0x66b7d4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hff96a6e94ed9c530 + 4349343700
6 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
7 libsystem_pthread.dylib 0x4438 _pthread_start + 136
8 libsystem_pthread.dylib 0x8cc thread_start + 8
tokio-rt-worker
0 libsystem_kernel.dylib 0x65e8 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2b48 _pthread_cond_wait + 980
2 LegendsOfTaria 0x674488 tokio::runtime::scheduler::multi_thread::worker::Context::park_internal::hf64532015dacde95 + 4349379720
3 LegendsOfTaria 0x672aa0 tokio::runtime::task::raw::poll::h58e9294a03aacf37 + 4349373088
4 LegendsOfTaria 0x6695d0 std::sys::backtrace::__rust_begin_short_backtrace::had4f98552fec707d + 4349334992
5 LegendsOfTaria 0x66b7d4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hff96a6e94ed9c530 + 4349343700
6 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
7 libsystem_pthread.dylib 0x4438 _pthread_start + 136
8 libsystem_pthread.dylib 0x8cc thread_start + 8
tokio-rt-worker
0 libsystem_kernel.dylib 0x65e8 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2b48 _pthread_cond_wait + 980
2 LegendsOfTaria 0x674488 tokio::runtime::scheduler::multi_thread::worker::Context::park_internal::hf64532015dacde95 + 4349379720
3 LegendsOfTaria 0x672aa0 tokio::runtime::task::raw::poll::h58e9294a03aacf37 + 4349373088
4 LegendsOfTaria 0x6695d0 std::sys::backtrace::__rust_begin_short_backtrace::had4f98552fec707d + 4349334992
5 LegendsOfTaria 0x66b7d4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hff96a6e94ed9c530 + 4349343700
6 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
7 libsystem_pthread.dylib 0x4438 _pthread_start + 136
8 libsystem_pthread.dylib 0x8cc thread_start + 8
tokio-rt-worker
0 libsystem_kernel.dylib 0x65e8 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2b48 _pthread_cond_wait + 980
2 LegendsOfTaria 0x674488 tokio::runtime::scheduler::multi_thread::worker::Context::park_internal::hf64532015dacde95 + 4349379720
3 LegendsOfTaria 0x672aa0 tokio::runtime::task::raw::poll::h58e9294a03aacf37 + 4349373088
4 LegendsOfTaria 0x6695d0 std::sys::backtrace::__rust_begin_short_backtrace::had4f98552fec707d + 4349334992
5 LegendsOfTaria 0x66b7d4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hff96a6e94ed9c530 + 4349343700
6 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
7 libsystem_pthread.dylib 0x4438 _pthread_start + 136
8 libsystem_pthread.dylib 0x8cc thread_start + 8
tokio-rt-worker
0 libsystem_kernel.dylib 0x78dc kevent + 8
1 LegendsOfTaria 0x675de4 tokio::runtime::io::driver::Driver::turn::h4acec9858b099f41 + 4349386212
2 LegendsOfTaria 0x675ac0 tokio::runtime::time::Driver::park_internal::h5a012bcf291e4c78 + 4349385408
3 LegendsOfTaria 0x6744f8 tokio::runtime::scheduler::multi_thread::worker::Context::park_internal::hf64532015dacde95 + 4349379832
4 LegendsOfTaria 0x672aa0 tokio::runtime::task::raw::poll::h58e9294a03aacf37 + 4349373088
5 LegendsOfTaria 0x6695d0 std::sys::backtrace::__rust_begin_short_backtrace::had4f98552fec707d + 4349334992
6 LegendsOfTaria 0x66b7d4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hff96a6e94ed9c530 + 4349343700
7 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
8 libsystem_pthread.dylib 0x4438 _pthread_start + 136
9 libsystem_pthread.dylib 0x8cc thread_start + 8
tokio-rt-worker
0 libsystem_kernel.dylib 0x65e8 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2b48 _pthread_cond_wait + 980
2 LegendsOfTaria 0x674488 tokio::runtime::scheduler::multi_thread::worker::Context::park_internal::hf64532015dacde95 + 4349379720
3 LegendsOfTaria 0x672aa0 tokio::runtime::task::raw::poll::h58e9294a03aacf37 + 4349373088
4 LegendsOfTaria 0x6695d0 std::sys::backtrace::__rust_begin_short_backtrace::had4f98552fec707d + 4349334992
5 LegendsOfTaria 0x66b7d4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hff96a6e94ed9c530 + 4349343700
6 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
7 libsystem_pthread.dylib 0x4438 _pthread_start + 136
8 libsystem_pthread.dylib 0x8cc thread_start + 8
tokio-rt-worker
0 libsystem_kernel.dylib 0x65e8 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2b48 _pthread_cond_wait + 980
2 LegendsOfTaria 0x674488 tokio::runtime::scheduler::multi_thread::worker::Context::park_internal::hf64532015dacde95 + 4349379720
3 LegendsOfTaria 0x672aa0 tokio::runtime::task::raw::poll::h58e9294a03aacf37 + 4349373088
4 LegendsOfTaria 0x6695d0 std::sys::backtrace::__rust_begin_short_backtrace::had4f98552fec707d + 4349334992
5 LegendsOfTaria 0x66b7d4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hff96a6e94ed9c530 + 4349343700
6 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
7 libsystem_pthread.dylib 0x4438 _pthread_start + 136
8 libsystem_pthread.dylib 0x8cc thread_start + 8
tokio-rt-worker
0 libsystem_kernel.dylib 0x65e8 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2b48 _pthread_cond_wait + 980
2 LegendsOfTaria 0x674488 tokio::runtime::scheduler::multi_thread::worker::Context::park_internal::hf64532015dacde95 + 4349379720
3 LegendsOfTaria 0x672aa0 tokio::runtime::task::raw::poll::h58e9294a03aacf37 + 4349373088
4 LegendsOfTaria 0x6695d0 std::sys::backtrace::__rust_begin_short_backtrace::had4f98552fec707d + 4349334992
5 LegendsOfTaria 0x66b7d4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hff96a6e94ed9c530 + 4349343700
6 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
7 libsystem_pthread.dylib 0x4438 _pthread_start + 136
8 libsystem_pthread.dylib 0x8cc thread_start + 8
Thread
0 libsystem_kernel.dylib 0x6808 __semwait_signal + 8
1 libsystem_c.dylib 0xc82c nanosleep + 220
2 LegendsOfTaria 0x1b105c std::sys::backtrace::__rust_begin_short_backtrace::h690abee5fe911bdd + 4344385628
3 LegendsOfTaria 0x1c7bd4 core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h4a118ba914f083f3 + 4344478676
4 LegendsOfTaria 0x5f5b78 _RNvNvMs0_NtNtNtCsgi3HV2in2Hc_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 457 (mod.rs:457)
5 libsystem_pthread.dylib 0x4438 _pthread_start + 136
6 libsystem_pthread.dylib 0x8cc thread_start + 8
Thread
0 libsystem_kernel.dylib 0xa80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x13fc _pthread_wqthread + 368
2 libsystem_pthread.dylib 0x8c0 start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0xa80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x13fc _pthread_wqthread + 368
2 libsystem_pthread.dylib 0x8c0 start_wqthread + 8
AudioSession - RootQueue
0 libsystem_kernel.dylib 0xc68 semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x367d8 _dispatch_sema4_timedwait + 64
2 libdispatch.dylib 0x3a68 _dispatch_semaphore_wait_slow + 76
3 libdispatch.dylib 0x136fc _dispatch_worker_thread + 324
4 libsystem_pthread.dylib 0x4438 _pthread_start + 136
5 libsystem_pthread.dylib 0x8cc thread_start + 8
And here's my game's own logs right before the crash (you can see the pausing/resuming here leading up to crash, and its similar in all 3 crashes):
1 09:48:32.799 PM
FATAL panic: Rust panic: panicked at /rustc/ac68faa20c58cbccd01ee7208bf3b6e93a7d7f96/library/core/src/panicking.rs:225:5:\npanic in a function that cannot unwind
--- end crash ring snapshot ---
FATAL signal SIGABRT
2 09:48:32.799 PM
FATAL panic: Rust panic: panicked at /rustc/ac68faa20c58cbccd01ee7208bf3b6e93a7d7f96/library/core/src/panicking.rs:225:5:\npanic in a function that cannot unwind
--- crash ring snapshot: rust_panic ---
3 09:48:32.797 PM
FATAL panic: Rust panic: panicked at /Users/local/.cargo/git/checkouts/winit-a6196bc2836e6d9c/c48025b/src/platform_impl/ios/app_state.rs:636:17:\nwinit iOS bug, file an issue: redraw queued while processing redraws
4 09:48:32.024 PM
INFO legendsoftaria: FPS: 60.0 | avg: 811.72µs | med: 768.83µs | max: 3.10ms | 301 frames / 5.02s
5 09:48:27.008 PM
INFO legendsoftaria: FPS: 60.0 | avg: 791.62µs | med: 750.12µs | max: 2.55ms | 301 frames / 5.02s
6 09:48:21.992 PM
INFO legendsoftaria: FPS: 60.0 | avg: 792.65µs | med: 767.29µs | max: 1.72ms | 301 frames / 5.02s
7 09:48:16.976 PM
INFO
8 09:48:15.270 PM
INFO common::net::client_packets_in: No guild
9 09:48:15.270 PM
INFO common::net::client_packets_in: Synced 0 friends
10 09:48:14.526 PM
INFO common::net::networking: Socket just opened.
11 09:48:13.630 PM
INFO auth: Connecting after auth provider=apple host=wss://world1.legendsoftaria.com:443 world_id=1
12 09:48:13.630 PM
INFO auth: AuthCompleted [REDACTED]
13 09:48:13.630 PM
INFO auth: AuthCompleted [REDACTED]
14 09:48:13.003 PM
INFO egor_glue::app: [egor] app resumed: complete
15 09:48:13.003 PM
INFO egor_render::target: [egor] backbuffer init: complete
16 09:48:13.003 PM
INFO egor_render::target: [egor] backbuffer init: configuring surface format=Bgra8UnormSrgb view_format=Bgra8UnormSrgb copy_src=true
17 09:48:13.003 PM
INFO egor_render::target: [egor] backbuffer init: building surface config
18 09:48:13.003 PM
INFO egor_glue::app: [egor] app resumed: recreating backbuffer 2360x1640
19 09:48:11.959 PM
INFO legendsoftaria: FPS: 60.0 | avg: 7.97µs | med: 8.12µs | max: 10.58µs | 301 frames / 5.02s
20 09:48:06.942 PM
INFO legendsoftaria: FPS: 26.7 | avg: 121.53µs | med: 8.42µs | max: 1.02ms | 134 frames / 5.01s
21 09:48:06.342 PM
WARN egor_glue::app: [egor] recreated backbuffer after surface acquire failure at 2360x1640
22 09:48:06.342 PM
INFO egor_render::target: [egor] backbuffer init: complete
23 09:48:06.342 PM
INFO egor_render::target: [egor] backbuffer init: configuring surface format=Bgra8UnormSrgb view_format=Bgra8UnormSrgb copy_src=true
24 09:48:06.342 PM
INFO egor_render::target: [egor] backbuffer init: building surface config
25 09:48:06.342 PM
INFO egor_render::target: [egor] backbuffer init: creating surface 2360x1640
26 09:48:06.337 PM
INFO egor_glue::app: [egor] app suspended: dropping backbuffer
27 09:48:06.337 PM
INFO crash_log: flush requested: ios_lifecycle_pau
28 09:48:06.337 PM
INFO crash_log: flush requested: application_will_resign_active
29 09:48:06.176 PM
INFO auth: Auth required; requesting platform auth provider=apple world_id=1
30 09:48:06.176 PM
INFO auth: Menu login action provider=apple host=wss://world1.legendsoftaria.com:443 world_id=1
31 09:48:06.176 PM
INFO auth: Menu auth button clicked provider=apple
32 09:48:05.438 PM
INFO egor_glue::app: [egor] app resumed: complete
33 09:48:05.438 PM
INFO egor_render::target: [egor] backbuffer init: complete
34 09:48:05.437 PM
INFO egor_render::target: [egor] backbuffer init: configuring surface format=Bgra8UnormSrgb view_format=Bgra8UnormSrgb copy_src=true
35 09:48:05.437 PM
INFO egor_render::target: [egor] backbuffer init: building surface config
36 09:48:05.437 PM
INFO egor_render::target: [egor] backbuffer init: creating surface 2360x1640
37 09:48:05.437 PM
INFO egor_glue::app: [egor] app resumed: recreating ba
38 09:48:05.159 PM
WARN egor_glue::app: [egor] recreated backbuffer after surface acquire failure at 2360x1640
39 09:48:05.159 PM
INFO egor_render::target: [egor] backbuffer init: complete
40 09:48:05.159 PM
INFO egor_render::target: [egor] backbuffer init: configuring surface format=Bgra8UnormSrgb view_format=Bgra8UnormSrgb copy_src=true
41 09:48:05.159 PM
INFO egor_render::target: [egor] backbuffer init: building surface config
42 09:48:05.159 PM
INFO egor_render::target: [egor] backbuffer init: creating surface 2360x1640
43 09:48:01.928 PM
INFO legendsoftaria: FPS: 60.0 | avg: 239.08µs | med: 244.83µs | max: 524.96µs | 300 frames / 5.00s
44 09:48:01.731 PM
WARN egor_glue::app: [egor] recreated backbuffer after surface acquire failure at 2360x1640
45 09:48:01.731 PM
INFO egor_render::target: [egor] backbuffer init: complete
46 09:48:01.731 PM
INFO egor_render::target: [egor] backbuffer init: configuring surface format=Bgra8UnormSrgb view_format=Bgra
47 09:48:01.731 PM
INFO egor_render::target: [egor] backbuffer init: building surface config
48 09:48:01.731 PM
INFO egor_render::target: [egor] backbuffer init: creating surface 2360x1640
49 09:48:01.729 PM
INFO egor_glue::app: [egor] app suspended: dropping backbuffer
50 09:48:01.729 PM
INFO crash_log: flush requested: ios_lifecycle_pause
Device and iOS version
Device
Model: iPad Air 11-inch (M3)
Orientation: Unknown
RAM free: 2.02 GiB
Operating System
Version:26.5.0
Orientation: Landscape
Jailbroken: No
Winit version
0.30.13
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/platform_impl/ios/app_state.rs around line 581 and trace the iOS event-loop path in src/platform_impl/ios/event_loop.rs. Exercise the lifecycle and redraw sequence described, including authentication pause and background/foreground transitions, then verify that it no longer reaches the redraw panic; the issue is done when the reported sequence does not abort the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, rust
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100