Hi,

I cannot find the mail with the question anymore: does application shutdown on 
Mac work after commit ???

The answer is no. But I cannot say if it was ok before.

The backtrace is at the end of this mail.

Stephan

(lldb) bt
* thread #1: tid = 0xbef7, 0x00007fff8b5d2212 
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', 
stop reason = signal SIGABRT
    frame #0: 0x00007fff8b5d2212 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff86916b24 libsystem_c.dylib`pthread_kill + 90
    frame #2: 0x00007fff8695af61 libsystem_c.dylib`abort + 143
  * frame #3: 0x0000000100235c32 LyX`lyx::lyx_exit(exit_code=1) + 34 at 
LyX.cpp:245
    frame #4: 0x00000001003547da 
LyX`boost::assertion_failed(expr=0x0000000100bb4266, 
function=0x0000000100bf3572, file=0x0000000100bf3598, line=44) + 186 at 
boost.cpp:47
    frame #5: 0x00000001009883a0 LyX`lyx::doAssertWithCallstack(value=false) + 
80 at lassert.cpp:44
    frame #6: 0x0000000100989570 LyX`lyx::doAppErr(expr=0x0000000100bde85b, 
file=0x0000000100bdd6cb, line=2738) + 112 at lassert.cpp:92
    frame #7: 0x000000010064a9b2 
LyX`lyx::frontend::GuiApplication::unregisterView(this=0x0000000103949790, 
gv=0x000000010514ad30) + 114 at GuiApplication.cpp:2738
    frame #8: 0x0000000100880eb6 
LyX`lyx::frontend::GuiView::closeEvent(this=0x000000010514ad30, 
close_event=0x00007fff5fbfdce8) + 710 at GuiView.cpp:994
    frame #9: 0x0000000102fe8d6c QtWidgets`QWidget::event(QEvent*) + 2236
    frame #10: 0x00000001030e5001 QtWidgets`QMainWindow::event(QEvent*) + 929
    frame #11: 0x0000000100883087 
LyX`lyx::frontend::GuiView::event(this=0x000000010514ad30, 
e=0x00007fff5fbfdce8) + 887 at GuiView.cpp:1312
    frame #12: 0x0000000102fa9cac 
QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 252
    frame #13: 0x0000000102fad0c4 QtWidgets`QApplication::notify(QObject*, 
QEvent*) + 8404
    frame #14: 0x000000010064980f 
LyX`lyx::frontend::GuiApplication::notify(this=0x0000000103949790, 
receiver=0x000000010514ad30, event=0x00007fff5fbfdce8) + 63 at 
GuiApplication.cpp:2597
    frame #15: 0x0000000102239693 
QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
    frame #16: 0x0000000102fd87a1 
QtWidgets`QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) + 193
    frame #17: 0x0000000103002f55 QtWidgets`QWidgetWindow::event(QEvent*) + 773
    frame #18: 0x0000000102fa9cac 
QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 252
    frame #19: 0x0000000102fad0c4 QtWidgets`QApplication::notify(QObject*, 
QEvent*) + 8404
    frame #20: 0x000000010064980f 
LyX`lyx::frontend::GuiApplication::notify(this=0x0000000103949790, 
receiver=0x0000000103e990f0, event=0x00007fff5fbfe300) + 63 at 
GuiApplication.cpp:2597
    frame #21: 0x0000000102239693 
QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
    frame #22: 0x0000000102615ced 
QtGui`QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*)
 + 109
    frame #23: 0x00000001026119dd 
QtGui`QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
 + 541
    frame #24: 0x00000001025ff0da 
QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
 + 346
    frame #25: 0x00000001025fd1d1 
QtGui`QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
 + 673
    frame #26: 0x000000010261ee97 QtGui`QWindow::close() + 55
    frame #27: 0x00000001055a5648 libqcocoa.dylib`-[QCocoaApplicationDelegate 
applicationShouldTerminate:] + 248
    frame #28: 0x00007fff8db52e8f AppKit`-[NSApplication 
_docController:shouldTerminate:] + 75
    frame #29: 0x00007fff8db52d9e AppKit`__91-[NSDocumentController(NSInternal) 
_closeAllDocumentsWithDelegate:shouldTerminateSelector:]_block_invoke_0 + 159
    frame #30: 0x00007fff8db52c3a AppKit`-[NSDocumentController(NSInternal) 
_closeAllDocumentsWithDelegate:shouldTerminateSelector:] + 1557
    frame #31: 0x00007fff8db525fe AppKit`-[NSDocumentController(NSInternal) 
__closeAllDocumentsWithDelegate:shouldTerminateSelector:] + 265
    frame #32: 0x00007fff8db524cf AppKit`-[NSApplication _shouldTerminate] + 772
    frame #33: 0x00007fff8db51737 AppKit`-[NSApplication terminate:] + 791
    frame #34: 0x00007fff8b6a305b Foundation`-[NSAppleEventManager 
dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
    frame #35: 0x00007fff8b6a2ebd Foundation`_NSAppleEventManagerGenericHandler 
+ 106
    frame #36: 0x00007fff85ab1e68 AE`aeDispatchAppleEvent(AEDesc const*, 
AEDesc*, unsigned int, unsigned char*) + 307
    frame #37: 0x00007fff85ab1cc9 AE`dispatchEventAndSendReply(AEDesc const*, 
AEDesc*) + 37
    frame #38: 0x00007fff85ab1b89 AE`aeProcessAppleEvent + 318
    frame #39: 0x00007fff8cfdf709 HIToolbox`AEProcessAppleEvent + 100
    frame #40: 0x00007fff8d92b836 AppKit`_DPSNextEvent + 1456
    frame #41: 0x00007fff8d92adf2 AppKit`-[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
    frame #42: 0x00007fff8d9221a3 AppKit`-[NSApplication run] + 517
    frame #43: 0x00000001055a2d55 
libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
 + 2165
    frame #44: 0x0000000102236c9d 
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
    frame #45: 0x0000000102239c6a QtCore`QCoreApplication::exec() + 346
    frame #46: 0x0000000100647e79 
LyX`lyx::frontend::GuiApplication::exec(this=0x0000000103949790) + 57 at 
GuiApplication.cpp:2392
    frame #47: 0x0000000100647e9c LyX`non-virtual thunk to 
lyx::frontend::GuiApplication::exec(this=0x00000001039497a0) + 28 at 
GuiApplication.cpp:2393
    frame #48: 0x0000000100236741 LyX`lyx::LyX::exec(this=0x00007fff5fbff8b0, 
argc=0x00007fff5fbff8c8, argv=0x00007fff5fbff8f8) + 1841 at LyX.cpp:359
    frame #49: 0x000000010037e5c6 LyX`main(argc=1, argv=0x00007fff5fbff8f8) + 
86 at main.cpp:42

Reply via email to