[LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

Stephan Witt st.witt at gmx.net
Sun Mar 7 17:48:12 UTC 2021


Am 07.03.2021 um 18:24 schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> 
> Am Sonntag, dem 07.03.2021 um 17:55 +0100 schrieb Jürgen Spitzmüller:
>> But I'll implement another lfun along this way.
> 
> Done.
> 
> Jürgen

Thanks.

Is this crash related? Hard to say…

(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff6dc5d2c2 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x0000000105abe80d libsystem_pthread.dylib`pthread_kill + 284
    frame #2: 0x00007fff6dbc76a6 libsystem_c.dylib`abort + 127
  * frame #3: 0x000000010039d8ff LyX`lyx::lyx_exit(exit_code=1) at LyX.cpp:272:2
    frame #4: 0x0000000100be9918 LyX`lyx::frontend::GuiApplication::notify(this=0x0000000107b417d0, receiver=0x0000000126c6cd90, event=0x00007ffeefbfce10) at GuiApplication.cpp:2946:3
    frame #5: 0x00000001055bdb44 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
    frame #6: 0x0000000104812b1d QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2989
    frame #7: 0x00000001047ec738 QtWidgets`QWidgetBackingStore::doSync() + 4616
    frame #8: 0x0000000104819ceb QtWidgets`QWidget::event(QEvent*) + 1643
    frame #9: 0x0000000104929304 QtWidgets`QMainWindow::event(QEvent*) + 276
    frame #10: 0x0000000100f0b051 LyX`lyx::frontend::GuiView::event(this=0x000000012441ab60, e=0x00000001078c7d50) at GuiView.cpp:1533:23
    frame #11: 0x00000001047dee60 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 272
    frame #12: 0x00000001047e0215 QtWidgets`QApplication::notify(QObject*, QEvent*) + 581
    frame #13: 0x0000000100be9763 LyX`lyx::frontend::GuiApplication::notify(this=0x0000000107b417d0, receiver=0x000000012441ab60, event=0x00000001078c7d50) at GuiApplication.cpp:2907:24
    frame #14: 0x00000001055bdb44 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
    frame #15: 0x00000001055bec56 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 774
    frame #16: 0x0000000107cbeba2 libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 322
    frame #17: 0x0000000107cbf2a8 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40
    frame #18: 0x00007fff41b5ad13 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #19: 0x00007fff41b5acb9 CoreFoundation`__CFRunLoopDoSource0 + 108
    frame #20: 0x00007fff41b3e5af CoreFoundation`__CFRunLoopDoSources0 + 195
    frame #21: 0x00007fff41b3db79 CoreFoundation`__CFRunLoopRun + 1189
    frame #22: 0x00007fff41b3d482 CoreFoundation`CFRunLoopRunSpecific + 455
    frame #23: 0x00007fff40d9c1ab HIToolbox`RunCurrentEventLoopInMode + 292
    frame #24: 0x00007fff40d9bee5 HIToolbox`ReceiveNextEventCommon + 603
    frame #25: 0x00007fff40d9bc76 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame #26: 0x00007fff3f13377d AppKit`_DPSNextEvent + 1135
    frame #27: 0x00007fff3f13246b AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
    frame #28: 0x00007fff3f12c588 AppKit`-[NSApplication run] + 699
    frame #29: 0x0000000107cbe108 libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2648
    frame #30: 0x00000001055b928f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    frame #31: 0x00000001055be192 QtCore`QCoreApplication::exec() + 130
    frame #32: 0x0000000100be7b36 LyX`lyx::frontend::GuiApplication::exec(this=0x0000000107b417d0) at GuiApplication.cpp:2666:9
    frame #33: 0x000000010039e512 LyX`lyx::LyX::exec(this=0x00007ffeefbff390, argc=0x00007ffeefbff3a8, argv=0x00007ffeefbff3d0) at LyX.cpp:397:39
    frame #34: 0x00000001006179d6 LyX`main(argc=1, argv=0x00007ffeefbff3d0) at main.cpp:42:26
    frame #35: 0x00007fff6db223d5 libdyld.dylib`start + 1
(lldb) 

To reproduce I do:

1. Open the attached document.
2. Remove the second unrrund.
3. Navigate and type some text. Boom.

Stephan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Spellcheck-1.lyx
Type: application/octet-stream
Size: 2020 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210307/5448f552/attachment-0001.obj>


More information about the lyx-devel mailing list