ITADN

App crash on Mac

#2146OpenCarbonSmasher 创建于 17 天前
C
CarbonSmashercommented
### Description User started my app, then was using it for around 10 minutes when it segfaulted. From the stack trace they gave, looks to be a Freya winit event loop issue. ### Steps to Reproduce Not sure, but they were on MacOS ### Expected Behavior Does not crash ### Freya Version 0.4.0/main ### Rust Version 1.92.0 ### OS Version Tahoe Version 26.5.2 ### Additional Context ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: nitro_gui [27081] Path: /Applications/Nitrolaunch.app/Contents/MacOS/nitro_gui Identifier: org.nitrolaunch.gui Version: 0.31.0 (20260808.154416) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: org.nitrolaunch.gui [3108] User ID: 501 Date/Time: 2026-08-09 16:21:16.1162 -0700 Launch Time: 2026-08-09 16:17:47.8244 -0700 Hardware Model: Macmini9,1 OS Version: macOS 26.5.2 (25F84) Release Type: User Crash Reporter Key: 3059C9A6-263A-1C34-FFF1-5DF8A8DF29B0 Incident Identifier: 8D496249-21AE-4045-A95F-21CDAE065D58 Sleep/Wake UUID: 274477DB-618D-4F3A-B713-5F036AF0B2DE Time Awake Since Boot: 260000 seconds Time Since Wake: 7463 seconds System Integrity Protection: enabled Triggered by Thread: 18 tokio-rt-worker Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00001f226d3a1ee0 Exception Codes: 0x0000000000000001, 0x00001f226d3a1ee0 Termination Reason: Namespace SIGNAL, Code 11, Segmentation fault: 11 Terminating Process: exc handler [27081] VM Region Info: 0x1f226d3a1ee0 is not in any region. REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> UNUSED SPACE AT END Thread 0:: main Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x18a0cdc34 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18a0e0574 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x18a0d69c0 mach_msg_overwrite + 480 3 libsystem_kernel.dylib 0x18a0cdfc0 mach_msg + 24 4 CoreFoundation 0x18a1cf0d8 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x18a1cd9c4 __CFRunLoopRun + 1188 6 CoreFoundation 0x18a2a01c4 _CFRunLoopRunSpecificWithOptions + 532 7 HIToolbox 0x196fb3560 RunCurrentEventLoopInMode + 320 8 HIToolbox 0x196fb68bc ReceiveNextEventCommon + 488 9 HIToolbox 0x19714014c _BlockUntilNextEventMatchingListInMode + 48 10 AppKit 0x18eca835c _DPSBlockUntilNextEventMatchingListInMode + 228 11 AppKit 0x18e5fc084 _DPSNextEvent + 576 12 AppKit 0x18f1918b0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 13 AppKit 0x18f1915bc -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72 14 AppKit 0x18e5ef13c -[NSApplication run] + 368 15 nitro_gui 0x1004a5cf4 _RINvMs_NtNtNtCsa4xpESG37Po_5winit13platform_impl5macos13event_handlerNtB5_12EventHandler3setuNCINvNtB7_10event_loop14map_user_eventNtNtCsjQnYWOCfI7K_11freya_winit8renderer11NativeEventNCINvMs4_NtBb_10event_loopINtB35_9EventLoopB25_E7run_appNtB27_13WinitRendererE0E0NCINvMs3_B1y_INtB1y_9EventLoopB25_E13run_on_demandB2W_E0EB29_ + 244 16 nitro_gui 0x1004a9194 _RNvCsjQnYWOCfI7K_11freya_winit6launch + 1576 17 nitro_gui 0x100f0cab4 _RNvCs1hswv84dy4A_9nitro_gui4main + 3212 18 nitro_gui 0x1013a1218 _RINvNtNtCsa9BKTri5B3M_3std3sys9backtrace28___rust_begin_short_backtraceFEuuECs1hswv84dy4A_9nitro_gui + 12 19 nitro_gui 0x1011aab4c _RNCINvNtCsa9BKTri5B3M_3std2rt10lang_startuE0Cs1hswv84dy4A_9nitro_gui + 16 20 nitro_gui 0x101c49c48 _RNvNtCsa9BKTri5B3M_3std2rt19lang_start_internal + 952 21 nitro_gui 0x100f31850 main + 52 22 dyld 0x189d53e00 start + 6992 Thread 1:: tokio-rt-worker 0 libsystem_kernel.dylib 0x18a0d150c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18a112128 _pthread_cond_wait + 980 2 nitro_gui 0x101c94734 _RNvMs1_NtNtNtNtCsboersWSdhRm_5tokio7runtime9scheduler12multi_thread4parkNtB5_5Inner12park_condvar + 476 3 nitro_gui 0x101c81cc0 _RNvMs_NtNtNtNtCsboersWSdhRm_5tokio7runtime9scheduler12multi_thread6workerNtB4_7Context13park_internal + 352 4 nitro_gui 0x101c82a9c _RNvMs_NtNtNtNtCsboersWSdhRm_5tokio7runtime9scheduler12multi_thread6workerNtB4_7Context3run + 2828 5 nitro_gui 0x101c7acbc _RINvMNtNtNtCsboersWSdhRm_5tokio7runtime7context6scopedINtB3_6ScopedNtNtB7_9scheduler7ContextE3setNCNCNvNtNtB15_12multi_thread6worker3run00uEB9_ + 56 6 nitro_gui 0x101c93dfc _RINvNtNtNtCsboersWSdhRm_5tokio7runtime7context7runtime13enter_runtimeNCNvNtNtNtB6_9scheduler12multi_thread6worker3run0uEB8_ + 512 7 nitro_gui 0x101c835d8 _RNvNtNtNtNtCsboersWSdhRm_5tokio7runtime9scheduler12multi_thread6worker3run + 212 8 nitro_gui 0x101c8f314 _RNvXs0_NtNtNtCsboersWSdhRm_5tokio7runtime8blocking4taskINtB5_12BlockingTaskNCNvMNtNtNtB9_9scheduler12multi_thread6workerNtB1g_6Launch6launch0ENtNtNtCsgtPOCBgevO_4core6future6future6Future4pollBb_ + 108 9 nitro_gui 0x101c9b0a4 _RNvMs4_NtNtNtCsboersWSdhRm_5tokio7runtime4task4coreINtB5_4CoreINtNtNtB9_8blocking4task12BlockingTaskNCNvMNtNtNtB9_9scheduler12multi_thread6workerNtB1F_6Launch6launch0ENtNtB13_8schedule16BlockingScheduleE4pollBb_ + 160 10 nitro_gui 0x101c73e7c _RNvMs0_NtNtNtCsboersWSdhRm_5tokio7runtime4task7harnessINtB5_7HarnessINtNtNtB9_8blocking4task12BlockingTaskNCNvMNtNtNtB9_9scheduler12multi_thread6workerNtB1L_6Launch6launch0ENtNtB19_8schedule16BlockingScheduleE4pollBb_ + 168 11 nitro_gui 0x101c77828 _RNvMs5_NtNtNtCsboersWSdhRm_5tokio7runtime8blocking4poolNtB5_5Inner3run + 404 12 nitro_gui 0x101c91870 _RINvNtNtCsa9BKTri5B3M_3std3sys9backtrace28___rust_begin_short_backtraceNCNvMs4_NtNtNtCsboersWSdhRm_5tokio7runtime8blocking4poolNtB1f_7Spawner12spawn_thread0uEB1l_ + 224 13 nitro_gui 0x101c8567c _RNSNvYNCINvNtNtCsa9BKTri5B3M_3std6thread9lifecycle15spawn_uncheckedNCNvMs4_NtNtNtCsboersWSdhRm_5tokio7runtime8blocking4poolNtB1b_7Spawner12spawn_thread0uEs_0INtNtNtCsgtPOCBgevO_4core3ops8function6FnOnceuE9call_once6vtableB1h_ + 96 14 nitro_gui 0x101c522d0 _RNvNvMs0_NtNtNtCsa9BKTri5B3M_3std3sys6thread4unixNtB7_6Thread3new12thread_start + 400 15 libsystem_pthread.dylib 0x18a111c58 _pthread_start + 136 16 libsystem_pthread.dylib 0x18a10cc1c thread_start + 8 Thread 2:: tokio-rt-worker 0 libsystem_kernel.dylib 0x18a0d150c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18a112128 _pthread_cond_wait + 980 2 nitro_gui 0x101c94734 _RNvMs1_NtNtNtNtCsboersWSdhRm_5tokio7runtime9scheduler12multi_thread4parkNtB5_5Inner12park_condvar + 476 3 nitro_gui 0x101c81cc0 _RNvMs_NtNtNtNtCsboersWSdhRm_5tokio7runtime9scheduler12multi_thread6workerNtB4_7Context13park_internal + 352 4 nitro_gui 0x101c82a9c _RNvMs_NtNtNtNtCsboersWSdhRm_5tokio7runtime9scheduler12multi_thread6workerNtB4_7Context3run + 2828 5 nitro_gui 0x101c7acbc _RINvMNtNtNtCsboersWSdhRm_5tokio7runtime7context6scopedINtB3_6ScopedNtNtB7_9scheduler7ContextE3setNCNCNvNtNtB15_12multi_thread6worker3run00uEB9_ + 56 6 nitro_gui 0x101c93dfc _RINvNtNtNtCsboersWSdhRm_5tokio7runtime7context7runtime13enter_runtimeNCNvNtNtNtB6_9scheduler12multi_thread6worker3run0uEB8_ + 512 7 nitro_gui 0x101c835d8 _RNvNtNtNtNtCsboersWSdhRm_5tokio7runtime9scheduler12multi_thread6worker3run + 212 8 nitro_gui 0x101c8f314 _RNvXs0_NtNtNtCsboersWSdhRm_5tokio7runtime8blocking4taskINtB5_12BlockingTaskNCNvMNtNtNtB9_9scheduler12multi_thread6workerNtB1g_6Launch6launch0ENtNtNtCsgtPOCBgevO_4core6future6future6Future4pollBb_ + 108 9 nitro_gui 0x101c9b0a4 _RNvMs4_NtNtNtCsboersWSdhRm_5tokio7runtime4task4coreINtB5_4CoreINtNtNtB9_8blocking4task12BlockingTaskNCNvMNtNtNtB9_9scheduler12multi_thread6workerNtB1F_6Launch6launch0ENtNtB13_8schedule16BlockingScheduleE4pollBb_ + 160... (60 KB left) ```
0 条评论