Bug 57247 - crashed opening a message in IMAP drafts folder
Summary: crashed opening a message in IMAP drafts folder
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-15 06:22 UTC by John Firebaugh
Modified: 2007-09-14 12:17 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 John Firebaugh 2003-04-15 06:22:57 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

While trying to run kmail under valgrind for bug 57205. I had clicked on the IMAP Drafts folder, then double clicked on a message I wanted to send:

0x40185e7a in vgPlain_do_syscall () from /usr/local/lib/valgrind/valgrind.so
#0  0x40185e7a in vgPlain_do_syscall ()
   from /usr/local/lib/valgrind/valgrind.so
#1  0x41c72000 in sys_sigabbrev () from /lib/libc.so.6
#2  0x41a78776 in waitpid (pid=22939, status=0x0, options=0)
    at vg_libpthread.c:2074
#3  0x4109fceb in __static_initialization_and_destruction_0 (
    __initialize_p=11, __priority=0)
    at /home/john/src/kde/kdelibs/kdecore/kstdaccel.cpp:46
#4  0x40173e48 in mkSIB () from /usr/local/lib/valgrind/valgrind.so
#5  0x0820c20d in KMMainWidget::qt_invoke(int, QUObject*) (this=0x47a46444, 
    _id=156, _o=0xbfffe9d0) at kmmainwidget.moc:513
#6  0x414dc7e0 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x49721094, clist=0x497220a4, o=0xbfffe9d0) at kernel/qobject.cpp:2226
#7  0x082266e4 in KMail::FolderJob::messageRetrieved(KMMessage*) (
    this=0x49721094, t0=0x0) at folderjob.moc:112
#8  0x0822e49e in KMail::ImapJob::slotGetMessageResult(KIO::Job*) (
    this=0x49721094, job=0x49728f08)
    at /home/john/src/kde/kdepim/kmail/imapjob.cpp:235
#9  0x0822f636 in KMail::ImapJob::qt_invoke(int, QUObject*) (this=0x49721094, 
    _id=2, _o=0xbfffeb20) at imapjob.moc:115
#10 0x414dc7e0 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x49728f08, clist=0x4a87f044, o=0xbfffeb20) at kernel/qobject.cpp:2226
#11 0x40aba6a8 in KIO::Job::result(KIO::Job*) (this=0x49728f08, t0=0x49728f08)
    at jobclasses.moc:156
#12 0x40aa98f1 in KIO::Job::emitResult() (this=0x49728f08)
    at /home/john/src/kde/kdelibs/kio/kio/job.cpp:183
#13 0x40aaafa9 in KIO::SimpleJob::slotFinished() (this=0x49728f08)
    at /home/john/src/kde/kdelibs/kio/kio/job.cpp:511
#14 0x40aacbd2 in KIO::TransferJob::slotFinished() (this=0x49728f08)
    at /home/john/src/kde/kdelibs/kio/kio/job.cpp:794
#15 0x40abc3c2 in KIO::TransferJob::qt_invoke(int, QUObject*) (
    this=0x49728f08, _id=17, _o=0xbfffedc0) at jobclasses.moc:787
#16 0x414dc7e0 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x4a891f40, clist=0x475333ac, o=0xbfffedc0) at kernel/qobject.cpp:2226
#17 0x414dc6b3 in QObject::activate_signal(int) (this=0x4a891f40, signal=6)
    at kernel/qobject.cpp:2200
#18 0x40a9c08f in KIO::SlaveInterface::finished() (this=0x4a891f40)
    at slaveinterface.moc:226
#19 0x40a9a7d9 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) (
    this=0x4a891f40, _cmd=104, rawdata=@0xbfffef90)
    at /home/john/src/kde/kdelibs/kio/kio/slaveinterface.cpp:256
#20 0x40a9a440 in KIO::SlaveInterface::dispatch() (this=0x4a891f40)
    at /home/john/src/kde/kdelibs/kio/kio/slaveinterface.cpp:192
#21 0x40a97f97 in KIO::Slave::gotInput() (this=0x4a891f40)
    at /home/john/src/kde/kdelibs/kio/kio/slave.cpp:294
#22 0x40a99959 in KIO::Slave::qt_invoke(int, QUObject*) (this=0x4a891f40, 
    _id=4, _o=0xbffff0b0) at slave.moc:113
#23 0x414dc7e0 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x44a4adf0, clist=0x4976212c, o=0xbffff0b0) at kernel/qobject.cpp:2226
#24 0x414dca48 in QObject::activate_signal(int, int) (this=0x44a4adf0, 
    signal=2, param=13) at kernel/qobject.cpp:2291
#25 0x417d996b in QSocketNotifier::activated(int) (this=0x44a4adf0, t0=13)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#26 0x414fbdd4 in QSocketNotifier::event(QEvent*) (this=0x44a4adf0, 
    e=0xbffff320) at kernel/qsocketnotifier.cpp:268
#27 0x41476b64 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff600, receiver=0x44a4adf0, e=0xbffff320)
    at kernel/qapplication.cpp:2363
#28 0x4147618c in QApplication::notify(QObject*, QEvent*) (this=0xbffff600, 
    receiver=0x44a4adf0, e=0xbffff320) at kernel/qapplication.cpp:2125
#29 0x4101e67b in k_nl_find_msg(kde_loaded_l10nfile*, char const*) (
    domain_file=0xbffff600, msgid=0x44a4adf0 "
Comment 1 Zack Rusin 2003-04-28 06:46:41 UTC
Subject: kdepim/kmail

CVS commit by zrusin: 

Crash fix. Keyword - common sense - 0 message can't be fully retrieved.

CCMAIL: 57247-done@bugs.kde.org


  M +1 -1      imapjob.cpp   1.8


--- kdepim/kmail/imapjob.cpp  #1.7:1.8
@@ -230,5 +230,5 @@ void ImapJob::slotGetMessageResult( KIO:
       emit messageRetrieved(msg);
     } else {
-      emit messageRetrieved( 0 );
+      emit finished();
     }
     msg = 0;