Another Crash with SIGSEGV signal on LyX-2.4.0-beta2 (macOS Ventura)
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Sat Jan 28 12:52:42 UTC 2023
Le 28/01/2023 à 03:49, 黃皇男 a écrit :
> To whom it may be concerned:
>
> Machine: Apple Macbook Air 15 Intel
>
> OS:Ventura 13.2
>
>
> I think it happens when OS turn the dark into light mode
Hello,
Huang-Nan: The best solution to get answer is to send your message to
lyx-devel at lists.lyx.org
Others: please keep Huang-Nan in cc:, since he or she is not a member of
the list.
Your second backtrace points to the same issue as the first: the code is
querying the scale factor (Font::GetScaleFactor in the other backtrace
sent to lyx-docs) when drawing a grid-like math formula.
Stephan, any ideas? We do not know at this point whether this is a Qt6
issue or a Ventura issue. Or did you use Qt5?
JMarc
>
> Best regards,
>
> Huang-Nan
>
>
> (1) 1 lyx 0x000000010b1d09ca
> _ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEESA_b : 1 lyx 0x000000010b1d09ca _ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEESA_b + 199
>
> (2) 2 lyx 0x000000010b1d0d3f
> _ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEESA_b : 2 lyx 0x000000010b1d0d3f _ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEESA_b + 135
>
> (3) 3 lyx 0x000000010aeef452 _ZN3lyxL13error_handlerEi : 3 lyx
> 0x000000010aeef452 _ZN3lyxL13error_handlerEi + 351
>
> (4) 4 libsystem_platform.dylib0x00007ff803bf4c1d _sigtramp : 4
> libsystem_platform.dylib0x00007ff803bf4c1d _sigtramp + 29
>
> (5) 5 ??? 0x0000600001aeb7a0 0x0 : 5 ??? 0x0000600001aeb7a0 0x0 +
> 105553144493984
>
> (6) 6 lyx 0x000000010b019cbc
> _ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii : 6 lyx
> 0x000000010b019cbc _ZNK3lyx13InsetMathGrid4drawERNS_11PainterInfoEii + 168
>
> (7) 7 lyx 0x000000010b02559a
> _ZNK3lyx13InsetMathHull4drawERNS_11PainterInfoEii : 7 lyx
> 0x000000010b02559a _ZNK3lyx13InsetMathHull4drawERNS_11PainterInfoEii + 1476
>
> (8) 8 lyx 0x000000010af73075
> _ZNK3lyx10RowPainter10paintInsetERKNS_3Row7ElementE : 8 lyx
> 0x000000010af73075 _ZNK3lyx10RowPainter10paintInsetERKNS_3Row7ElementE + 613
>
> (9) 9 lyx 0x000000010af74a92 _ZN3lyx10RowPainter9paintTextEv : 9 lyx
> 0x000000010af74a92 _ZN3lyx10RowPainter9paintTextEv + 154
>
> ( 10) 10lyx 0x000000010afc2ba3
> _ZNK3lyx11TextMetrics13drawParagraphERNS_11PainterInfoElii : 10lyx
> 0x000000010afc2ba3
> _ZNK3lyx11TextMetrics13drawParagraphERNS_11PainterInfoElii + 2427
>
> ( 11) 11lyx 0x000000010afc7244
> _ZNK3lyx11TextMetrics4drawERNS_11PainterInfoEii : 11lyx
> 0x000000010afc7244 _ZNK3lyx11TextMetrics4drawERNS_11PainterInfoEii + 118
>
> ( 12) 12lyx 0x000000010b1a28cf
> _ZNK3lyx9InsetText4drawERNS_11PainterInfoEii : 12lyx 0x000000010b1a28cf
> _ZNK3lyx9InsetText4drawERNS_11PainterInfoEii + 519
>
> ( 13) 13lyx 0x000000010b0c56f4
> _ZNK3lyx12InsetCaption4drawERNS_11PainterInfoEii : 13lyx
> 0x000000010b0c56f4 _ZNK3lyx12InsetCaption4drawERNS_11PainterInfoEii + 290
>
> ( 14) 14lyx 0x000000010af73075
> _ZNK3lyx10RowPainter10paintInsetERKNS_3Row7ElementE : 14lyx
> 0x000000010af73075 _ZNK3lyx10RowPainter10paintInsetERKNS_3Row7ElementE + 613
>
> ( 15) 15lyx 0x000000010af74a92 _ZN3lyx10RowPainter9paintTextEv : 15lyx
> 0x000000010af74a92 _ZN3lyx10RowPainter9paintTextEv + 154
>
> ( 16) 16lyx 0x000000010afc2ba3
> _ZNK3lyx11TextMetrics13drawParagraphERNS_11PainterInfoElii : 16lyx
> 0x000000010afc2ba3
> _ZNK3lyx11TextMetrics13drawParagraphERNS_11PainterInfoElii + 2427
>
> ( 17) 17lyx 0x000000010afc7244
> _ZNK3lyx11TextMetrics4drawERNS_11PainterInfoEii : 17lyx
> 0x000000010afc7244 _ZNK3lyx11TextMetrics4drawERNS_11PainterInfoEii + 118
>
> ( 18) 18lyx 0x000000010b1a28cf
> _ZNK3lyx9InsetText4drawERNS_11PainterInfoEii : 18lyx 0x000000010b1a28cf
> _ZNK3lyx9InsetText4drawERNS_11PainterInfoEii + 519
>
> ( 19) 19lyx 0x000000010b0d0978
> _ZNK3lyx16InsetCollapsible4drawERNS_11PainterInfoEii : 19lyx
> 0x000000010b0d0978 _ZNK3lyx16InsetCollapsible4drawERNS_11PainterInfoEii
> + 1408
>
> ( 20) 20lyx 0x000000010af73075
> _ZNK3lyx10RowPainter10paintInsetERKNS_3Row7ElementE : 20lyx
> 0x000000010af73075 _ZNK3lyx10RowPainter10paintInsetERKNS_3Row7ElementE + 613
>
> ( 21) 21lyx 0x000000010af74a92 _ZN3lyx10RowPainter9paintTextEv : 21lyx
> 0x000000010af74a92 _ZN3lyx10RowPainter9paintTextEv + 154
>
> ( 22) 22lyx 0x000000010afc2ba3
> _ZNK3lyx11TextMetrics13drawParagraphERNS_11PainterInfoElii : 22lyx
> 0x000000010afc2ba3
> _ZNK3lyx11TextMetrics13drawParagraphERNS_11PainterInfoElii + 2427
>
> ( 23) 23lyx 0x000000010afc7244
> _ZNK3lyx11TextMetrics4drawERNS_11PainterInfoEii : 23lyx
> 0x000000010afc7244 _ZNK3lyx11TextMetrics4drawERNS_11PainterInfoEii + 118
>
> ( 24) 24lyx 0x000000010ae48e63
> _ZN3lyx10BufferView4drawERNS_8frontend7PainterEb : 24lyx
> 0x000000010ae48e63 _ZN3lyx10BufferView4drawERNS_8frontend7PainterEb + 705
>
> ( 25) 25lyx 0x000000010b38f508
> _ZN3lyx8frontend11GuiWorkArea10paintEventEP11QPaintEvent : 25lyx
> 0x000000010b38f508
> _ZN3lyx8frontend11GuiWorkArea10paintEventEP11QPaintEvent + 482
>
> ( 26) 26QtWidgets 0x000000010ccb8ac2 _ZN7QWidget5eventEP6QEvent :
> 26QtWidgets 0x000000010ccb8ac2 _ZN7QWidget5eventEP6QEvent + 1090
>
> ( 27) 27QtWidgets 0x000000010cd5ff2b _ZN6QFrame5eventEP6QEvent :
> 27QtWidgets 0x000000010cd5ff2b _ZN6QFrame5eventEP6QEvent + 43
>
> ( 28) 28QtCore0x000000010c7f0dde
> _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent : 28QtCore0x000000010c7f0dde _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent + 206
>
> ( 29) 29QtWidgets 0x000000010cc7de4b
> _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent : 29QtWidgets
> 0x000000010cc7de4b
> _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 251
>
> ( 30) 30QtWidgets 0x000000010cc7f215
> _ZN12QApplication6notifyEP7QObjectP6QEvent : 30QtWidgets
> 0x000000010cc7f215 _ZN12QApplication6notifyEP7QObjectP6QEvent + 581
>
> ( 31) 31lyx 0x000000010b1e15cb
> _ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent : 31lyx
> 0x000000010b1e15cb
> _ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent + 21
>
> ( 32) 32QtCore0x000000010c7f0b44
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent :
> 32QtCore0x000000010c7f0b44
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
>
> ( 33) 33QtWidgets 0x000000010ccb1b1d
> _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore : 33QtWidgets 0x000000010ccb1b1d _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 2989
>
> ( 34) 34QtWidgets 0x000000010cc8b738 _ZN19QWidgetBackingStore6doSyncEv :
> 34QtWidgets 0x000000010cc8b738 _ZN19QWidgetBackingStore6doSyncEv + 4616
>
> ( 35) 35QtWidgets 0x000000010ccb8ceb _ZN7QWidget5eventEP6QEvent :
> 35QtWidgets 0x000000010ccb8ceb _ZN7QWidget5eventEP6QEvent + 1643
>
> ( 36) 36QtWidgets 0x000000010cdc8304 _ZN11QMainWindow5eventEP6QEvent :
> 36QtWidgets 0x000000010cdc8304 _ZN11QMainWindow5eventEP6QEvent + 276
>
> ( 37) 37QtWidgets 0x000000010cc7de60
> _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent : 37QtWidgets
> 0x000000010cc7de60
> _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
>
> ( 38) 38QtWidgets 0x000000010cc7f215
> _ZN12QApplication6notifyEP7QObjectP6QEvent : 38QtWidgets
> 0x000000010cc7f215 _ZN12QApplication6notifyEP7QObjectP6QEvent + 581
>
> ( 39) 39lyx 0x000000010b1e15cb
> _ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent : 39lyx
> 0x000000010b1e15cb
> _ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent + 21
>
> ( 40) 40QtCore0x000000010c7f0b44
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent :
> 40QtCore0x000000010c7f0b44
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
>
> ( 41) 41QtCore0x000000010c7f1c56
> _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
> : 41QtCore0x000000010c7f1c56
> _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
> + 774
>
> ( 42) 42libqcocoa.dylib 0x000000010c1d9ba2
> _ZN28QCocoaEventDispatcherPrivate19processPostedEventsEv :
> 42libqcocoa.dylib 0x000000010c1d9ba2
> _ZN28QCocoaEventDispatcherPrivate19processPostedEventsEv + 322
>
> ( 43) 43libqcocoa.dylib 0x000000010c1da2a8
> _ZN28QCocoaEventDispatcherPrivate26postedEventsSourceCallbackEPv :
> 43libqcocoa.dylib 0x000000010c1da2a8
> _ZN28QCocoaEventDispatcherPrivate26postedEventsSourceCallbackEPv + 40
>
> ( 44) 44CoreFoundation0x00007ff803ca5b78
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ :
> 44CoreFoundation0x00007ff803ca5b78
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
>
> ( 45) 45CoreFoundation0x00007ff803ca5b27 __CFRunLoopDoSource0 :
> 45CoreFoundation0x00007ff803ca5b27 __CFRunLoopDoSource0 + 157
>
> ( 46) 46CoreFoundation0x00007ff803ca5901 __CFRunLoopDoSources0 :
> 46CoreFoundation0x00007ff803ca5901 __CFRunLoopDoSources0 + 212
>
> ( 47) 47CoreFoundation0x00007ff803ca457b __CFRunLoopRun :
> 47CoreFoundation0x00007ff803ca457b __CFRunLoopRun + 929
>
> ( 48) 48CoreFoundation0x00007ff803ca3b60 CFRunLoopRunSpecific :
> 48CoreFoundation0x00007ff803ca3b60 CFRunLoopRunSpecific + 560
>
> ( 49) 49HIToolbox 0x00007ff80d5f1766 RunCurrentEventLoopInMode :
> 49HIToolbox 0x00007ff80d5f1766 RunCurrentEventLoopInMode + 292
>
> ( 50) 50HIToolbox 0x00007ff80d5f1576 ReceiveNextEventCommon :
> 50HIToolbox 0x00007ff80d5f1576 ReceiveNextEventCommon + 679
>
> ( 51) 51HIToolbox 0x00007ff80d5f12b3
> _BlockUntilNextEventMatchingListInModeWithFilter : 51HIToolbox
> 0x00007ff80d5f12b3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
>
> ( 52) 52AppKit0x00007ff806df4293 _DPSNextEvent :
> 52AppKit0x00007ff806df4293 _DPSNextEvent + 909
>
> ( 53) 53AppKit0x00007ff806df3114 -[NSApplication:
> 53AppKit0x00007ff806df3114 -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
>
> ( 54) 54AppKit0x00007ff806de5757 -[NSApplication run] :
> 54AppKit0x00007ff806de5757 -[NSApplication run] + 586
>
> ( 55) 55libqcocoa.dylib 0x000000010c1d9108
> _ZN21QCocoaEventDispatcher13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE : 55libqcocoa.dylib 0x000000010c1d9108 _ZN21QCocoaEventDispatcher13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 2648
>
> ( 56) 56QtCore0x000000010c7ec28f
> _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE :
> 56QtCore0x000000010c7ec28f
> _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 431
>
> ( 57) 57QtCore0x000000010c7f1192 _ZN16QCoreApplication4execEv :
> 57QtCore0x000000010c7f1192 _ZN16QCoreApplication4execEv + 130
>
> ( 58) 58lyx 0x000000010aeeafae _ZN3lyx3LyX4execERiPPc : 58lyx
> 0x000000010aeeafae _ZN3lyx3LyX4execERiPPc + 934
>
> ( 59) 59lyx 0x000000010adc4f5f main : 59lyx 0x000000010adc4f5f main + 79
>
> ( 60) 60dyld0x00007ff803897310 start : 60dyld0x00007ff803897310 start + 2432
>
>
More information about the lyx-devel
mailing list