Bug 165453 - Pre-commands are broken
Summary: Pre-commands are broken
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.52
Platform: openSUSE Linux
: HI crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 01:02 UTC by auxsvr
Modified: 2009-01-09 12:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace (2.67 KB, text/plain)
2008-07-01 01:03 UTC, auxsvr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description auxsvr 2008-07-01 01:02:28 UTC
Version:           1.9.52 (using KDE 4.0.83)
Installed from:    SuSE RPMs
Compiler:          gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) 
OS:                Linux

For some reason a check with a pre-command hangs, and when I close kontact with the check pending, kontact crashes.
Comment 1 auxsvr 2008-07-01 01:03:14 UTC
Created attachment 25749 [details]
Backtrace
Comment 2 Bram Schoenmakers 2008-07-01 01:24:15 UTC
Please paste backtraces in the description, this makes identifying duplicate bugs easier for us.

Application: Kontact (kontact), signal SIGSEGV
 [?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb51c36d0 (LWP 7545)]
[New Thread 0xb05c6b90 (LWP 7592)]
[New Thread 0xb0fe7b90 (LWP 7562)]
[KCrash handler]
#6  0xb1680f39 in KMFolder::close () from /usr/lib/libkmailprivate.so.4
#7  0xb16c6dcf in KMAcctLocal::postProcess ()
   from /usr/lib/libkmailprivate.so.4
#8  0xb16c8388 in KMAcctLocal::processNewMail ()
   from /usr/lib/libkmailprivate.so.4
#9  0xb16bfc49 in KMail::AccountManager::processNextCheck ()
   from /usr/lib/libkmailprivate.so.4
#10 0xb16c011f in KMail::AccountManager::singleCheckMail ()
   from /usr/lib/libkmailprivate.so.4
#11 0xb16c038c in KMail::AccountManager::checkMail ()
   from /usr/lib/libkmailprivate.so.4
#12 0xb1851898 in KMMainWidget::slotCheckMail ()
   from /usr/lib/libkmailprivate.so.4
#13 0xb18779ac in KMMainWidget::qt_metacall ()
   from /usr/lib/libkmailprivate.so.4
#14 0xb6bba45a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6bba750 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb5b208db in QAction::activated () from /usr/lib/libQtGui.so.4
#17 0xb5b212c8 in QAction::activate () from /usr/lib/libQtGui.so.4
#18 0xb5ee6222 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#19 0xb5e1c603 in QAbstractButtonPrivate::click () from /usr/lib/libQtGui.so.4
#20 0xb5e1c8a6 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#21 0xb5ee66bc in QToolButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#22 0xb5b78176 in QWidget::event () from /usr/lib/libQtGui.so.4
#23 0xb5e1b72e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#24 0xb5ee61e4 in QToolButton::event () from /usr/lib/libQtGui.so.4
#25 0xb5b25ecc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#26 0xb5b2cca7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb721706d in KApplication::notify () from /usr/lib/libkdeui.so.5
#28 0xb6ba8bc1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#29 0xb5b2dfae in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#30 0xb5b8b1e8 in QETWidget::translateMouseEvent () from /usr/lib/libQtGui.so.4
#31 0xb5b8a5a4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#32 0xb5bb03ae in QEventDispatcherX11::processEvents ()
   from /usr/lib/libQtGui.so.4
#33 0xb6ba733a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0xb6ba74fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0xb6ba96dd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0xb5b25d47 in QApplication::exec () from /usr/lib/libQtGui.so.4
#37 0x0804c113 in main ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 3 Bram Schoenmakers 2008-07-01 01:29:54 UTC
Could you also try to improve the backtrace, please? http://techbase.kde.org/index.php?title=Development/Tutorials/Debugging/How_to_create_useful_crash_reports tells you all about it.
Comment 4 auxsvr 2008-07-01 15:24:21 UTC
What do you mean by "improve the backtrace"? Get a backtrace from gdb or valgrind? I'm afraid I cannot reproduce this at the moment.
Comment 5 Thomas McGuire 2008-07-03 13:29:08 UTC
I think precommands in KMail trunk are completely broken at the moment...
Comment 6 Thomas McGuire 2008-07-20 14:21:24 UTC
I fixed precommands recently, it should work with KDE 4.1
Comment 7 auxsvr 2008-07-23 15:03:47 UTC
It works fine now, thanks!
Comment 8 auxsvr 2008-07-23 17:04:13 UTC
Well, I spoke too soon, it works for a while, then crashes. Here's the backtrace:

Application: Kontact (kontact), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb51df6d0 (LWP 27924)]
[New Thread 0xb129fb90 (LWP 27950)]
[KCrash handler]
#6  QEventLoop::exec (this=0x86c5d28, flags={i = -1080223612})
    at ../../include/QtCore/../../src/corelib/tools/qvector.h:127
#7  0xb186858c in KMAccount::runPrecommand (this=0x8428758, 
    precommand=@0x842876c)
    at /usr/src/debug/kdepim-4.0.99/kmail/kmaccount.cpp:396
#8  0xb1911020 in KMAcctLocal::preProcess (this=0x8428758)
    at /usr/src/debug/kdepim-4.0.99/kmail/kmacctlocal.cpp:135
#9  0xb1911820 in KMAcctLocal::processNewMail (this=0x8428758)
    at /usr/src/debug/kdepim-4.0.99/kmail/kmacctlocal.cpp:71
#10 0xb1909149 in KMail::AccountManager::processNextCheck (this=0x83eee78, 
    _newMail=false)
    at /usr/src/debug/kdepim-4.0.99/kmail/accountmanager.cpp:216
#11 0xb190961f in KMail::AccountManager::singleCheckMail (this=0x83eee78, 
    account=0x1, interactive=true)
    at /usr/src/debug/kdepim-4.0.99/kmail/accountmanager.cpp:143
#12 0xb190988c in KMail::AccountManager::checkMail (this=0x83eee78, 
    _interactive=true)
    at /usr/src/debug/kdepim-4.0.99/kmail/accountmanager.cpp:334
#13 0xb1a9c658 in KMMainWidget::slotCheckMail (this=0x84e83d0)
    at /usr/src/debug/kdepim-4.0.99/kmail/kmmainwidget.cpp:1005
#14 0xb1ac26ac in KMMainWidget::qt_metacall (this=0x84e83d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf9d1b98)
    at /usr/src/debug/kdepim-4.0.99/build/kmail/kmmainwidget.moc:322
#15 0xb6bce3fa in QMetaObject::activate (sender=0x85efa48, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3007
#16 0xb6bce972 in QMetaObject::activate (sender=0x85efa48, m=0xb6c57a08, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#17 0xb6bd5547 in QSingleShotTimer::timeout (this=0x85efa48)
    at .moc/release-shared/qtimer.moc:74
#18 0xb6bd566c in QSingleShotTimer::timerEvent (this=0x85efa48)
    at kernel/qtimer.cpp:300
#19 0xb6bcad1f in QObject::event (this=0x85efa48, e=0xbf9d203c)
    at kernel/qobject.cpp:1105
#20 0xb5b40ecc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#21 0xb5b4731e in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb7225c5d in KApplication::notify (this=0xbf9d23e8, receiver=0x85efa48, 
    event=0xbf9d203c)
    at /usr/src/debug/kdelibs-4.0.99/kdeui/kernel/kapplication.cpp:311
#23 0xb6bbcb51 in QCoreApplication::notifyInternal (this=0xbf9d23e8, 
    receiver=0x85efa48, event=0xbf9d203c) at kernel/qcoreapplication.cpp:583
#24 0xb6be5181 in QTimerInfoList::activateTimers (this=0x8062b5c)
    at kernel/qcoreapplication.h:215
#25 0xb6be53fb in QEventDispatcherUNIX::processEvents (this=0x805a720, flags=
      {i = -1080221384}) at kernel/qeventdispatcher_unix.cpp:899
#26 0xb5bcb0a2 in ?? () from /usr/lib/libQtGui.so.4
#27 0xb6bbb2ca in QEventLoop::processEvents (this=0xbf9d2360, flags=
      {i = -1080220872}) at kernel/qeventloop.cpp:149
#28 0xb6bbb48a in QEventLoop::exec (this=0xbf9d2360, flags={i = -1080220824})
    at kernel/qeventloop.cpp:196
#29 0xb6bbd66d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#30 0xb5b40d47 in QApplication::exec () from /usr/lib/libQtGui.so.4
#31 0x0804c17f in main (argc=1, argv=0xbf9d26e4)
    at /usr/src/debug/kdepim-4.0.99/kontact/src/main.cpp:218
#0  0xffffe430 in __kernel_vsyscall ()
Comment 9 Thomas McGuire 2008-07-24 22:00:37 UTC
SVN commit 837489 by tmcguire:

Don't delete the precommand event loop from within itself.
Event loops are Evil.

This should fix precommands yet again (I hope).

BUG: 165453


 M  +8 -4      kmaccount.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=837489
Comment 10 Thomas McGuire 2008-07-26 01:52:31 UTC
SVN commit 837905 by tmcguire:

Backport r837489 by tmcguire to the 4.1 branch:

Don't delete the precommand event loop from within itself.
Event loops are Evil.

This should fix precommands yet again (I hope).

CCBUG: 165453



 M  +8 -4      kmaccount.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=837905
Comment 11 auxsvr 2008-10-01 09:32:17 UTC
I've had ~2 crashes the last two months related to precommands. I got an error when it executed the precommand, then it crashed as I was reading akregator feeds. Here's the backtrace:

Application: Kontact (kontact), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb4e39920 (LWP 5337)]
[New Thread 0xb0ea3b90 (LWP 5342)]
[KCrash handler]
#6  QEventLoop::exec (this=0x9279560, flags={i = -1077556556})
    at ../../include/QtCore/../../src/corelib/tools/qvector.h:127
#7  0xb14be714 in KMAccount::runPrecommand (this=0x848dcc0, 
    precommand=@0x848dcd4)
    at /usr/src/debug/kdepim-4.1.1/kmail/kmaccount.cpp:407
#8  0xb15686d0 in KMAcctLocal::preProcess (this=0x848dcc0)
    at /usr/src/debug/kdepim-4.1.1/kmail/kmacctlocal.cpp:135
#9  0xb1568ee0 in KMAcctLocal::processNewMail (this=0x848dcc0)
    at /usr/src/debug/kdepim-4.1.1/kmail/kmacctlocal.cpp:71
#10 0xb15607dc in KMail::AccountManager::processNextCheck (this=0x8482ae8, 
    _newMail=false) at /usr/src/debug/kdepim-4.1.1/kmail/accountmanager.cpp:222
#11 0xb1560cc3 in KMail::AccountManager::singleCheckMail (this=0x8482ae8, 
    account=0x1, interactive=false)
    at /usr/src/debug/kdepim-4.1.1/kmail/accountmanager.cpp:149
#12 0xb14bb1be in KMAccount::mailCheck (this=0x848dcc0)
    at /usr/src/debug/kdepim-4.1.1/kmail/kmaccount.cpp:445
#13 0xb14bb713 in KMAccount::qt_metacall (this=0x848dcc0, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc5cd58)
    at /usr/src/debug/kdepim-4.1.1/build/kmail/kmaccount.moc:144
#14 0xb6b0e730 in QMetaObject::activate (sender=0x8439f08, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3037
#15 0xb6b0f4b2 in QMetaObject::activate (sender=0x8439f08, m=0xb6bdd904, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3107
#16 0xb6b49bb7 in QTimer::timeout (this=0x8439f08)
    at .moc/release-shared/moc_qtimer.cpp:126
#17 0xb6b151ce in QTimer::timerEvent (this=0x8439f08, e=0xbfc5d220)
    at kernel/qtimer.cpp:263
#18 0xb6b091ef in QObject::event (this=0x8439f08, e=0xbfc5d220)
    at kernel/qobject.cpp:1126
#19 0xb582dbcc in QApplicationPrivate::notify_helper (this=0x8062420, 
    receiver=0x8439f08, e=0xbfc5d220) at kernel/qapplication.cpp:3809
#20 0xb5835a6e in QApplication::notify (this=0xbfc5d4f8, receiver=0x8439f08, 
    e=0xbfc5d220) at kernel/qapplication.cpp:3399
#21 0xb7197e0d in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0xb6af9a61 in QCoreApplication::notifyInternal (this=0xbfc5d4f8, 
    receiver=0xbfc5d4f8, event=0xbfc5d220) at kernel/qcoreapplication.cpp:593
#23 0xb6b27dd6 in QTimerInfoList::activateTimers (this=0x806528c)
    at kernel/qcoreapplication.h:215
#24 0xb6b242a0 in timerSourceDispatch (source=0x8065258)
    at kernel/qeventdispatcher_glib.cpp:166
#25 0xb520f2d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb521285b in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb52129d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb6b241f8 in QEventDispatcherGlib::processEvents (this=0x8062518, flags=
      {i = -1077554232}) at kernel/qeventdispatcher_glib.cpp:325
#29 0xb58c6c25 in QGuiEventDispatcherGlib::processEvents (this=0x8062518, 
    flags={i = -1077554184}) at kernel/qguieventdispatcher_glib.cpp:204
#30 0xb6af813a in QEventLoop::processEvents (this=0xbfc5d470, flags=
      {i = -1077554120}) at kernel/qeventloop.cpp:149
#31 0xb6af82fa in QEventLoop::exec (this=0xbfc5d470, flags={i = -1077554056})
    at kernel/qeventloop.cpp:200
#32 0xb6afa995 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#33 0xb582da47 in QApplication::exec () at kernel/qapplication.cpp:3337
#34 0x0804c17f in main (argc=1, argv=0xbfc5d7f4)
    at /usr/src/debug/kdepim-4.1.1/kontact/src/main.cpp:218
#0  0xffffe430 in __kernel_vsyscall ()
Comment 12 auxsvr 2008-10-17 10:30:03 UTC
It has crashed again twice so far with a similar backtrace, I think that running a precommand and clicking with the mouse in akregator, for example, triggers this, though not reliably.
Comment 13 auxsvr 2008-11-18 13:02:58 UTC
A crash when I exited kontact, using KDE 4.1.3:

Application: Kontact (kontact), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb4cef6d0 (LWP 5154)]
[New Thread 0xb0beeb90 (LWP 5171)]
[KCrash handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb532a900 in raise () from /lib/libc.so.6
#8  0xb532c238 in abort () from /lib/libc.so.6
#9  0xb536610d in ?? () from /lib/libc.so.6
#10 0xb536bfc4 in ?? () from /lib/libc.so.6
#11 0xb536d95c in free () from /lib/libc.so.6
#12 0xb5530ad1 in operator delete () from /usr/lib/libstdc++.so.6
#13 0xb137337d in ~KMPrecommand (this=0x0)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmaccount.cpp:61
#14 0xb69bdd7f in QObjectPrivate::deleteChildren (this=0x85777a8)
    at kernel/qobject.cpp:1884
#15 0xb69c6913 in ~QObject (this=0x85779f8) at kernel/qobject.cpp:884
#16 0xb137394e in ~KMAccount (this=0x85779f8)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmaccount.cpp:121
#17 0xb141e3d7 in ~KMAcctLocal (this=0x85779f8)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmacctlocal.cpp:40
#18 0xb1416f4e in ~AccountManager (this=0x84aab30)
    at /usr/include/QtCore/qalgorithms.h:346
#19 0xb14e87ce in KMKernel::cleanup (this=0x82219a0)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmkernel.cpp:1683
#20 0xb1b07b52 in ~KMailPart (this=0x82d0f78)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmail_part.cpp:138
#21 0xb7e801ae in ~MainWindow (this=0x80a5968)
    at /usr/src/debug/kdepim-4.1.3/kontact/src/mainwindow.cpp:252
#22 0xb69bda6c in qDeleteInEventHandler (o=0x6) at kernel/qobject.cpp:3659
#23 0xb69bf46b in QObject::event (this=0x80a5968, e=0x9a9c100)
    at kernel/qobject.cpp:1139
#24 0xb57370f4 in QWidget::event (this=0x80a5968, event=0x9a9c100)
    at kernel/qwidget.cpp:7551
#25 0xb5a8b347 in QMainWindow::event (this=0x80a5968, event=0x9a9c100)
    at widgets/qmainwindow.cpp:1268
#26 0xb7112a88 in KMainWindow::event (this=0x80a5968, ev=0x9a9c100)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/widgets/kmainwindow.cpp:1073
#27 0xb71540cc in KXmlGuiWindow::event (this=0x80a5968, ev=0x9a9c100)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/xmlgui/kxmlguiwindow.cpp:133
#28 0xb56df82c in QApplicationPrivate::notify_helper (this=0x8062420, 
    receiver=0x80a5968, e=0x9a9c100) at kernel/qapplication.cpp:3803
#29 0xb56e779a in QApplication::notify (this=0xbf918328, receiver=0x80a5968, 
    e=0x9a9c100) at kernel/qapplication.cpp:3768
#30 0xb704e1fd in KApplication::notify (this=0xbf918328, receiver=0x80a5968, 
    event=0x9a9c100)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#31 0xb69afa61 in QCoreApplication::notifyInternal (this=0xbf918328, 
    receiver=0x80a5968, event=0x9a9c100) at kernel/qcoreapplication.cpp:587
#32 0xb69b06d5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804f420) at kernel/qcoreapplication.h:209
#33 0xb69b08cd in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#34 0xb69da5af in postEventSourceDispatch (s=0x8064310)
    at kernel/qcoreapplication.h:214
#35 0xb50c02d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb50c385b in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb50c39d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb69da1f8 in QEventDispatcherGlib::processEvents (this=0x8062518, flags=
      {i = -1080985560}) at kernel/qeventdispatcher_glib.cpp:319
#39 0xb5778885 in QGuiEventDispatcherGlib::processEvents (this=0x8062518, 
    flags={i = -1080985512}) at kernel/qguieventdispatcher_glib.cpp:198
#40 0xb69ae13a in QEventLoop::processEvents (this=0xa2c4218, flags=
      {i = -1080985448}) at kernel/qeventloop.cpp:143
#41 0xb69ae2fa in QEventLoop::exec (this=0xa2c4218, flags={i = -1080985372})
    at kernel/qeventloop.cpp:194
#42 0xb13759d4 in KMAccount::runPrecommand (this=0x85779f8, 
    precommand=@0x8577a0c)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmaccount.cpp:407
#43 0xb141fc70 in KMAcctLocal::preProcess (this=0x85779f8)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmacctlocal.cpp:135
#44 0xb1420480 in KMAcctLocal::processNewMail (this=0x85779f8)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmacctlocal.cpp:71
#45 0xb1417d7c in KMail::AccountManager::processNextCheck (this=0x84aab30, 
    _newMail=false) at /usr/src/debug/kdepim-4.1.3/kmail/accountmanager.cpp:222
#46 0xb1418263 in KMail::AccountManager::singleCheckMail (this=0x84aab30, 
    account=0x0, interactive=false)
    at /usr/src/debug/kdepim-4.1.3/kmail/accountmanager.cpp:149
#47 0xb137247e in KMAccount::mailCheck (this=0x85779f8)
    at /usr/src/debug/kdepim-4.1.3/kmail/kmaccount.cpp:445
#48 0xb13729d3 in KMAccount::qt_metacall (this=0x85779f8, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf917b88)
    at /usr/src/debug/kdepim-4.1.3/build/kmail/kmaccount.moc:144
#49 0xb69c4730 in QMetaObject::activate (sender=0x85775b0, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3031
#50 0xb69c54b2 in QMetaObject::activate (sender=0x85775b0, m=0xb6a93904, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#51 0xb69ffbb7 in QTimer::timeout (this=0x85775b0)
    at .moc/release-shared/moc_qtimer.cpp:126
#52 0xb69cb1ce in QTimer::timerEvent (this=0x85775b0, e=0xbf918050)
    at kernel/qtimer.cpp:257
#53 0xb69bf1ef in QObject::event (this=0x85775b0, e=0xbf918050)
    at kernel/qobject.cpp:1120
#54 0xb56df82c in QApplicationPrivate::notify_helper (this=0x8062420, 
    receiver=0x85775b0, e=0xbf918050) at kernel/qapplication.cpp:3803
#55 0xb56e76ce in QApplication::notify (this=0xbf918328, receiver=0x85775b0, 
    e=0xbf918050) at kernel/qapplication.cpp:3393
#56 0xb704e1fd in KApplication::notify (this=0xbf918328, receiver=0x85775b0, 
    event=0xbf918050)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#57 0xb69afa61 in QCoreApplication::notifyInternal (this=0xbf918328, 
    receiver=0x85775b0, event=0xbf918050) at kernel/qcoreapplication.cpp:587
#58 0xb69dddd6 in QTimerInfoList::activateTimers (this=0x8065274)
    at kernel/qcoreapplication.h:209
#59 0xb69da2a0 in timerSourceDispatch (source=0x8065240)
    at kernel/qeventdispatcher_glib.cpp:160
#60 0xb50c02d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#61 0xb50c385b in ?? () from /usr/lib/libglib-2.0.so.0
#62 0xb50c39d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#63 0xb69da1f8 in QEventDispatcherGlib::processEvents (this=0x8062518, flags=
      {i = -1080983048}) at kernel/qeventdispatcher_glib.cpp:319
#64 0xb5778885 in QGuiEventDispatcherGlib::processEvents (this=0x8062518, 
    flags={i = -1080983000}) at kernel/qguieventdispatcher_glib.cpp:198
#65 0xb69ae13a in QEventLoop::processEvents (this=0xbf9182a0, flags=
      {i = -1080982936}) at kernel/qeventloop.cpp:143
#66 0xb69ae2fa in QEventLoop::exec (this=0xbf9182a0, flags={i = -1080982872})
    at kernel/qeventloop.cpp:194
#67 0xb69b0995 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#68 0xb56df6a7 in QApplication::exec () at kernel/qapplication.cpp:3331
#69 0x0804c17f in main (argc=1, argv=0xbf918624)
    at /usr/src/debug/kdepim-4.1.3/kontact/src/main.cpp:218
#0  0xffffe430 in __kernel_vsyscall ()
Comment 14 auxsvr 2009-01-09 12:06:52 UTC
Another pre-command crash, this time in KDE 4.1.87 (opensuse RPMs):

Application: Kontact (kontact), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb490c700 (LWP 6591))]

Thread 3 (Thread 0xb0588b90 (LWP 6609)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb59973e1 in select () from /lib/libc.so.6
#2  0xb66bbdc7 in QProcessManager::run (this=0x8074388) at io/qprocess_unix.cpp:301
#3  0xb65ec85e in QThreadPrivate::start (arg=0x8074388) at thread/qthread_unix.cpp:185
#4  0xb65891b5 in start_thread () from /lib/libpthread.so.0
#5  0xb599e38e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xafd03b90 (LWP 6900)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb658cf62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb65ed84c in QWaitCondition::wait (this=0x8871970, mutex=0x887196c, time=30000) at thread/qwaitcondition_unix.cpp:80
#3  0xb65e29c6 in QThreadPoolThread::run (this=0x8871a38) at concurrent/qthreadpool.cpp:135
#4  0xb65ec85e in QThreadPrivate::start (arg=0x8871a38) at thread/qthread_unix.cpp:185
#5  0xb65891b5 in start_thread () from /lib/libpthread.so.0
#6  0xb599e38e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb490c700 (LWP 6591)):
[KCrash Handler]
#6  QEventLoop::exec (this=0x9fddc40, flags={i = -1078361260}) at ../../src/corelib/tools/qvector.h:121
#7  0xb0e25584 in KMAccount::runPrecommand (this=0x84b1998, precommand=@0x84b19ac) at /usr/src/debug/kdepim-4.1.87/kmail/kmaccount.cpp:407
#8  0xb0eafac0 in KMAcctLocal::preProcess (this=0x84b1998) at /usr/src/debug/kdepim-4.1.87/kmail/kmacctlocal.cpp:135
#9  0xb0eb02d0 in KMAcctLocal::processNewMail (this=0x84b1998) at /usr/src/debug/kdepim-4.1.87/kmail/kmacctlocal.cpp:71
#10 0xb0ea7c0c in KMail::AccountManager::processNextCheck (this=0x844ebe0, _newMail=false) at /usr/src/debug/kdepim-4.1.87/kmail/accountmanager.cpp:221
#11 0xb0ea80f3 in KMail::AccountManager::singleCheckMail (this=0x844ebe0, account=0x1, interactive=false) at /usr/src/debug/kdepim-4.1.87/kmail/accountmanager.cpp:148
#12 0xb0e2203e in KMAccount::mailCheck (this=0x84b1998) at /usr/src/debug/kdepim-4.1.87/kmail/kmaccount.cpp:445
#13 0xb0e22593 in KMAccount::qt_metacall (this=0x84b1998, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfb985f8) at /usr/src/debug/kdepim-4.1.87/build/kmail/kmaccount.moc:144
#14 0xb66f1580 in QMetaObject::activate (sender=0x8219838, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#15 0xb66f2302 in QMetaObject::activate (sender=0x8219838, m=0xb67c4904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#16 0xb672c7f7 in QTimer::timeout (this=0x8219838) at .moc/release-shared/moc_qtimer.cpp:126
#17 0xb66f7f9e in QTimer::timerEvent (this=0x8219838, e=0xbfb98ab0) at kernel/qtimer.cpp:257
#18 0xb66ec04f in QObject::event (this=0x8219838, e=0xbfb98ab0) at kernel/qobject.cpp:1120
#19 0xb5c718fc in QApplicationPrivate::notify_helper (this=0x806fc30, receiver=0x8219838, e=0xbfb98ab0) at kernel/qapplication.cpp:3803
#20 0xb5c7975e in QApplication::notify (this=0xbfb98d88, receiver=0x8219838, e=0xbfb98ab0) at kernel/qapplication.cpp:3393
#21 0xb6c7892d in KApplication::notify (this=0xbfb98d88, receiver=0x8219838, event=0xbfb98ab0) at /usr/src/debug/kdelibs-4.1.87/kdeui/kernel/kapplication.cpp:307
#22 0xb66dc961 in QCoreApplication::notifyInternal (this=0xbfb98d88, receiver=0x8219838, event=0xbfb98ab0) at kernel/qcoreapplication.cpp:587
#23 0xb670ab86 in QTimerInfoList::activateTimers (this=0x8073d2c) at kernel/qcoreapplication.h:209
#24 0xb6707060 in timerSourceDispatch (source=0x8073cf8) at kernel/qeventdispatcher_glib.cpp:160
#25 0xb50889a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb508c063 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb508c221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb6706fb8 in QEventDispatcherGlib::processEvents (this=0x8066530, flags={i = -1078358952}) at kernel/qeventdispatcher_glib.cpp:319
#29 0xb5d0a785 in QGuiEventDispatcherGlib::processEvents (this=0x8066530, flags={i = -1078358904}) at kernel/qguieventdispatcher_glib.cpp:198
#30 0xb66db01a in QEventLoop::processEvents (this=0xbfb98d00, flags={i = -1078358840}) at kernel/qeventloop.cpp:143
#31 0xb66db1da in QEventLoop::exec (this=0xbfb98d00, flags={i = -1078358776}) at kernel/qeventloop.cpp:194
#32 0xb66dd895 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#33 0xb5c71777 in QApplication::exec () at kernel/qapplication.cpp:3331
#34 0x0804bf8f in main (argc=1, argv=0xbfb99084) at /usr/src/debug/kdepim-4.1.87/kontact/src/main.cpp:218