Bug 128230 - Nested event loop causes crash on addressbook
Summary: Nested event loop causes crash on addressbook
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 131004 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-29 10:31 UTC by Mr Ter
Modified: 2007-02-12 16:01 UTC (History)
5 users (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 Mr Ter 2006-05-29 10:31:53 UTC
Version:           1.1 (using KDE 3.5.1 Level "a" , SUSE 10.1)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.13-4-default

Kontact crashed when closing down with the stack trace below.


System configuration startup check disabled.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1241147728 (LWP 12727)]
[New Thread -1294390368 (LWP 12821)]
[New Thread -1281889376 (LWP 12731)]
[New Thread -1273496672 (LWP 12730)]
[New Thread -1265103968 (LWP 12729)]
[New Thread -1256711264 (LWP 12728)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x08bcb014 in ?? ()
#7  0xb0b81e6c in Akregator::View::feedListToOPML ()
   from /opt/kde3/lib/kde3/libakregatorpart.so
#8  0xb0bc2b78 in Akregator::Part::slotSaveFeedList ()
   from /opt/kde3/lib/kde3/libakregatorpart.so
#9  0xb0bcb6de in Akregator::Part::slotOnShutdown ()
   from /opt/kde3/lib/kde3/libakregatorpart.so
#10 0xb0bcb7f3 in Akregator::Part::qt_invoke ()
   from /opt/kde3/lib/kde3/libakregatorpart.so
#11 0xb6c34b5d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb6c357bd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb71a9e9c in KApplication::shutDown () from /opt/kde3/lib/libkdecore.so.4
#14 0xb71bd11b in KApplication::qt_emit () from /opt/kde3/lib/libkdecore.so.4
#15 0xb71bd15b in KUniqueApplication::qt_emit ()
   from /opt/kde3/lib/libkdecore.so.4
#16 0xb6c34b19 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb6c357bd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb6f6411c in QApplication::aboutToQuit ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb6becaf5 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb6bd576f in QApplication::enter_loop ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb51e7c05 in KABC::ResourceLDAPKIO::enter_loop ()
   from /opt/kde3/lib/libkabc_ldapkio.so.1
#22 0xb51e7e3a in KABC::ResourceLDAPKIO::save ()
   from /opt/kde3/lib/libkabc_ldapkio.so.1
#23 0xb662b84c in KABC::AddressBook::save () from /opt/kde3/lib/libkabc.so.1
#24 0xb01dafb5 in KABCore::save () from /opt/kde3/lib/libkaddressbook.so.0
#25 0xb0b1dbea in KAddressbookPart::~KAddressbookPart ()
   from /opt/kde3/lib/kde3/libkaddressbookpart.so
#26 0x08060cd0 in ?? ()
#27 0x0956e0e8 in ?? ()
#28 0x081e6d30 in ?? ()
#29 0xbfb2afe8 in ?? ()
#30 0x08068d08 in vtable for QPtrList<KParts::Part> ()
#31 0xbfb2af00 in ?? ()
#32 0x087f0390 in ?? ()
#33 0x08ebdf10 in ?? ()
#34 0x08ebdf10 in ?? ()
#35 0x00000005 in ?? ()
#36 0x00000006 in ?? ()
#37 0x00000000 in ?? ()
Comment 1 Stefan Borggraefe 2006-07-18 02:31:39 UTC
I'm using the current Debian Sid packages of KDE 3.5.3/Kontact 1.2.3.

Here's a backtrace with line numbers. I can reproduce the crash with the same steps given in bug 131004, but with an older account which already has more feeds and lots of contacts contacts. Kontact crashes every time.

Steps to reproduce:
1. Start Kontact. 
2. Click on the "Feeds" icon. 
3. Click on the "Contacts" icon.
4. Select "File|Quit".

So this is similar to bug 131004, but the backtraces looks slightly different. Thus I'm confirming this bug for now, too. Lets see whether they are dupes later.

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1478600384 (LWP 22100)]
[KCrash handler]
#6  0x643d6c68 in ?? ()
#7  0xa7854dcc in Akregator::View::feedListToOPML (this=0x82c6d50)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/akregator/src/akregator_view.cpp:601
#8  0xa78973f8 in Akregator::Part::slotSaveFeedList (this=0x8276528)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/akregator/src/akregator_part.cpp:480
#9  0xa789ee8a in Akregator::Part::slotOnShutdown (this=0x8276528)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/akregator/src/akregator_part.cpp:262
#10 0xa789efd2 in Akregator::Part::qt_invoke (this=0x8276528, _id=16, 
    _o=0xaf93c79c) at ./akregator_part.moc:222
#11 0x4cd6054b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0x4cd60fdc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0x4d3ed15c in KApplication::shutDown () from /usr/lib/libkdecore.so.4
#14 0x4d40355b in KApplication::qt_emit () from /usr/lib/libkdecore.so.4
#15 0x4d40359b in KUniqueApplication::qt_emit () from /usr/lib/libkdecore.so.4
#16 0x4cd6051f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0x4cd60fdc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0x4d0ea79d in QApplication::aboutToQuit () from /usr/lib/libqt-mt.so.3
#19 0x4cd0f313 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#20 0x4ccf53b9 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#21 0x4de941f0 in KIO::NetAccess::enter_loop () from /usr/lib/libkio.so.4
#22 0x4ded0599 in KIO::NetAccess::synchronousRunInternal ()
   from /usr/lib/libkio.so.4
#23 0x4df0ebb1 in KIO::NetAccess::synchronousRun () from /usr/lib/libkio.so.4
#24 0xa759ed22 in KABC::ResourceFile::save () from /usr/lib/libkabc_file.so.1
#25 0x4e23f216 in KABC::AddressBook::save () from /usr/lib/libkabc.so.1
#26 0xa7641b85 in KABCore::save (this=0x81e4d70)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/kaddressbook/kabcore.cpp:742
#27 0xa76ebb86 in ~KAddressbookPart (this=0x86322a0)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/kaddressbook/kaddressbook_part.cpp:73
#28 0x08060a38 in ~MainWindow (this=0x81416b0)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/kontact/src/mainwindow.cpp:190
#29 0x4cd5d7cc in QObject::event () from /usr/lib/libqt-mt.so.3
#30 0x4cd9ab9a in QWidget::event () from /usr/lib/libqt-mt.so.3
#31 0x4ce6cbfc in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#32 0x4ccf687a in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#33 0x4ccf75f5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#34 0x4d4b032e in KApplication::notify () from /usr/lib/libkdecore.so.4
#35 0x4cc88001 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#36 0x4ccf7ec5 in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#37 0x4cd0f327 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#38 0x4cd0f17a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#39 0x4ccf538d in QApplication::exec () from /usr/lib/libqt-mt.so.3
#40 0x0805ac3f in main (argc=6041, argv=0xaf93d3c4)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/kontact/src/main.cpp:161
#41 0x4a2cdeb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#42 0x080582b1 in _start () at ../sysdeps/i386/elf/start.S:119
Comment 2 Will Stephenson 2006-10-28 17:51:03 UTC
*** Bug 131004 has been marked as a duplicate of this bug. ***
Comment 3 Tobias Koenig 2007-02-12 16:01:51 UTC
Hi,

the KIO::NetAccess call in KABC::ResourceFile::save was removed for 3.5.6, so the crash
shouldn't happen there again. For the KABC::ResourceLDAPKIO we can't change it before KDE 4.0, sorry :}

Ciao,
Tobias