Bug 51601 - how to make kmail crash after adding a new account
Summary: how to make kmail crash after adding a new account
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-07 03:45 UTC by Andrew Stanley-Jones
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

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 Andrew Stanley-Jones 2002-12-07 03:45:23 UTC
Version:            (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
OS:          Linux

This is acutally from the tagged 3.1.

1. Create a _NEW_ imap account.  The account must not exist.
2. Click on the inbox for the newly created account.
3. A list of the email's available appears, but no email body appears.
4. Now click on reply, and kmail crashes.
Comment 1 Andrew Stanley-Jones 2002-12-07 03:47:04 UTC
Oh, here's the backtrace: 
[New Thread 1024 (runnable)] 
0x4169a019 in __wait4 () at __wait4:-1 
	in __wait4 
#0  0x4169a019 in __wait4 () at __wait4:-1 
#1  0x416f7718 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x41591ec7 in waitpid (pid=16333, stat_loc=0x0, options=0) 
   from /lib/libpthread.so.0 
#3  0x40a5f3ba in KCrash::defaultCrashHandler () 
   from /opt/kde-asj/lib/libkdecore.so.4 
#4  <signal handler called> 
#5  0x080c78ad in KMReplyToCommand::execute (this=0x84c4ff8) 
    at kmcommands.cpp:54 
Comment 2 Andrew Stanley-Jones 2002-12-07 03:50:47 UTC
wtf is wrong with Qt/kde cust and paste?!?!  Here's the whole thing: 
 
[New Thread 1024 (runnable)] 
0x4169a019 in __wait4 () at __wait4:-1 
	in __wait4 
#0  0x4169a019 in __wait4 () at __wait4:-1 
#1  0x416f7718 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x41591ec7 in waitpid (pid=16333, stat_loc=0x0, options=0) 
   from /lib/libpthread.so.0 
#3  0x40a5f3ba in KCrash::defaultCrashHandler () 
   from /opt/kde-asj/lib/libkdecore.so.4 
#4  <signal handler called> 
#5  0x080c78ad in KMReplyToCommand::execute (this=0x84c4ff8) 
    at kmcommands.cpp:543 
#6  0x080c5bc3 in KMCommand::slotPostTransfer (this=0x84c4ff8, success=true) 
    at kmcommands.cpp:130 
#7  0x080c1781 in KMCommand::qt_invoke (this=0x84c4ff8, _id=2, _o=0xbfffe964) 
    at kmcommands.moc:108 
#8  0x080c327a in KMReplyToCommand::qt_invoke (this=0x84c4ff8, _id=2,  
    _o=0xbfffe964) at kmcommands.moc:1080 
#9  0x40e8cd84 in QObject::activate_signal () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#10 0x40e8d319 in QObject::activate_signal_bool () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#11 0x080c1724 in KMCommand::messagesTransfered (this=0x84c4ff8, t0=true) 
    at kmcommands.moc:102 
#12 0x080c613f in KMCommand::slotJobFinished (this=0x84c4ff8) 
    at kmcommands.cpp:236 
#13 0x080c179b in KMCommand::qt_invoke (this=0x84c4ff8, _id=4, _o=0xbfffeaa8) 
    at kmcommands.moc:110 
#14 0x080c327a in KMReplyToCommand::qt_invoke (this=0x84c4ff8, _id=4,  
    _o=0xbfffeaa8) at kmcommands.moc:1080 
#15 0x40e8cd84 in QObject::activate_signal () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#16 0x40e8cc64 in QObject::activate_signal () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#17 0x08196f0f in KMImapJob::finished (this=0x8492bd0) at kmfolderimap.moc:195 
#18 0x08192999 in KMImapJob::~KMImapJob (this=0x8492bd0, __in_chrg=3) 
    at kmfolderimap.cpp:1191 
#19 0x08193267 in KMImapJob::slotGetMessageResult (this=0x8492bd0,  
    job=0x8467368) at kmfolderimap.cpp:1263 
#20 0x08196f55 in KMImapJob::qt_invoke (this=0x8492bd0, _id=2, _o=0xbfffec34) 
    at kmfolderimap.moc:201 
#21 0x40e8cd84 in QObject::activate_signal () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#22 0x405f4265 in KIO::Job::result () from /opt/kde-asj/lib/libkio.so.4 
#23 0x405e4a12 in KIO::Job::emitResult () from /opt/kde-asj/lib/libkio.so.4 
#24 0x405e5bdf in KIO::SimpleJob::slotFinished () 
   from /opt/kde-asj/lib/libkio.so.4 
#25 0x405e74b8 in KIO::TransferJob::slotFinished () 
   from /opt/kde-asj/lib/libkio.so.4 
#26 0x405f596c in KIO::TransferJob::qt_invoke () 
   from /opt/kde-asj/lib/libkio.so.4 
#27 0x40e8cd84 in QObject::activate_signal () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#28 0x40e8cc64 in QObject::activate_signal () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#29 0x405dce2c in KIO::SlaveInterface::finished () 
   from /opt/kde-asj/lib/libkio.so.4 
#30 0x405db964 in KIO::SlaveInterface::dispatch () 
   from /opt/kde-asj/lib/libkio.so.4 
#31 0x405db49a in KIO::SlaveInterface::dispatch () 
   from /opt/kde-asj/lib/libkio.so.4 
#32 0x405d95fc in KIO::Slave::gotInput () from /opt/kde-asj/lib/libkio.so.4 
#33 0x405dad49 in KIO::Slave::qt_invoke () from /opt/kde-asj/lib/libkio.so.4 
#34 0x40e8cd84 in QObject::activate_signal () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#35 0x40e8cf55 in QObject::activate_signal () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#36 0x411a6ccd in QSocketNotifier::activated () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#37 0x40ea8a7f in QSocketNotifier::event () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#38 0x40e2ca50 in QApplication::internalNotify () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#39 0x40e2c794 in QApplication::notify () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#40 0x409fe94f in KApplication::notify () from /opt/kde-asj/lib/libkdecore.so.4 
#41 0x40e06b47 in QEventLoop::activateSocketNotifiers () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#42 0x40de4d0b in QEventLoop::processEvents () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#43 0x40e41b11 in QEventLoop::enterLoop () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#44 0x40e41a57 in QEventLoop::exec () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#45 0x40e2cc76 in QApplication::exec () 
   from /home/asj/kde/qt-copy/lib/libqt-mt.so.3 
#46 0x081ac6a2 in main (argc=7, argv=0xbffff814) at main.cpp:349 
#47 0x41631a8e in __libc_start_main (main=0x81abbe0 <main>, argc=7,  
    argv=0xbffff814, init=0x8072930 <_init>, fini=0x81f438c <_fini>,  
    rtld_fini=0x4000aa20 <_dl_fini>, stack_end=0xbffff80c) 
    at ../sysdeps/generic/libc-start.c:92 
 
Comment 3 Enrico Ros 2002-12-07 15:10:37 UTC
Also crashes in my system built from cvs. The backtrace is similar, so i don't post it    
here. If you follow Andrew's procedure, when you select imap folder (before hitting 
'reply') you can see the first mail looking as selected, but it isn't already been 
downloaded from imap server. Donwload starts if you click on a message and if you 
do that you're 'safe'.. no more ways to get the bug crashing your system. 
Maybe it's because the first sync with imap server initializes the 'selected' message 
position in listbox to zero and message will not be downloaded for the first time. 
Comment 4 Carsten Burghardt 2002-12-07 15:23:55 UTC
Could you please update from cvs and test it again? I can't reproduce this with a 
checkout from today. The selected email is displayed correctly so there is no crash. 
Comment 5 Carsten Burghardt 2002-12-08 13:12:18 UTC
OK, I got the crash and will check this. 
Comment 6 Carsten Burghardt 2002-12-09 18:23:01 UTC
Fixed in HEAD and 3_1_BRANCH