Bug 52077 - Crash after creating accounts and entering the password
Summary: Crash after creating accounts and entering the password
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: 2002-12-18 21:24 UTC by Michael Brade
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 Michael Brade 2002-12-18 21:24:40 UTC
Version:           1.5 (using KDE 3.1.0 (RC5))
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.19-openmosix

Hi,

I started a KMail without any config, entered one sending transport (SMTP) and two receiving transports. The receiving transports were IMAP accounts both with some subfolders. Then I pressed "Ok" of the config dialog and got the first password dialog for the first IMAP account. After entering the pw KMail opened the second password dialog and started to create the subfolders of the first account in the folder list in the background. Now, when entering the second password and clicking "Ok" KMail crashes with the following backtrace:

#5  <signal handler called>
#6  0x080ec09d in KMFolderTree::addDirectory (this=0x82ed0e0, fdir=0x8313224,
    parent=0x0) at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmfoldertree.cpp:507
#7  0x080eb9ed in KMFolderTree::reload (this=0x82ed0e0, openFolders=false)
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmfoldertree.cpp:381
#8  0x080ec555 in KMFolderTree::doFolderListChanged (this=0x82ed0e0)
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmfoldertree.cpp:579
#9  0x080f0189 in KMFolderTree::qt_invoke (this=0x82ed0e0, _id=111,
    _o=0xbfffe358) at kmfoldertree.moc:259
#10 0x40ddc4f4 in QObject::activate_signal ()
   from /opt/qt-3.1/lib/libqt-mt.so.3
#11 0x40ddc42e in QObject::activate_signal ()
   from /opt/qt-3.1/lib/libqt-mt.so.3
#12 0x081695ec in KMFolderMgr::changed (this=0x83131f8) at kmfoldermgr.moc:96
#13 0x08169439 in KMFolderMgr::quiet (this=0x83131f8, beQuiet=false)
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmfoldermgr.cpp:435
#14 0x081bdb63 in KMKernel::cleanupImapFolders (this=0xbfffec7c)
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmkernel.cpp:685
#15 0x080bc59d in NetworkPageReceivingTab::apply (this=0x8496670)
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/configuredialog.cpp:1403
#16 0x080cc0b7 in TabbedConfigurationPage::apply (this=0x84807d8)
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/configuredialog_p.cpp:338
#17 0x080b55c9 in ConfigureDialog::apply (this=0x845cad0, everything=true)
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/configuredialog.cpp:266
#18 0x080b5299 in ConfigureDialog::slotOk (this=0x845cad0)
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/configuredialog.cpp:226

Thanks,
  Michael
Comment 1 Michael Brade 2002-12-18 21:26:29 UTC
Forgot one thing---the config is *not* saved and completely lost after the crash. 
Comment 2 Michael Brade 2002-12-18 21:57:06 UTC
Temporary workaround: enter the first identity, click ok, then enter the second one. 
Well, doesn't really help---just try to restart KMail ;-> Here's the backtrace, it ends 
like the above one: 
 
#5  <signal handler called> 
#6  0x080ec09d in KMFolderTree::addDirectory (this=0x827b1e8, fdir=0x834d504, 
    parent=0x0) at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmfoldertree.cpp:507 
#7  0x080eb9ed in KMFolderTree::reload (this=0x827b1e8, openFolders=false) 
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmfoldertree.cpp:381 
#8  0x080ea9dc in KMFolderTree::KMFolderTree (this=0x827b1e8, 
    parent=0x83f1660, name=0x820dfa8 "folderTree") 
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmfoldertree.cpp:116 
#9  0x080a7027 in KMMainWin::createWidgets (this=0x826b020) 
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmmainwin.cpp:571 
#10 0x080a4033 in KMMainWin::KMMainWin (this=0x826b020, __in_chrg=1) 
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmmainwin.cpp:94 
#11 0x081bb32d in KMKernel::openReader (this=0xbfffec7c) 
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmkernel.cpp:177 
#12 0x081bea6f in KMKernel::action (this=0xbfffec7c, mailto=false, 
    check=false, to=@0xbfffe708, cc=@0xbfffe704, bcc=@0xbfffe700, 
    subj=@0xbfffe6fc, body=@0xbfffe6f8, messageFile=@0xbfffe6d0, 
    attachURLs=@0xbfffe6cc) 
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/kmkernel.cpp:956 
#13 0x081c03af in KMailApplication::newInstance (this=0xbfffedc0) 
    at /mnt/KDE/kde-cvs/kdenetwork/kmail/main.cpp:190 
#14 0x40ab2b6f in KUniqueApplication::processDelayed (this=0xbfffedc0) 
    at /mnt/KDE/kde-cvs/kdelibs/kdecore/kuniqueapplication.cpp:363 
 
Comment 3 Till Adam 2003-07-31 20:00:40 UTC
Closing, as this bug is believed to be fixed.