Bug 357472 - Kmail2 crashing during shutdown of Kmail2
Summary: Kmail2 crashing during shutdown of Kmail2
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-03 16:11 UTC by wodenhof
Modified: 2018-11-03 17:34 UTC (History)
1 user (show)

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 wodenhof 2016-01-03 16:11:19 UTC
Application: kmail (5.1)

Qt Version: 5.5.1
Operating System: Linux 4.1.13-5-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
Happens before Trash is emptied.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc5d2a9e800 (LWP 1942))]

Thread 16 (Thread 0x7fc5ae293700 (LWP 1961)):
#0  0x00007fc5cfac5c1d in poll () from /lib64/libc.so.6
#1  0x00007fc5c2f9f422 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fc5c2fa100f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fc5affbe3c9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fc5d03d432f in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7fc5a7fff700 (LWP 1965)):
#0  0x00007fc5c5d9bcf9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fc5c5d59e4a in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc5c5d59f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc5d0606d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fc5d05add53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc5d03cf61a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc5d03d432f in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7fc5a575f700 (LWP 4219)):
#0  0x00007fc5cfac1ced in read () from /lib64/libc.so.6
#1  0x00007fc5c5d9ab60 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc5c5d59999 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc5c5d59df8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc5c5d59f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fc5d0606d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc5d05add53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc5d03cf61a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007fc5d03d432f in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7fc5a5f60700 (LWP 4222)):
#0  0x00007fc5c5d9bcf9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fc5c5d594b9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc5c5d59d80 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc5c5d59f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc5d0606d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc5d05add53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc5d03cf61a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc5d03d432f in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7fc5a6979700 (LWP 4225)):
#0  0x00007fc5c627a05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc5c0df6733 in ?? () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007fc5c0df6759 in ?? () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fc5a717a700 (LWP 4226)):
#0  0x00007fc5c627a05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc54c4afff3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fc54c4af777 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fc543ac6700 (LWP 4227)):
#0  0x00007fc5c5d9bd14 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fc5c5d598e9 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc5c5d59df8 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc5c5d59f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fc5d0606d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc5d05add53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc5d03cf61a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc5d03d432f in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fc5432c5700 (LWP 4230)):
#0  0x00007fc5cfac5c1d in poll () from /lib64/libc.so.6
#1  0x00007fc5c5d59e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc5c5d59f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc5d0606d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fc5d05add53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc5d03cf61a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc5d03d432f in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fc542ac4700 (LWP 4233)):
#0  0x00007fc5cfac5c1d in poll () from /lib64/libc.so.6
#1  0x00007fc5c5d59e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc5c5d59f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc5d0606d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fc5d05add53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fc5d03cf61a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fc5d03d432f in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fc54112b700 (LWP 4236)):
#0  0x00007fc5c627a05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc5c0b0275d in ?? () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007fc5c0e25031 in ?? () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fc54092a700 (LWP 4237)):
#0  0x00007fc5c627a05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc5c0b03733 in ?? () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007fc5c0e25031 in ?? () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fc53bfff700 (LWP 4238)):
#0  0x00007fc5c627a05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc5c0b03733 in ?? () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007fc5c0e25031 in ?? () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc53b7fe700 (LWP 4239)):
#0  0x00007fc5c627a05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc5c0b03733 in ?? () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007fc5c0e25031 in ?? () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc53affd700 (LWP 4240)):
#0  0x00007fc5c627a05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc5c0b03733 in ?? () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007fc5c0e25031 in ?? () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc53a7fc700 (LWP 4241)):
#0  0x00007fc5c627a05f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc5c0b03733 in ?? () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007fc5c0e25031 in ?? () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007fc5c62760a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc5cface04d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc5d2a9e800 (LWP 1942)):
[KCrash Handler]
#6  size (this=0x10) at /usr/include/qt5/QtCore/qlist.h:105
#7  count (this=0x10) at /usr/include/qt5/QtCore/qlist.h:314
#8  KMail::UndoStack::size (this=0x0) at /usr/src/debug/kdepim-15.12.0/kmail/undostack.cpp:58
#9  0x00007fc5d230f4c0 in KMMainWidget::updateMessageActionsDelayed (this=this@entry=0xe81290) at /usr/src/debug/kdepim-15.12.0/kmail/kmmainwidget.cpp:3849
#10 0x00007fc5d230fd15 in KMMainWidget::updateMessageActions (this=this@entry=0xe81290, fast=fast@entry=false) at /usr/src/debug/kdepim-15.12.0/kmail/kmmainwidget.cpp:3681
#11 0x00007fc5d2321511 in KMMainWidget::setupActions (this=this@entry=0xe81290) at /usr/src/debug/kdepim-15.12.0/kmail/kmmainwidget.cpp:3422
#12 0x00007fc5d23266c5 in KMMainWidget::KMMainWidget (this=0xe81290, parent=<optimized out>, aGUIClient=0xe83b80, actionCollection=0xe45290, config=...) at /usr/src/debug/kdepim-15.12.0/kmail/kmmainwidget.cpp:256
#13 0x00007fc5d22ce4d4 in KMMainWin::KMMainWin (this=0xe83b10, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-15.12.0/kmail/kmmainwin.cpp:61
#14 0x00007fc5d22e1765 in KMKernel::openReader (this=0x7ffe295e86e0, onlyCheck=onlyCheck@entry=false) at /usr/src/debug/kdepim-15.12.0/kmail/kmkernel.cpp:522
#15 0x00007fc5d22e9a30 in KMKernel::action (this=this@entry=0x7ffe295e86e0, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=...) at /usr/src/debug/kdepim-15.12.0/kmail/kmkernel.cpp:1461
#16 0x00007fc5d22eb145 in KMKernel::handleCommandLine (this=0x7ffe295e86e0, noArgsOpensReader=noArgsOpensReader@entry=true, args=..., workingDir=...) at /usr/src/debug/kdepim-15.12.0/kmail/kmkernel.cpp:425
#17 0x0000000000404e63 in KMailApplication::activate (this=0x7ffe295e86c0, args=..., workindDir=...) at /usr/src/debug/kdepim-15.12.0/kmail/main.cpp:95
#18 0x00007fc5d26f7f32 in KontactInterface::PimUniqueApplication::newInstance (this=0x7ffe295e86c0, startupId=..., arguments=..., workingDirectory=...) at /usr/src/debug/kontactinterface-15.12.0/src/pimuniqueapplication.cpp:164
#19 0x00007fc5d26f9132 in KontactInterface::PimUniqueApplication::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffe295e7750) at /usr/src/debug/kontactinterface-15.12.0/build/src/moc_pimuniqueapplication.cpp:84
#20 0x00007fc5d26f94e3 in KontactInterface::PimUniqueApplication::qt_metacall (this=0x7ffe295e86c0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffe295e7750) at /usr/src/debug/kontactinterface-15.12.0/build/src/moc_pimuniqueapplication.cpp:117
#21 0x00007fc5cea9eda4 in ?? () from /usr/lib64/libQt5DBus.so.5
#22 0x00007fc5ceaa3372 in ?? () from /usr/lib64/libQt5DBus.so.5
#23 0x00007fc5ceaa3d22 in ?? () from /usr/lib64/libQt5DBus.so.5
#24 0x00007fc5ceaa592e in ?? () from /usr/lib64/libQt5DBus.so.5
#25 0x00007fc5d05e0ac6 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007fc5d0afe212 in QGuiApplication::event(QEvent*) () from /usr/lib64/libQt5Gui.so.5
#27 0x00007fc5d175312c in QApplication::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007fc5d174fe7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007fc5d1754cc8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007fc5d05afe95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#31 0x00007fc5d05b2057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#32 0x00007fc5d06078f3 in ?? () from /usr/lib64/libQt5Core.so.5
#33 0x00007fc5c5d59c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fc5c5d59ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fc5c5d59f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fc5d0606d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#37 0x00007fc5d05add53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#38 0x00007fc5d139d95e in KJob::exec() () from /usr/lib64/libKF5CoreAddons.so.5
#39 0x00007fc5d22e1e46 in KMKernel::cleanup (this=this@entry=0x7ffe295e86e0) at /usr/src/debug/kdepim-15.12.0/kmail/kmkernel.cpp:1410
#40 0x000000000040452a in main (argc=1, argv=0x7ffe295e88f8) at /usr/src/debug/kdepim-15.12.0/kmail/main.cpp:153

Reported using DrKonqi
Comment 1 wodenhof 2016-01-03 16:25:26 UTC
The popup with the crash-message and invitation to report it comes up during the next _start_ of kmail2, i.e. it is not the same behavior like during the first bug I reported of this type . HTH.
Comment 2 Andrew Crouthamel 2018-11-01 13:55:36 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 wodenhof 2018-11-02 17:43:45 UTC
Well, just who might be responsible for said stagnation? ;)

And who might be using these days

Operating System: Linux 4.1.13-5-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

I certainly don't.

I use tumbleweed nowadays with no problem...

Thank you for waking up ;-p
Comment 4 Andrew Crouthamel 2018-11-02 22:29:19 UTC
(In reply to wodenhof from comment #3)
> Well, just who might be responsible for said stagnation? ;)

I know, I'm just a new contributor, trying to help figure out what is relevant today.

Thanks for the update!
Comment 5 wodenhof 2018-11-03 17:34:50 UTC
That's okay, no slight intended. Keep up the good work, KDE rulez ;-).