Bug 321625 - KMail crash when switching off tray icon
Summary: KMail crash when switching off tray icon
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 10:05 UTC by Andreas
Modified: 2017-01-07 22:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.74 KB, text/plain)
2014-04-01 05:26 UTC, yo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2013-06-26 10:05:00 UTC
Application: kmail (4.10.3)
KDE Platform Version: 4.10.3 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I had trouble with KMail stalling while trying to load mails from an IMAP folder. I tried fixing this by killing KMail, Kontact, and KWallet. That didn't do the trick though. What finally helped was to switch to offline mode and back to online mode. Mails were loading again.

However, the notification Icon in the systray didn't survive all the killing. I tried "turning it off and on again". I.e. I went to the settings and switched the sys tray icon off. In that moment KMail crashed.

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

Thread 4 (Thread 0x7ff0de897700 (LWP 2359)):
#0  0x00007ff0f8d79964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff0ee4d67c7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007ff0ee4d67f9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007ff0f8d75e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff0faf487dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff0ddf96700 (LWP 2360)):
#0  0x00007ff0f8d78de0 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007ff0f31f4aa1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff0f31b732b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff0f31b79cb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff0f31b7bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ff0fb8d61c6 in QEventDispatcherGlib::processEvents (this=0x7ff0d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ff0fb8a69bf in QEventLoop::processEvents (this=this@entry=0x7ff0ddf95e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff0fb8a6c48 in QEventLoop::exec (this=0x7ff0ddf95e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff0fb7a90c0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007ff0fb7ac09c in QThreadPrivate::start (arg=0x1d82950) at thread/qthread_unix.cpp:338
#10 0x00007ff0f8d75e0f in start_thread () from /lib64/libpthread.so.0
#11 0x00007ff0faf487dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff097fff700 (LWP 2386)):
#0  0x00007ff0faf3b97d in read () from /lib64/libc.so.6
#1  0x00007ff0f31f3e0f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff0f31b7634 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff0f31b7a42 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ff0f31b7bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ff0fb8d61c6 in QEventDispatcherGlib::processEvents (this=0x7ff090007db0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ff0fb8a69bf in QEventLoop::processEvents (this=this@entry=0x7ff097ffedd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff0fb8a6c48 in QEventLoop::exec (this=0x7ff097ffedd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff0fb7a90c0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007ff0fb88717f in QInotifyFileSystemWatcherEngine::run (this=0x1d7c3f0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007ff0fb7ac09c in QThreadPrivate::start (arg=0x1d7c3f0) at thread/qthread_unix.cpp:338
#11 0x00007ff0f8d75e0f in start_thread () from /lib64/libpthread.so.0
#12 0x00007ff0faf487dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff0fdbfd780 (LWP 2351)):
[KCrash Handler]
#5  0x00007ff0fc9af0eb in KMKernel::toggleSystemTray() () from /usr/lib64/libkmailprivate.so.4
#6  0x00007ff0fca00a77 in KMMainWidget::readConfig() () from /usr/lib64/libkmailprivate.so.4
#7  0x00007ff0fca00c79 in KMMainWidget::slotConfigChanged() () from /usr/lib64/libkmailprivate.so.4
#8  0x00007ff0fca022ba in ?? () from /usr/lib64/libkmailprivate.so.4
#9  0x00007ff0fb8bd17f in QMetaObject::activate (sender=0x7fffe4870380, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3548
#10 0x00007ff0fc9b8f8a in ?? () from /usr/lib64/libkmailprivate.so.4
#11 0x00007ff0fb8bd17f in QMetaObject::activate (sender=0x1d92c00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3548
#12 0x00007ff0fb8bd17f in QMetaObject::activate (sender=0x1d92c00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3548
#13 0x00007ff0fd572a37 in KDialog::slotButtonClicked(int) () from /usr/lib64/libkdeui.so.5
#14 0x00007ff0fd572f74 in ?? () from /usr/lib64/libkdeui.so.5
#15 0x00007ff0fb8bd17f in QMetaObject::activate (sender=0x1d57890, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe486ea60) at kernel/qobject.cpp:3548
#16 0x00007ff0fb8c321e in QSignalMapper::mapped (this=this@entry=0x1d57890, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:115
#17 0x00007ff0fb8c3425 in QSignalMapper::map (this=0x1d57890, sender=0x1fc8aa0) at kernel/qsignalmapper.cpp:266
#18 0x00007ff0fb8bd17f in QMetaObject::activate (sender=0x1fc8aa0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe486ebf0) at kernel/qobject.cpp:3548
#19 0x00007ff0fc44a952 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#20 0x00007ff0fc19f29e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x1ef3e00) at widgets/qabstractbutton.cpp:548
#21 0x00007ff0fc19fad0 in QAbstractButtonPrivate::click (this=this@entry=0x1ef3e00) at widgets/qabstractbutton.cpp:541
#22 0x00007ff0fc19fd3c in QAbstractButton::mouseReleaseEvent (this=0x1fc8aa0, e=0x7fffe486f490) at widgets/qabstractbutton.cpp:1123
#23 0x00007ff0fbe35199 in QWidget::event (this=0x1fc8aa0, event=0x7fffe486f490) at kernel/qwidget.cpp:8375
#24 0x00007ff0fbde58bc in QApplicationPrivate::notify_helper (this=this@entry=0x18c2ce0, receiver=receiver@entry=0x1fc8aa0, e=e@entry=0x7fffe486f490) at kernel/qapplication.cpp:4562
#25 0x00007ff0fbdea59b in QApplication::notify (this=<optimized out>, receiver=0x1fc8aa0, e=0x7fffe486f490) at kernel/qapplication.cpp:4105
#26 0x00007ff0fd612146 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#27 0x00007ff0fb8a7c6e in QCoreApplication::notifyInternal (this=0x7fffe4870350, receiver=0x1fc8aa0, event=0x7fffe486f490) at kernel/qcoreapplication.cpp:946
#28 0x00007ff0fbde66fb in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#29 QApplicationPrivate::sendMouseEvent (receiver=0x1fc8aa0, event=0x7fffe486f490, alienWidget=0x1fc8aa0, nativeWidget=0x1d92c00, buttonDown=0x7ff0fc8bb288 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#30 0x00007ff0fbe60ee4 in QETWidget::translateMouseEvent (this=this@entry=0x1d92c00, event=event@entry=0x7fffe486fc00) at kernel/qapplication_x11.cpp:4527
#31 0x00007ff0fbe5fc71 in QApplication::x11ProcessEvent (this=0x7fffe4870350, event=0x7fffe486fc00) at kernel/qapplication_x11.cpp:3650
#32 0x00007ff0fbe85ff2 in x11EventSourceDispatch (s=0x18c5320, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007ff0f31b77d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007ff0f31b7b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007ff0f31b7bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007ff0fb8d61a6 in QEventDispatcherGlib::processEvents (this=0x1861a70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007ff0fbe85c6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007ff0fb8a69bf in QEventLoop::processEvents (this=this@entry=0x7fffe486ffd0, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007ff0fb8a6c48 in QEventLoop::exec (this=0x7fffe486ffd0, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007ff0fb8ab8e8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#41 0x0000000000402e8d in ?? ()
#42 0x00007ff0fae81a15 in __libc_start_main () from /lib64/libc.so.6
#43 0x0000000000403355 in _start ()

Reported using DrKonqi
Comment 1 Laurent Montel 2013-06-26 11:03:04 UTC
Oki will investigate soon.
Comment 2 yo 2014-04-01 05:26:24 UTC
Created attachment 85878 [details]
New crash information added by DrKonqi

kmail (4.13 beta3) on KDE Platform 4.12.95 using Qt 4.8.6

- What I was doing when the application crashed:

I minimized KMail to the system tray when it segfaulted.

-- Backtrace (Reduced):
#6  0x00007fc81020cab3 in KMKernel::toggleSystemTray() () from /usr/lib/libkmailprivate.so.4
#7  0x00007fc81023cdcf in KMMainWidget::readConfig() () from /usr/lib/libkmailprivate.so.4
#8  0x00007fc81023cef9 in KMMainWidget::slotConfigChanged() () from /usr/lib/libkmailprivate.so.4
[...]
#14 0x00007fc810e146f3 in KDialog::applyClicked (this=this@entry=0x1a64d70) at ./kdialog.moc:259
#15 0x00007fc810e14d46 in KDialog::slotButtonClicked (this=0x1a64d70, button=8) at ../../kdeui/dialogs/kdialog.cpp:888
Comment 3 Denis Kurz 2016-09-24 18:00:57 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:02:31 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.