Bug 89264 - kontact crashes on exit
Summary: kontact crashes on exit
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-10 22:46 UTC by Dominik Karall
Modified: 2004-10-27 12:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Karall 2004-09-10 22:46:23 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages

i can't reproduce this crash, but sometimes when i exit kontact, it crashes. i think it's often when kontact runs for some days. i get a message from crashmanager, but there are no debugging symbols.
after restart of kontact, all the mails which i read, are again marked as unread.

regards,
dominik
Comment 1 Dominik Karall 2004-09-16 21:52:33 UTC
i tested it again, it still crashes after long runs (after a few days), but does not crash when i start it and close it directly afterwards.

best regards,
dominik
Comment 2 Rolf Eike Beer 2004-09-17 13:34:16 UTC
My Kontact crashed on exit, too. Here is the backtrace:

[New Thread 16384 (LWP 10169)]
[KCrash handler]
#4  0x40964b11 in KXMLGUI::ActionList::unplug(QWidget*) const ()
   from /opt/kde3/lib/libkdeui.so.4
#5  0x409660b0 in KXMLGUI::ContainerNode::unplugClient(KXMLGUI::ContainerClient*) () from /opt/kde3/lib/libkdeui.so.4
#6  0x40965fc6 in KXMLGUI::ContainerNode::unplugActions(KXMLGUI::BuildState&)
    () from /opt/kde3/lib/libkdeui.so.4
#7  0x40965a72 in KXMLGUI::ContainerNode::destruct(QDomElement, KXMLGUI::BuildState&) () from /opt/kde3/lib/libkdeui.so.4
#8  0x40965cc5 in KXMLGUI::ContainerNode::destructChildren(QDomElement const&, KXMLGUI::BuildState&) () from /opt/kde3/lib/libkdeui.so.4
#9  0x40965a5d in KXMLGUI::ContainerNode::destruct(QDomElement, KXMLGUI::BuildState&) () from /opt/kde3/lib/libkdeui.so.4
#10 0x40962bdc in KXMLGUIFactory::removeClient(KXMLGUIClient*) ()
   from /opt/kde3/lib/libkdeui.so.4
#11 0x401bd601 in KParts::MainWindow::createGUI(KParts::Part*) ()
   from /opt/kde3/lib/libkparts.so.2
#12 0x0805d5d3 in Kontact::MainWindow::slotActivePartChanged(KParts::Part*) ()
#13 0x0805ec90 in Kontact::MainWindow::qt_invoke(int, QUObject*) ()
#14 0x41007cfb in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x401bc84d in KParts::PartManager::activePartChanged(KParts::Part*) ()
   from /opt/kde3/lib/libkparts.so.2
#16 0x401bbd79 in KParts::PartManager::setActivePart(KParts::Part*, QWidget*)
    () from /opt/kde3/lib/libkparts.so.2
#17 0x401bb8be in KParts::PartManager::removePart(KParts::Part*) ()
   from /opt/kde3/lib/libkparts.so.2
#18 0x401b444c in KParts::Part::~Part() () from /opt/kde3/lib/libkparts.so.2
#19 0x401b4d1d in KParts::ReadOnlyPart::~ReadOnlyPart() ()
   from /opt/kde3/lib/libkparts.so.2
#20 0x41dee4a6 in KMailPart::~KMailPart() ()
   from /opt/kde3/lib/kde3/libkmailpart.so.1
#21 0x0805bd18 in Kontact::MainWindow::~MainWindow() ()
#22 0x08167a80 in ?? ()
#23 0x083a28d8 in ?? ()
#24 0x417d4778 in __JCR_LIST__ () from /usr/lib/libstdc++.so.5
#25 0x0806b7e8 in vtable for QPtrList<KParts::Part> ()
Comment 3 kyle 2004-09-22 13:33:35 UTC
My installation of Kontact appears to exhibit this behaviour as well. Caught this backtrace...

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1099024320 (LWP 4352)]
[KCrash handler]
#3  0x412d9b45 in typeinfo for QObjectCleanupHandler ()
   from /usr/lib/libqt-mt.so.3
#4  0x42114a8a in KMMainWidget::folderSelected ()
   from /usr/lib/libkmailprivate.so.0
#5  0x42114662 in KMMainWidget::folderSelected ()
   from /usr/lib/libkmailprivate.so.0
#6  0x4210b400 in KMMainWidget::qt_invoke ()
   from /usr/lib/libkmailprivate.so.0
#7  0x40e8d4a6 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#8  0x42075d69 in KMFolderImap::folderComplete ()
   from /usr/lib/libkmailprivate.so.0
#9  0x4205baab in KMAcctImap::killAllJobs ()
   from /usr/lib/libkmailprivate.so.0
#10 0x4205b6c9 in KMAcctImap::~KMAcctImap ()
   from /usr/lib/libkmailprivate.so.0
#11 0x42008d4e in QPtrList<KMAccount>::deleteItem ()
   from /usr/lib/libkmailprivate.so.0
#12 0x4114492e in QGList::clear () from /usr/lib/libqt-mt.so.3
#13 0x42006255 in KMAcctMgr::~KMAcctMgr () from /usr/lib/libkmailprivate.so.0
#14 0x420990a5 in KMKernel::cleanup () from /usr/lib/libkmailprivate.so.0
#15 0x41dbfd1e in KMailPart::~KMailPart ()
   from /usr/lib/kde3/libkmailpart.so.1
#16 0x0805a1b8 in KUniqueApplication::metaObject ()
#17 0x40e8ad7c in QObject::event () from /usr/lib/libqt-mt.so.3
#18 0x40ec360f in QWidget::event () from /usr/lib/libqt-mt.so.3
#19 0x40f81ca2 in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#20 0x40e30bcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#21 0x40e301ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#22 0x40a5df13 in KApplication::notify () from /usr/lib/libkdecore.so.4
#23 0x40e319c6 in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#24 0x40e42f0c in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#25 0x40e42dd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#26 0x40e30e21 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#27 0x080590ab in ?? ()
#28 0xbffffa30 in ?? ()
#29 0x00000001 in ?? ()
#30 0x00000001 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000001 in ?? ()
#34 0x08065c80 in _IO_stdin_used ()
#35 0x00000000 in ?? ()
#36 0x08065a72 in _IO_stdin_used ()
#37 0x08065a62 in _IO_stdin_used ()
#38 0x40016fc8 in ?? ()
#39 0x00000006 in ?? ()
#40 0x08065cc8 in _IO_stdin_used ()
#41 0x00000020 in ?? ()
#42 0x080a0ad8 in ?? ()
#43 0x00000000 in ?? ()
#44 0x080a06b8 in ?? ()
#45 0x080c3790 in ?? ()
#46 0x080c3298 in ?? ()
#47 0x080f1c08 in ?? ()
#48 0x00000000 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000001 in ?? ()
#51 0xbffffc04 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x080e3e20 in ?? ()
#55 0x080abde8 in ?? ()
#56 0x080a4b08 in ?? ()
#57 0x412f3d00 in ?? () from /usr/lib/libqt-mt.so.3
#58 0x08065d4c in _IO_stdin_used ()
#59 0x080aec90 in ?? ()
#60 0x080aeaf0 in ?? ()
#61 0x080c45d8 in ?? ()
#62 0x412d3470 in vtable for QCString () from /usr/lib/libqt-mt.so.3
#63 0x080776e8 in ?? ()
#64 0xbffffb20 in ?? ()
#65 0x080ae778 in ?? ()
#66 0x080793b8 in ?? ()
#67 0x0000012f in ?? ()
#68 0x000000ff in ?? ()
#69 0x40016e78 in _r_debug ()
#70 0x00000000 in ?? ()
#71 0x0806e070 in ?? ()
#72 0x40017001 in ?? ()
#73 0x412c5188 in vtable for QPixmap () from /usr/lib/libqt-mt.so.3
#74 0x00400013 in ?? ()
#75 0x080f4940 in ?? ()
#76 0x00000002 in ?? ()
#77 0x00000000 in ?? ()
#78 0x080fcc90 in ?? ()
#79 0x412c5188 in vtable for QPixmap () from /usr/lib/libqt-mt.so.3
#80 0x00400018 in ?? ()
#81 0x08101238 in ?? ()
#82 0x00000002 in ?? ()
#83 0x00000000 in ?? ()
#84 0x080ae790 in ?? ()
#85 0x0806e070 in ?? ()
#86 0x0806e070 in ?? ()
#87 0x401fb701 in std::ios_base::Init::Init () from /usr/lib/libstdc++.so.5
#88 0x402c4aa3 in __cxa_atexit () from /lib/tls/libc.so.6
#89 0x08065d60 in _IO_stdin_used ()
#90 0x412d3470 in vtable for QCString () from /usr/lib/libqt-mt.so.3
#91 0x080e1a50 in ?? ()
#92 0x080e1cf0 in ?? ()
#93 0x080e43d0 in ?? ()
#94 0x080fba58 in ?? ()
#95 0x00000000 in ?? ()
#96 0x0806a4c4 in ?? ()
#97 0x00000000 in ?? ()
#98 0x08065f75 in std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >::_S_pback_size ()
#99 0x08066065 in std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >::_S_pback_size ()
#100 0x08065e01 in typeinfo for QGList ()
#101 0x08065de0 in typeinfo for QGList ()
#102 0x00000001 in ?? ()
#103 0x08065c80 in _IO_stdin_used ()
#104 0x00000000 in ?? ()
#105 0x08065a72 in _IO_stdin_used ()
#106 0x08065a62 in _IO_stdin_used ()
#107 0x08076430 in ?? ()
#108 0x08076460 in ?? ()
#109 0x08055a95 in _init ()

It does seem to exit without corrupting data, which is good thing, but something is wrong nonetheless.

Hope this helps,

Kyle

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C
Comment 4 Martin Steigerwald 2004-10-16 15:12:07 UTC
Hello,

my Kontact also crashes most of the time when I quit it.

I use Kontact 4:3.3.0-3 directly from the package for Debian sid. 

Here is a backtrace:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1099020224 (LWP 13756)]
[KCrash handler]
#3  0x41541526 in KABC::AddressBook::begin () from /usr/lib/libkabc.so.1
#4  0x424cdada in KCal::ResourceKABC::doLoad ()
   from /usr/lib/kde3/kcal_kabc.so
#5  0x4163747f in KCal::ResourceCalendar::load () from /usr/lib/libkcal.so.2
#6  0x424cd9a7 in KCal::ResourceKABC::writeConfig ()
   from /usr/lib/kde3/kcal_kabc.so
#7  0x417eb18b in KRES::ManagerImpl::writeResourceConfig ()
   from /usr/lib/libkresources.so.1
#8  0x417e9cff in KRES::ManagerImpl::writeConfig ()
   from /usr/lib/libkresources.so.1
#9  0x421f3fb7 in ActionManager::writeSettings ()
   from /usr/lib/libkorganizer.so.1
#10 0x41f8d00a in KOrganizerPart::~KOrganizerPart ()
   from /usr/lib/kde3/libkorganizerpart.so
#11 0x0805a1b8 in KUniqueApplication::metaObject ()
#12 0x40e89d7c in QObject::event () from /usr/lib/libqt-mt.so.3
#13 0x40ec260f in QWidget::event () from /usr/lib/libqt-mt.so.3
#14 0x40f80ca2 in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#15 0x40e2fbcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#16 0x40e2f1ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#17 0x40a5d1a3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#18 0x40e309c6 in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#19 0x40e41f0c in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#20 0x40e41dd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#21 0x40e2fe21 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#22 0x080590ab in ?? ()
#23 0xbffff9e0 in ?? ()
#24 0x00000001 in ?? ()
#25 0x00000001 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000001 in ?? ()
#29 0x08065ca0 in _IO_stdin_used ()
#30 0x00000000 in ?? ()
#31 0x08065a96 in _IO_stdin_used ()
#32 0x08065a82 in _IO_stdin_used ()
#33 0x40016fc8 in ?? ()
#34 0x00000006 in ?? ()
#35 0x08065ce8 in _IO_stdin_used ()
#36 0x00000020 in ?? ()
#37 0x0808f650 in ?? ()
#38 0x00000000 in ?? ()
#39 0x0808f3a8 in ?? ()
#40 0x080de0e0 in ?? ()
#41 0x080ddd20 in ?? ()
#42 0x0811d2d8 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x00000001 in ?? ()
#46 0xbffffbb4 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x081007f8 in ?? ()
#50 0x08096098 in ?? ()
#51 0x080ccde0 in ?? ()
#52 0x412f2d00 in ?? () from /usr/lib/libqt-mt.so.3
#53 0x08065d6c in _IO_stdin_used ()
#54 0x080ce8f0 in ?? ()
#55 0x080ce750 in ?? ()
#56 0x080e65e8 in ?? ()
#57 0x412d2470 in vtable for QCString () from /usr/lib/libqt-mt.so.3
#58 0x080776c0 in ?? ()
#59 0xbffffad0 in ?? ()
#60 0x080ce3d0 in ?? ()
#61 0x080793c8 in ?? ()
#62 0x00000121 in ?? ()
#63 0x000000ff in ?? ()
#64 0x40016e78 in _r_debug ()
#65 0x00000000 in ?? ()
#66 0x0806e070 in ?? ()
#67 0x40017001 in ?? ()
#68 0x412c4188 in vtable for QPixmap () from /usr/lib/libqt-mt.so.3
#69 0x03200013 in ?? ()
#70 0x08117f38 in ?? ()
#71 0x00000002 in ?? ()
#72 0x00000000 in ?? ()
#73 0x0811d1a8 in ?? ()
#74 0x412c4188 in vtable for QPixmap () from /usr/lib/libqt-mt.so.3
#75 0x03200018 in ?? ()
#76 0x08110f28 in ?? ()
#77 0x00000002 in ?? ()
#78 0x00000000 in ?? ()
#79 0x080ce3e8 in ?? ()
#80 0x0806e070 in ?? ()
#81 0x0806e070 in ?? ()
#82 0x401f8701 in std::ios_base::Init::Init () from /usr/lib/libstdc++.so.5
#83 0x402c1aa3 in __cxa_atexit () from /lib/tls/libc.so.6
#84 0x08065d80 in _IO_stdin_used ()
#85 0x412d2470 in vtable for QCString () from /usr/lib/libqt-mt.so.3
#86 0x081004b0 in ?? ()
#87 0x08101738 in ?? ()
#88 0x08100dd0 in ?? ()
#89 0x08123940 in ?? ()
#90 0x00000000 in ?? ()
#91 0x0806a4e4 in ?? ()
#92 0x00000000 in ?? ()
#93 0x08065f95 in std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >::_S_pback_size ()
#94 0x08066085 in std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >::_S_pback_size ()
#95 0x08065e21 in typeinfo for QGList ()
#96 0x08065e00 in typeinfo for QGList ()
#97 0x00000001 in ?? ()
#98 0x08065ca0 in _IO_stdin_used ()
#99 0x00000000 in ?? ()
#100 0x08065a96 in _IO_stdin_used ()
#101 0x08065a82 in _IO_stdin_used ()
#102 0x08076408 in ?? ()
#103 0x08076438 in ?? ()
#104 0x08055a95 in _init ()

Regards,
Martin
Comment 5 Martin Steigerwald 2004-10-16 15:20:20 UTC
Forgot the versions of the depending packages:

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages kontact depends on:
ii  kdelibs4                    4:3.3.0-2    KDE core libraries
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared 
libraries an
ii  libgcc1                     1:3.4.2-2    GCC support library
ii  libkcal2                    4:3.3.0-3    KDE calendaring library
ii  libkdenetwork2              4:3.3.0-3    KDE Network library
ii  libkdepim1                  4:3.3.0-3    KDE PIM library
ii  libqt3c102-mt               3:3.3.3-4.1  Qt GUI Library (Threaded 
runtime v
ii  libstdc++5                  1:3.3.4-13   The GNU Standard C++ Library 
v3

-- no debconf information

Regards, Martin
Comment 6 Igor Sosa 2004-10-19 22:58:32 UTC
My Kontact crashed on exit, too. Here is the backtrace: 
 
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1098810080 (LWP 19029)]
[KCrash handler]
#7  0x4030d17a in KABC::AddressBook::begin () from /opt/kde3/lib/libkabc.so.1
#8  0x42cf1d8b in KCal::ResourceKABC::doLoad ()
   from /opt/kde3/lib/kde3/kcal_kabc.so
#9  0x4020c4bf in KCal::ResourceCalendar::load ()
   from /opt/kde3/lib/libkcal.so.2
#10 0x42cf31e0 in KCal::ResourceKABC::writeConfig ()
   from /opt/kde3/lib/kde3/kcal_kabc.so
#11 0x403846e8 in KRES::ManagerImpl::writeResourceConfig ()
   from /opt/kde3/lib/libkresources.so.1
#12 0x40384fca in KRES::ManagerImpl::writeConfig ()
   from /opt/kde3/lib/libkresources.so.1
#13 0x42b7d3b7 in ActionManager::writeSettings ()
   from /opt/kde3/lib/libkorganizer.so.1
#14 0x429d918a in KOrganizerPart::~KOrganizerPart ()
   from /opt/kde3/lib/kde3/libkorganizerpart.so
#15 0x08062658 in Kontact::MainWindow::~MainWindow ()
#16 0x08185350 in ?? ()
#17 0xbfffeb58 in ?? ()
#18 0x40f0e9fb in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3


I'm using:
kde 3.3.1
SuSE 9.1
Comment 7 Tobias Koenig 2004-10-27 12:50:27 UTC
Hi,

to all bug reporters... please don't add "me too" statements with different backtraces to
one bug report! There is not only one reason why a program can crash, so please open a
bug report for every reason.

The first bug mentioned here has been fix in 3.3.1, for the other bug reports, please check
whether they appear in 3.3.1 and open a separated bug report for them.

Ciao,
Tobias