[Kolab-devel] [issue36] kmail crash on sync

Bernhard Herzog kolab-issues at intevation.de
Thu Apr 8 15:55:24 CEST 2004


New submission from Bernhard Herzog <bh at intevation.de>:

In one of my testusers, kmail crashes when I sync with the imap server.  kdepim
is newly compiled from earlier today.

First there are messages that certain folders don't exist on the server
(INBOX/Aufgaben) and then a segfaul (see traceback below).  It could be that the
original reason is that for the user in question the location of the kolab
folders has been changed several times in the past, which is probably not a good
thing to do, in the first place, but still, kmail (started through kontact)
shouldn't crash when errors occur.

[New Thread 1024 (LWP 11392)]
0x4162ca59 in wait4 () from /lib/libc.so.6
#0  0x4162ca59 in wait4 () from /lib/libc.so.6
#1  0x416a3e48 in __check_rhosts_file () from /lib/libc.so.6
#2  0x41512453 in waitpid () from /lib/libpthread.so.0
#3  0x409ba33d in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:246
#4  0x4150ff54 in pthread_sighandler () from /lib/libpthread.so.0
#5  0x415b56b8 in sigaction () from /lib/libc.so.6
#6  0x41d53069 in QMapPrivate<KIO::Job *,
KMail::ImapAccountBase::jobData>::remove (this=0x816e6a8, it={node = 0xbfffe638})
    at /usr/local/proko2/include/qmap.h:385
#7  0x41e16f88 in QMap<KIO::Job *, KMail::ImapAccountBase::jobData>::remove (
    this=0x8176868, it={node = 0xbfffe678})
    at /usr/local/proko2/include/qmap.h:725
#8  0x41e16764 in KMail::ImapAccountBase::removeJob (this=0x8176750, 
    it=@0xbfffe6d8) at imapaccountbase.h:143
#9  0x41e3d48a in KMFolderCachedImap::getMessagesResult (this=0x8179d60, 
    job=0x82b3108, lastSet=true) at kmfoldercachedimap.cpp:1078
#10 0x41e3ca82 in KMFolderCachedImap::slotGetLastMessagesResult (
    this=0x8179d60, job=0x82b3108) at kmfoldercachedimap.cpp:983
#11 0x41e3fa80 in KMFolderCachedImap::qt_invoke (this=0x8179d60, _id=11, 
    _o=0xbfffe7d0) at kmfoldercachedimap.moc:328
#12 0x40dff99a in QObject::activate_signal (this=0x82b3108, clist=0x829b648, 
    o=0xbfffe7d0) at kernel/qobject.cpp:2333
#13 0x403c78d2 in KIO::Job::result (this=0x82b3108, t0=0x82b3108)
    at jobclasses.moc:156
#14 0x403b615a in KIO::Job::emitResult (this=0x82b3108) at job.cpp:207
#15 0x403b7394 in KIO::SimpleJob::slotFinished (this=0x82b3108) at job.cpp:524
#16 0x403b906b in KIO::TransferJob::slotFinished (this=0x82b3108)
    at job.cpp:822
#17 0x403b743d in KIO::SimpleJob::slotError (this=0x82b3108, error=11, 
    errorText=@0x82b23c0) at job.cpp:535
#18 0x403c8a3c in KIO::SimpleJob::qt_invoke (this=0x82b3108, _id=14, 
    _o=0xbfffeaec) at jobclasses.moc:403
#19 0x403c9d47 in KIO::TransferJob::qt_invoke (this=0x82b3108, _id=14, 
    _o=0xbfffeaec) at jobclasses.moc:811
#20 0x40dffb0a in QObject::activate_signal (this=0x8272678, clist=0x8272f68, 
    o=0xbfffeaec) at kernel/qobject.cpp:2357
#21 0x403a8bb2 in KIO::SlaveInterface::error (this=0x8272678, t0=11, 
    t1=@0xbfffec2c) at slaveinterface.moc:214
#22 0x403a7475 in KIO::SlaveInterface::dispatch (this=0x8272678, _cmd=102, 
    rawdata=@0xbfffec80) at slaveinterface.cpp:292
#23 0x403a6b3c in KIO::SlaveInterface::dispatch (this=0x8272678)
    at slaveinterface.cpp:191
#24 0x403a4002 in KIO::Slave::gotInput (this=0x8272678) at slave.cpp:294
#25 0x403a5a9f in KIO::Slave::qt_invoke (this=0x8272678, _id=4, _o=0xbfffeda4)
    at slave.moc:113
#26 0x40dff99a in QObject::activate_signal (this=0x8293718, clist=0x824a7a0, 
    o=0xbfffeda4) at kernel/qobject.cpp:2333
#27 0x40dffd63 in QObject::activate_signal (this=0x8293718, signal=2, param=18)
    at kernel/qobject.cpp:2426
#28 0x41154c6a in QSocketNotifier::activated (this=0x8293718, t0=18)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#29 0x40e1e152 in QSocketNotifier::event (this=0x8293718, e=0xbffff018)
    at kernel/qsocketnotifier.cpp:271
#30 0x40d98e15 in QApplication::internalNotify (this=0xbffff818, 
    receiver=0x8293718, e=0xbffff018) at kernel/qapplication.cpp:2582
#31 0x40d97efb in QApplication::notify (this=0xbffff818, receiver=0x8293718, 
    e=0xbffff018) at kernel/qapplication.cpp:2305
#32 0x4092d589 in KApplication::notify (this=0xbffff818, receiver=0x8293718, 
    event=0xbffff018) at kapplication.cpp:506
#33 0x4114b044 in QApplication::sendEvent (receiver=0x8293718, 
    event=0xbffff018) at .moc/debug-shared-mt/../../kernel/qapplication.h:492
#34 0x40d877d2 in QEventLoop::activateSocketNotifiers (this=0x80a2d28)
    at kernel/qeventloop_unix.cpp:579
#35 0x40d413dc in QEventLoop::processEvents (this=0x80a2d28, flags=4)
    at kernel/qeventloop_x11.cpp:340
#36 0x40daf590 in QEventLoop::enterLoop (this=0x80a2d28)
    at kernel/qeventloop.cpp:198
#37 0x40d99051 in QApplication::enter_loop (this=0xbffff818)
    at kernel/qapplication.cpp:2737
#38 0x40f93755 in QDialog::exec (this=0x8296050) at dialogs/qdialog.cpp:370
#39 0x407686c5 in KDialogQueue::slotShowQueuedDialog (this=0x82b2a38)
    at kdialog.cpp:311
#40 0x40768bd0 in KDialogQueue::qt_invoke (this=0x82b2a38, _id=2, 
    _o=0xbffff340) at kdialog.moc:191
#41 0x40dff99a in QObject::activate_signal (this=0x80c8dd8, clist=0x82956f0, 
    o=0xbffff340) at kernel/qobject.cpp:2333
#42 0x41153c72 in QSignal::signal (this=0x80c8dd8, t0=@0x80c8e00)
    at .moc/debug-shared-mt/moc_qsignal.cpp:100
#43 0x40e1bbb4 in QSignal::activate (this=0x80c8dd8) at kernel/qsignal.cpp:204
#44 0x40e2280a in QSingleShotTimer::event (this=0x80c8db0)
    at kernel/qtimer.cpp:277
#45 0x40d98e15 in QApplication::internalNotify (this=0xbffff818, 
    receiver=0x80c8db0, e=0xbffff598) at kernel/qapplication.cpp:2582
#46 0x40d97efb in QApplication::notify (this=0xbffff818, receiver=0x80c8db0, 
    e=0xbffff598) at kernel/qapplication.cpp:2305
#47 0x4092d589 in KApplication::notify (this=0xbffff818, receiver=0x80c8db0, 
    event=0xbffff598) at kapplication.cpp:506
#48 0x4114b044 in QApplication::sendEvent (receiver=0x80c8db0, 
    event=0xbffff598) at .moc/debug-shared-mt/../../kernel/qapplication.h:492
#49 0x40d8765a in QEventLoop::activateTimers (this=0x80a2d28)
    at kernel/qeventloop_unix.cpp:557
#50 0x40d413fa in QEventLoop::processEvents (this=0x80a2d28, flags=4)
    at kernel/qeventloop_x11.cpp:346
#51 0x40daf590 in QEventLoop::enterLoop (this=0x80a2d28)
    at kernel/qeventloop.cpp:198
#52 0x40daf4c9 in QEventLoop::exec (this=0x80a2d28)
    at kernel/qeventloop.cpp:145
#53 0x40d98fcd in QApplication::exec (this=0xbffff818)
    at kernel/qapplication.cpp:2705
#54 0x0805b095 in main (argc=1, argv=0xbffff9b4) at main.cpp:157

----------
assignedto: bo
messages: 88
nosy: bh, bo
priority: bug
status: unread
title: kmail crash on sync
topic: kde client
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue36>
________________________________________________




More information about the devel mailing list