-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Example apps segfault on macOS when opening spotlight menu #104
Copy link
Copy link
Closed
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedDS - appkitAffects the AppKit/macOS backendAffects the AppKit/macOS backend
Description
godot2:winit jdm$ lldb target/debug/examples/window
(lldb) target create "target/debug/examples/window"
Current executable set to 'target/debug/examples/window' (x86_64).
(lldb) r
Process 18636 launched: '/Users/jdm/src/winit/target/debug/examples/window' (x86_64)
Awakened
Focused(true)
MouseLeft
Awakened
KeyboardInput(Pressed, 55, Some(LWin))
Process 18636 stopped
* thread #1: tid = 0x47bdc, 0xffffea3effffea3e, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xffffea3effffea3e)
frame #0: 0xffffea3effffea3e
error: memory read failed for 0xffffea3effffea00
(lldb) bt
* thread #1: tid = 0x47bdc, 0xffffea3effffea3e, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xffffea3effffea3e)
* frame #0: 0xffffea3effffea3e
frame #1: 0x00007fff8d571043 libunwind.dylib`unwind_phase2_forced + 128
frame #2: 0x00007fff8d570fa4 libunwind.dylib`_Unwind_Resume + 72
frame #3: 0x000000010001554a window`winit::platform::platform::NSEventToEvent(window=0x00007fff5fbff930, nsevent=0x0000000100221050) + 6458 at mod.rs:804
frame #4: 0x00000001000107ae window`winit::platform::platform::{{impl}}::next(self=0x00007fff5fbff7c0) + 846 at mod.rs:254
frame #5: 0x00000001000031bc window`winit::window::{{impl}}::next(self=0x00007fff5fbff7c0) + 44 at window.rs:402
frame #6: 0x000000010000341b window`window::main + 283 at window.rs:14
frame #7: 0x000000010003a53b window`panic_unwind::__rust_maybe_catch_panic + 27 at lib.rs:97
frame #8: 0x0000000100039a07 window`std::rt::lang_start [inlined] std::panicking::try<(),fn()> + 44 at panicking.rs:332
frame #9: 0x00000001000399db window`std::rt::lang_start [inlined] std::panic::catch_unwind<fn(),()> at panic.rs:351
frame #10: 0x00000001000399db window`std::rt::lang_start + 347 at rt.rs:57
frame #11: 0x000000010000379a window`main + 42
frame #12: 0x00007fff94ad75fd libdyld.dylib`start + 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
B - bugDang, that shouldn't have happenedDang, that shouldn't have happenedDS - appkitAffects the AppKit/macOS backendAffects the AppKit/macOS backend