-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
If I press a button
$ lldb hello
(lldb) target create "hello"
Current executable set to '/Users/polluks/g/qui/example/hello' (arm64).
(lldb) r
Process 84285 launched: '/Users/polluks/g/qui/example/hello' (arm64)
2023-04-10 23:50:21.039153+0200 hello[84285:1293041] [Window] Warning: Window NSWindow 0x10020c190 ordered front from a non-active application and may order beneath the active application's windows.
2023-04-10 23:50:22.885706+0200 hello[84285:1293041] [hello] CGContextSetTextPosition: invalid context 0x600003705800. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
2023-04-10 23:50:22.885794+0200 hello[84285:1293041] [hello] CGContextGetTextPosition: invalid context 0x600003705800. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
2023-04-10 23:50:22.885814+0200 hello[84285:1293041] [hello] CGContextSetTextPosition: invalid context 0x600003705800. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
2023-04-10 23:50:22.885831+0200 hello[84285:1293041] [hello] CGContextGetTextPosition: invalid context 0x600003705800. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
2023-04-10 23:50:22.885847+0200 hello[84285:1293041] [hello] CGContextSetTextPosition: invalid context 0x600003705800. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Process 84285 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x18f075824)
frame #0: 0x000000018f075824 CoreFoundation`CFEqual + 192
CoreFoundation`CFEqual:
-> 0x18f075824 <+192>: brk #0xc472
0x18f075828 <+196>: orr x9, x16, x9
0x18f07582c <+200>: cbz x9, 0x18f0759e0 ; <+636>
0x18f075830 <+204>: ubfx x10, x10, #8, #10
Target 0: (hello) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x18f075824)
* frame #0: 0x000000018f075824 CoreFoundation`CFEqual + 192
frame #1: 0x0000000190f5b758 CoreText`SetNSFont(CGContext*, void const*) + 108
frame #2: 0x0000000190ffb1f0 CoreText`TAttributes::SetContextAttributes(CGContext*, bool) const + 52
frame #3: 0x0000000190f5b5c8 CoreText`TRun::DrawGlyphs(CGContext*, CFRange) const + 948
frame #4: 0x0000000190f5b008 CoreText`TLine::DrawGlyphs(CGContext*) const + 232
frame #5: 0x0000000100005004 hello`draw_text(ctx=0x0000600000229dc0, font=<unavailable>, text=<unavailable>, pos=<unavailable>) at context.m:188:5 [opt]
frame #6: 0x0000000100005b00 hello`view_draw(v=0x0000600002915420, c=0x0000600000229dc0) at view.c:33:9 [opt]
frame #7: 0x00000001000042f0 hello`-[QUIContentView drawRect:](self=0x0000000100227fc0, _cmd=<unavailable>, dirtyRect=<unavailable>) at QUIContentView.m:47:9 [opt]
frame #8: 0x0000000192421dec AppKit`_NSViewDrawRect + 124
frame #9: 0x0000000192ad2740 AppKit`-[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1088
frame #10: 0x0000000192421660 AppKit`-[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 556
frame #11: 0x00000001965e8604 QuartzCore`CABackingStoreUpdate_ + 224
frame #12: 0x0000000196643198 QuartzCore`invocation function for block in CA::Layer::display_() + 64
frame #13: 0x00000001965e7670 QuartzCore`-[CALayer _display] + 1632
frame #14: 0x0000000192421368 AppKit`-[_NSBackingLayer display] + 352
frame #15: 0x00000001923b2e30 AppKit`-[_NSViewBackingLayer display] + 532
frame #16: 0x00000001965e6800 QuartzCore`CA::Layer::display_if_needed(CA::Transaction*) + 760
frame #17: 0x0000000196759e30 QuartzCore`CA::Context::commit_transaction(CA::Transaction*, double, double*) + 456
frame #18: 0x00000001965c900c QuartzCore`CA::Transaction::commit() + 648
frame #19: 0x0000000192430e50 AppKit`__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272
frame #20: 0x0000000192b0cfbc AppKit`___NSRunLoopObserverCreateWithHandler_block_invoke + 64
frame #21: 0x000000018f0e9a94 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
frame #22: 0x000000018f0e9980 CoreFoundation`__CFRunLoopDoObservers + 532
frame #23: 0x000000018f0e8fb8 CoreFoundation`__CFRunLoopRun + 776
frame #24: 0x000000018f0e855c CoreFoundation`CFRunLoopRunSpecific + 612
frame #25: 0x0000000198a1edf4 HIToolbox`RunCurrentEventLoopInMode + 292
frame #26: 0x0000000198a1ea84 HIToolbox`ReceiveNextEventCommon + 220
frame #27: 0x0000000198a1e988 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 76
frame #28: 0x0000000192307f58 AppKit`_DPSNextEvent + 636
frame #29: 0x00000001923070f4 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
frame #30: 0x00000001922fb558 AppKit`-[NSApplication run] + 464
frame #31: 0x00000001000041a8 hello`qu_main(argc=<unavailable>, argv=<unavailable>, init=(hello`app_init_cb at hello.c:10)) at main.m:10:5 [opt]
frame #32: 0x000000018ecb3f28 dyld`start + 2236
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels