Bug 445028 - kmail frequently crashes after running for a few minutes without any problems
Summary: kmail frequently crashes after running for a few minutes without any problems
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-11-05 15:41 UTC by Tobias Illenseer
Modified: 2021-11-05 15:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Illenseer 2021-11-05 15:41:19 UTC
Application: kmail (5.15.3 (20.08.3))

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.0-9-amd64 x86_64
Windowing system: X11
Distribution: Debian GNU/Linux 11 (bullseye)

-- Information about the crash:
- What I was doing when the application crashed:
nothing, kmail crashes without any interaction

When running from the command line, kmail reports something like

qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 4170, resource id: 180355372, major code: 130 (Unknown), minor code: 3

multiple times before terminating with:

terminate called after throwing an instance of 'Xapian::DatabaseModifiedError'
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f35d0483537 in __GI_abort () at abort.c:79
#6  0x00007f35d06bf7ec in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f35d06ca966 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007f35d06ca9d1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f35d06cac65 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f35c9286492 in GlassTable::set_overwritten (this=this@entry=0x5561dd051920) at /usr/include/c++/10/ext/new_allocator.h:89
#11 0x00007f35c92867ab in GlassTable::block_to_cursor (this=0x5561dd051920, C_=0x5561dd0519e8, j=<optimized out>, n=5184) at ../backends/glass/glass_table.cc:336
#12 0x00007f35c93468f5 in GlassTable::find (this=this@entry=0x5561dd051920, C_=C_@entry=0x5561dd0519e8) at ../backends/glass/glass_table.cc:544
#13 0x00007f35c9346fa1 in GlassTable::get_exact_entry (this=this@entry=0x5561dd051920, key="C136", tag="") at ../backends/glass/glass_table.cc:1483
#14 0x00007f35c93375e7 in GlassPostListTable::get_freqs (this=0x5561dd051920, term=..., termfreq_ptr=0x7ffe0d326ee4, collfreq_ptr=0x0, wdfub_ptr=0x0) at ../backends/glass/glass_postlist.cc:160
#15 0x00007f35c92a09d5 in Xapian::Database::get_termfreq (this=0x7ffe0d326f40, tname="C136") at ../api/omdatabase.cc:332
#16 0x00007f35cf3a0d5c in ?? () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiSearchPIM.so.5
#17 0x00007f35cf3a0eb4 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiSearchPIM.so.5
#18 0x00007f35d9378a49 in CheckIndexingJob::slotCollectionPropertiesFinished (this=0x7f355c044500, job=<optimized out>) at ./src/search/checkindexingjob.cpp:75
#19 0x00007f35d0ad65a6 in QtPrivate::QSlotObjectBase::call (a=0x7ffe0d327250, r=0x7f355c044500, this=0x5561da959710) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x7f355c044c30, signal_index=6, argv=0x7ffe0d327250) at kernel/qobject.cpp:3886
#21 0x00007f35d1acbe7c in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#22 0x00007f35d1acc9a3 in KJob::finishJob(bool) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#23 0x00007f35d0acbff1 in QObject::event (this=0x7f355c044c30, e=0x5561dce43180) at kernel/qobject.cpp:1314
#24 0x00007f35d156215f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f35d0a9ffca in QCoreApplication::notifyInternal2 (receiver=0x7f355c044c30, event=0x5561dce43180) at kernel/qcoreapplication.cpp:1063
#26 0x00007f35d0aa2a01 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5561d92d2180) at kernel/qcoreapplication.cpp:1817
#27 0x00007f35d0af7e93 in postEventSourceDispatch (s=0x5561d945bf90) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f35c9fdbe6b in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f35c9fdc118 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f35c9fdc1cf in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f35d0af751f in QEventDispatcherGlib::processEvents (this=0x5561d9460b00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f35d0a9e98b in QEventLoop::exec (this=this@entry=0x7ffe0d327640, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x00007f35d0aa6c00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00005561d7c5e611 in main (argc=<optimized out>, argv=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:116
[Inferior 1 (process 6743) detached]

The reporter indicates this bug may be a duplicate of or related to bug 432468.

Possible duplicates by query: bug 442897, bug 440777, bug 440257, bug 432468, bug 429344.

Reported using DrKonqi