gpgol/web / MacOS: Occasional crash when sending / closing composed mail
Open, HighPublic

Assigned To
Authored By
tfry
Wed, Dec 2, 12:12 PM
Subscribers

Description

Probably related to recipient key completion popup.

Backtrace appears to point to lifetime problems: q->eventFilter is called indirectly from d's dtor, then tries to access a function in d.

Event Timeline

tfry triaged this task as High priority.Wed, Dec 2, 12:12 PM
tfry created this task.
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   gpgol-client                  	       0x10441637c AddresseeLineEditPrivate::completionInitialized() const + 12
1   gpgol-client                  	       0x104418108 AddresseeLineEdit::eventFilter(QObject*, QEvent*) + 60
2   QtCore                        	       0x10a274088 QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) + 240
3   QtWidgets                     	       0x10897049c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 84
4   QtWidgets                     	       0x108971618 QApplication::notify(QObject*, QEvent*) + 468
5   QtCore                        	       0x10a274a10 QCoreApplication::sendEvent(QObject*, QEvent*) + 168
6   QtCore                        	       0x10a2bfff8 QObjectPrivate::setParent_helper(QObject*) + 400
7   QtCore                        	       0x10a2bfb94 QObject::~QObject() + 1592
8   gpgol-client                  	       0x10441ecfc AddresseeLineEditPrivate::~AddresseeLineEditPrivate() + 68
9   gpgol-client                  	       0x104419f4c AddresseeLineEditPrivate::~AddresseeLineEditPrivate() + 28
10  gpgol-client                  	       0x104419f78 AddresseeLineEditPrivate::~AddresseeLineEditPrivate() + 28
11  gpgol-client                  	       0x10442bab0 std::__1::default_delete<AddresseeLineEditPrivate>::operator()[abi:nqe210106](AddresseeLineEditPrivate*) const + 52
12  gpgol-client                  	       0x10442ba6c std::__1::unique_ptr<AddresseeLineEditPrivate, std::__1::default_delete<AddresseeLineEditPrivate>>::reset[abi:nqe210106](AddresseeLineEditPrivate*) + 68
13  gpgol-client                  	       0x10442ba18 std::__1::unique_ptr<AddresseeLineEditPrivate, std::__1::default_delete<AddresseeLineEditPrivate>>::~unique_ptr[abi:nqe210106]() + 32
14  gpgol-client                  	       0x104416578 std::__1::unique_ptr<AddresseeLineEditPrivate, std::__1::default_delete<AddresseeLineEditPrivate>>::~unique_ptr[abi:nqe210106]() + 28
15  gpgol-client                  	       0x104416544 AddresseeLineEdit::~AddresseeLineEdit() + 64
16  gpgol-client                  	       0x1042b4870 RecipientLineEdit::~RecipientLineEdit() + 28
17  gpgol-client                  	       0x1042a0924 RecipientLineEdit::~RecipientLineEdit() + 28
18  gpgol-client                  	       0x1042a0950 RecipientLineEdit::~RecipientLineEdit() + 28
19  QtCore                        	       0x10a2bfdb0 QObjectPrivate::deleteChildren() + 152
20  QtWidgets                     	       0x1089aba9c QWidget::~QWidget() + 1180
-------- RECURSION LEVEL 9
21  gpgol-client                  	       0x104520844 KPIM::MultiplyingLine::~MultiplyingLine() + 28
22  gpgol-client                  	       0x1042b48c0 RecipientLineNG::~RecipientLineNG() + 64
23  gpgol-client                  	       0x1042a09e8 RecipientLineNG::~RecipientLineNG() + 28
24  gpgol-client                  	       0x1042a0a14 RecipientLineNG::~RecipientLineNG() + 28
25  QtCore                        	       0x10a2bfdb0 QObjectPrivate::deleteChildren() + 152
26  QtWidgets                     	       0x1089aba9c QWidget::~QWidget() + 1180
-------- RECURSION LEVEL 8
27  QtWidgets                     	       0x1089ac56c QWidget::~QWidget() + 12
28  QtCore                        	       0x10a2bfdb0 QObjectPrivate::deleteChildren() + 152
29  QtWidgets                     	       0x1089aba9c QWidget::~QWidget() + 1180
-------- RECURSION LEVEL 7
--------
-------- ELIDED 3 LEVELS OF RECURSION THROUGH 0x1089aba9c QWidget::~QWidget() + 1180
--------
44  QtWidgets                     	       0x1089ac56c QWidget::~QWidget() + 12
45  QtCore                        	       0x10a2bfdb0 QObjectPrivate::deleteChildren() + 152
46  QtWidgets                     	       0x1089aba9c QWidget::~QWidget() + 1180
-------- RECURSION LEVEL 3
47  QtWidgets                     	       0x108b4c540 QSplitter::~QSplitter() + 12
48  QtCore                        	       0x10a2bfdb0 QObjectPrivate::deleteChildren() + 152
49  QtWidgets                     	       0x1089aba9c QWidget::~QWidget() + 1180
-------- RECURSION LEVEL 2
50  QtWidgets                     	       0x1089ac56c QWidget::~QWidget() + 12
51  QtCore                        	       0x10a2bfdb0 QObjectPrivate::deleteChildren() + 152
52  QtWidgets                     	       0x1089aba9c QWidget::~QWidget() + 1180
-------- RECURSION LEVEL 1
53  libKF6XmlGui.6.31.0.dylib     	       0x10537cc44 KMainWindow::~KMainWindow() + 156
54  libKF6XmlGui.6.31.0.dylib     	       0x1054040f4 KXmlGuiWindow::~KXmlGuiWindow() + 156
55  gpgol-client                  	       0x1042b27f0 ComposerWindow::~ComposerWindow() + 204
56  gpgol-client                  	       0x1042a077c ComposerWindow::~ComposerWindow() + 36
57  gpgol-client                  	       0x1042a07b4 ComposerWindow::~ComposerWindow() + 28
58  QtCore                        	       0x10a2c0bd0 QObject::event(QEvent*) + 724
59  QtWidgets                     	       0x1089be880 QWidget::event(QEvent*) + 3336
60  QtWidgets                     	       0x108ae3960 QMainWindow::event(QEvent*) + 680
61  libKF6XmlGui.6.31.0.dylib     	       0x10537f910 KMainWindow::event(QEvent*) + 864
62  libKF6XmlGui.6.31.0.dylib     	       0x105404244 KXmlGuiWindow::event(QEvent*) + 32
63  QtWidgets                     	       0x108970598 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 336
64  QtWidgets                     	       0x108971618 QApplication::notify(QObject*, QEvent*) + 468
65  QtCore                        	       0x10a2752f0 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 628
66  libqcocoa.dylib               	       0x11299e8ac QCocoaEventDispatcherPrivate::processPostedEvents() + 380
67  libqcocoa.dylib               	       0x11299fb70 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 516
68  CoreFoundation                	       0x1810a0f60 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
69  CoreFoundation                	       0x1810a0ef4 __CFRunLoopDoSource0 + 172
70  CoreFoundation                	       0x1810a0cc4 __CFRunLoopDoSources0 + 332
71  CoreFoundation                	       0x18109f884 __CFRunLoopRun + 820
72  CoreFoundation                	       0x181172264 _CFRunLoopRunSpecificWithOptions + 532
73  HIToolbox                     	       0x18de8b560 RunCurrentEventLoopInMode + 320
74  HIToolbox                     	       0x18de8e8bc ReceiveNextEventCommon + 488
75  HIToolbox                     	       0x18e01814c _BlockUntilNextEventMatchingListInMode + 48
76  AppKit                        	       0x185b823d0 _DPSBlockUntilNextEventMatchingListInMode + 228
77  AppKit                        	       0x1854d6084 _DPSNextEvent + 576
78  AppKit                        	       0x18606b96c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
79  AppKit                        	       0x18606b678 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72
80  AppKit                        	       0x1854c913c -[NSApplication run] + 368
81  libqcocoa.dylib               	       0x11299d430 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2172
82  QtCore                        	       0x10a27dc58 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 576
83  QtCore                        	       0x10a274728 QCoreApplication::exec() + 228
84  gpgol-client                  	       0x104296c5c main + 4836
85  dyld                          	       0x180c184e4 start + 6992