Bug 302825 - KMail crashed when changing email identity draft folder after database backend change
Summary: KMail crashed when changing email identity draft folder after database backen...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-01 11:57 UTC by Dennis Schridde
Modified: 2017-01-07 22:04 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 Dennis Schridde 2012-07-01 11:57:57 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.4-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
I changed the Akonadi database backend using the Akonadi KCM module (accessed via akonaditray -> Configure...). Then I started KMail to reconfigure my email identity's special folders. Changing the sent/drafts/templates folder of the first identity worked without issues. When I changed the drafts (or sent? Not 100% sure) folder of the 2nd account, however, KMail crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fab37586780 (LWP 16816))]

Thread 3 (Thread 0x7fab3322b700 (LWP 16817)):
#0  0x00000036b400b984 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000003aca16bda4 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x0000003aca16bec9 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00000036b4007dca in start_thread () from /lib64/libpthread.so.0
#4  0x00000036b38e0e4d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fab32912700 (LWP 16818)):
#0  0x00000036b38d9103 in poll () from /lib64/libc.so.6
#1  0x0000003dbb24733e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x0000003dbb247454 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x0000003a06fa4a36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x0000003a06f750f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x0000003a06f75347 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x0000003a06e7886f in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x0000003a06e7b7db in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00000036b4007dca in start_thread () from /lib64/libpthread.so.0
#9  0x00000036b38e0e4d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fab37586780 (LWP 16816)):
[KCrash Handler]
#6  0x0000003ac3957583 in QRegion::operator=(QRegion const&) () from /usr/lib64/qt4/libQtGui.so.4
#7  0x0000003ac39d68b5 in QWidgetBackingStore::markDirty(QRect const&, QWidget*, bool, bool) () from /usr/lib64/qt4/libQtGui.so.4
#8  0x0000003ac380a0e2 in QWidget::update(QRect const&) () from /usr/lib64/qt4/libQtGui.so.4
#9  0x0000003ac380a183 in QWidget::update() () from /usr/lib64/qt4/libQtGui.so.4
#10 0x0000003ac3818e4c in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x0000003ac37c8b54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#12 0x0000003ac37cd833 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x0000003ac5451506 in KApplication::notify (this=0x7fffd2d03ec0, receiver=0x24d1aa0, event=0x7fffd2d03490) at /var/tmp/portage/kde-base/kdelibs-4.8.4/work/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#14 0x0000003a06f76593 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x0000003ac3818d0f in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x0000003ac37c8b54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x0000003ac37cd833 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x0000003ac5451506 in KApplication::notify (this=0x7fffd2d03ec0, receiver=0x2452660, event=0x7fffd2d03490) at /var/tmp/portage/kde-base/kdelibs-4.8.4/work/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#19 0x0000003a06f76593 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x0000003ac3818d0f in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x0000003ac3baafb6 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x0000003ac37c8b54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x0000003ac37cd833 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x0000003ac5451506 in KApplication::notify (this=0x7fffd2d03ec0, receiver=0x1aa4a30, event=0x7fffd2d03490) at /var/tmp/portage/kde-base/kdelibs-4.8.4/work/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#25 0x0000003a06f76593 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x0000003ac3818d0f in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x0000003ac37c8b54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x0000003ac37cd833 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x0000003ac5451506 in KApplication::notify (this=0x7fffd2d03ec0, receiver=0x245d4f0, event=0x7fffd2d03490) at /var/tmp/portage/kde-base/kdelibs-4.8.4/work/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#30 0x0000003a06f76593 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x0000003ac3818d0f in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x0000003ac37c8b54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x0000003ac37cd833 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#34 0x0000003ac5451506 in KApplication::notify (this=0x7fffd2d03ec0, receiver=0x2415fb0, event=0x7fffd2d03490) at /var/tmp/portage/kde-base/kdelibs-4.8.4/work/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#35 0x0000003a06f76593 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#36 0x0000003ac37cc22d in QApplication::setActiveWindow(QWidget*) () from /usr/lib64/qt4/libQtGui.so.4
#37 0x0000003ac3843073 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#38 0x0000003ac3869ee2 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#39 0x0000003dbb24706a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#40 0x0000003dbb2473a5 in ?? () from /usr/lib64/libglib-2.0.so.0
#41 0x0000003dbb247454 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#42 0x0000003a06fa49db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#43 0x0000003ac3869b7e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#44 0x0000003a06f750f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x0000003a06f75347 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#46 0x0000003a06f7a065 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#47 0x0000000000403709 in main (argc=1, argv=0x7fffd2d044e8) at /var/tmp/portage/kde-base/kontact-4.8.4/work/kontact-4.8.4/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dennis Schridde 2012-07-01 11:59:45 UTC
P.S: I think it happened when I clicked OK after changing all folders. The new settings were also applied, saved and thus preserved through the crash.
Comment 2 Denis Kurz 2016-09-24 19:20:00 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:04:43 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.