Bug 129231 - crash when logout KDE
Summary: crash when logout KDE
Status: RESOLVED DUPLICATE of bug 115020
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 03:02 UTC by Franklin Weng
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The first Kmail crash log. (2.71 KB, text/plain)
2006-06-16 03:04 UTC, Franklin Weng
Details
The second Kmail crash log. (2.71 KB, text/plain)
2006-06-16 03:05 UTC, Franklin Weng
Details
The third Kmail crash log. (2.66 KB, text/plain)
2006-06-16 03:06 UTC, Franklin Weng
Details
Kmail crash log (5.00 KB, text/plain)
2006-06-18 15:23 UTC, Christian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franklin Weng 2006-06-16 03:02:49 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Mandriva RPMs
OS:                Linux

Hi,

I'm using Mandriva 2006, upgraded my X.org and KDE from cooker.

I run KMail alone (without Kontact), and recently when I quit KDE the KMail always crashed with SigSegv.

ONLY crashed while quitting from KDE. If I manually exited KMail it won't crash. (quite strange...)

Also, the PC at my home didn't crash that case.  Only the KMail at my office did. (another strange behavior...)

I logged the symbols, and I found that it ALWAYS crashed at: kmfolder.cpp:290. I'll attach my log later.

This might help: at my third log file (kmail.crash.log.0615.2), the symbol appeared this line:

#9  0x00000000 in ?? ()

I looked the kmfolder.cpp, the noContent() only contains one line. Maybe mStorage is NULL for some case?
Comment 1 Franklin Weng 2006-06-16 03:04:21 UTC
Created attachment 16631 [details]
The first Kmail crash log.

This is the first kmail crash log I keep.
Using kdepim-kmail-3.5.3-1mdv2007.0 from Mandriva cooker.
Comment 2 Franklin Weng 2006-06-16 03:05:56 UTC
Created attachment 16632 [details]
The second Kmail crash log.

This is the second KMail crash log.

Using kdepim-kmail-3.5.3-2mdv2007.0 from Mandriva cooker.
Comment 3 Franklin Weng 2006-06-16 03:06:51 UTC
Created attachment 16633 [details]
The third Kmail crash log.

The third one.

In this file, it appeared a NULL pointer.  Maybe this is the reason...?
Comment 4 Christian 2006-06-18 15:23:38 UTC
Created attachment 16677 [details]
Kmail crash log

I think kmail crashes at logout if it is checking a mailbox for new mail. I
tried to switch kmail to offline mode before logout and it doesn't crash.
I'm running KDE 3.5.3 on a Slackware-current (official Slackware packages).
Comment 5 Joerg Greve 2006-06-23 15:48:22 UTC
Hello,

I have the same problems as described above with Kubuntu 6.06 and KDE 3.5.3. Kmail crashes on logout even I switch to offline mode before logout or not.
Comment 6 Thiago Macieira 2006-06-25 14:34:21 UTC
Pasting the first backtrace:

#6  0xb7b3fb4c in KMFolder::noContent (this=0x82547c0) at kmfolder.cpp:290
#7  0xb7cd912a in KMFolderTree::slotUpdateCounts (this=0x83dd1f8, 
    folder=0x82547c0) at kmfoldertree.cpp:1549
#8  0xb7cd92f1 in KMFolderTree::slotUpdateCountTimeout (this=0x83dd1f8)
    at kmfoldertree.cpp:1526
#9  0xb7d0ca5d in KMFolderTree::qt_invoke (this=0x83dd1f8, _id=132, 
    _o=0xbfe61938) at kmfoldertree.moc:486
#10 0xb724e2a4 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0xb724e9a5 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb7533dc7 in QTimer::timeout () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb726e677 in QTimer::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0xb71f46bb in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0xb71f54d2 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb78661d4 in KApplication::notify (this=0xbfe622a4, receiver=0x83e0200, 
    event=0xbfe61be4) at kapplication.cpp:550
#17 0xb71e9cc6 in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb71a9bb8 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb720908a in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb71f4041 in QApplication::enter_loop ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb5f512a0 in KIO::NetAccess::enter_loop (this=0xbfe61ed4)
    at netaccess.cpp:498
#22 0xb5f60610 in KIO::NetAccess::synchronousRunInternal (this=0xbfe61ed4, 
    job=0x821a2f8, window=0x0, data=0x0, finalURL=0x0, metaData=0x0)
    at netaccess.cpp:479
#23 0xb5f606ac in KIO::NetAccess::synchronousRun (job=0x821a2f8, window=0x0, 
    data=0x0, finalURL=0x0, metaData=0x0) at netaccess.cpp:277
#24 0xb144dfa9 in KABC::ResourceFile::save (this=0x85775e8)
    at resourcefile.cpp:250
#25 0xb61e49bf in KABC::AddressBook::save (this=0x82473d0, ticket=0x85810b0)
    at addressbook.cpp:379
#26 0xb621fde4 in KABC::StdAddressBook::saveAll (this=0x82473d0)
    at stdaddressbook.cpp:157
#27 0xb621ff78 in ~StdAddressBook (this=0x82473d0) at stdaddressbook.cpp:96
#28 0xb6232a2f in KStaticDeleter<KABC::StdAddressBook>::destructObject (
    this=0xb626ad78) at ../kdecore/kstaticdeleter.h:126
#29 0xb779ddd9 in KGlobal::deleteStaticDeleters () at kglobal.cpp:192
#30 0xb77f4ab8 in ~KApplication (this=0xbfe622a4) at kapplication.cpp:1608
#31 0xb77f4d5c in ~KUniqueApplication (this=0xbfe622a4)
    at kuniqueapplication.cpp:351
#32 0x0804a58a in main (argc=-1208903928, argv=0x2) at main.cpp:115
Comment 7 Thiago Macieira 2006-06-25 14:35:58 UTC

*** This bug has been marked as a duplicate of 115020 ***