Bug 131004 - Crash on exit when both Akregator and KAddressbook are running inside of Kontact
Summary: Crash on exit when both Akregator and KAddressbook are running inside of Kontact
Status: RESOLVED DUPLICATE of bug 128230
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:
: 114890 125925 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-18 02:21 UTC by Stefan Borggraefe
Modified: 2006-10-28 17:50 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 Stefan Borggraefe 2006-07-18 02:21:35 UTC
Version:           1.2.3 (using KDE KDE 3.5.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I'm using the current Debian Sid packages of KDE 3.5.3/Kontact 1.2.3.

The first three steps of the following procedure to reproduce the crash are just to make sure the environment is a bit more defined. I get i different stack trace when performing the same steps with my real-life account which I'm using for some time already. See bug 128230.

Steps to reproduce:
1. Create a new test account e.g. of the name "test".
2. Log into the test account (sux - test).
3. Remove your KDE-settings (rm -rf ~/.kde).
4. Start Kontact.
5. Click on the "Feeds" icon.
6. Click on the "Contacts" icon.
7. Select "File|New Contact...".
8. Enter some data (e.g. Name "test") and press "OK".
9. Select "File|Quit".

This crashes Kontact every time with the following backtrace:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1477781184 (LWP 22976)]
[New Thread -1511609424 (LWP 23038)]
[New Thread -1503216720 (LWP 23037)]
[New Thread -1494824016 (LWP 23036)]
[New Thread -1486431312 (LWP 23035)]
[KCrash handler]
#6  0x4d05eccc in QGList::first () from /usr/lib/libqt-mt.so.3
#7  0x4cea734b in QPtrList<QSplitterLayoutStruct>::first ()
   from /usr/lib/libqt-mt.so.3
#8  0x4cea6fbd in QSplitter::sizes () from /usr/lib/libqt-mt.so.3
#9  0xa7b2814b in Akregator::View::saveSettings (this=0x85976f0)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/akregator/src/akregator_view.cpp:420
#10 0xa7b2834f in Akregator::Part::saveSettings (this=0x85af708)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/akregator/src/akregator_part.cpp:296
#11 0xa7b31e7f in Akregator::Part::slotOnShutdown (this=0x85af708)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/akregator/src/akregator_part.cpp:261
#12 0xa7b31fd2 in Akregator::Part::qt_invoke (this=0x85af708, _id=16, 
    _o=0xafa107ac) at ./akregator_part.moc:222
#13 0x4cd6054b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#14 0x4cd60fdc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0x4d3ed15c in KApplication::shutDown () from /usr/lib/libkdecore.so.4
#16 0x4d40355b in KApplication::qt_emit () from /usr/lib/libkdecore.so.4
#17 0x4d40359b in KUniqueApplication::qt_emit () from /usr/lib/libkdecore.so.4
#18 0x4cd6064c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0x4cd60fdc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0x4d0ea79d in QApplication::aboutToQuit () from /usr/lib/libqt-mt.so.3
#21 0x4cd0f313 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#22 0x4ccf53b9 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#23 0x4de941f0 in KIO::NetAccess::enter_loop () from /usr/lib/libkio.so.4
#24 0x4ded0599 in KIO::NetAccess::synchronousRunInternal ()
   from /usr/lib/libkio.so.4
#25 0x4df0ebb1 in KIO::NetAccess::synchronousRun () from /usr/lib/libkio.so.4
#26 0xa7cf8d22 in KABC::ResourceFile::save () from /usr/lib/libkabc_file.so.1
#27 0x4e23f216 in KABC::AddressBook::save () from /usr/lib/libkabc.so.1
#28 0x4e2542a6 in KABC::StdAddressBook::saveAll () from /usr/lib/libkabc.so.1
#29 0x4e254438 in KABC::StdAddressBook::~StdAddressBook ()
   from /usr/lib/libkabc.so.1
#30 0x4e243e92 in KABC::StdAddressBook::close () from /usr/lib/libkabc.so.1
#31 0x4d79d3f4 in ~KABCore (this=0x86b3308)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/kaddressbook/kabcore.cpp:193
#32 0x4cd98ffd in QWidget::~QWidget () from /usr/lib/libqt-mt.so.3
#33 0x4d5b2a7d in KParts::Part::~Part () from /usr/lib/libkparts.so.2
#34 0x4d5b9cbd in KParts::ReadOnlyPart::~ReadOnlyPart ()
   from /usr/lib/libkparts.so.2
#35 0xa76a8bbb in ~KAddressbookPart (this=0x869d480)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/kaddressbook/kaddressbook_part.cpp:78
#36 0x08060a38 in ~MainWindow (this=0x815d4a8)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/kontact/src/mainwindow.cpp:190
#37 0x4cd5d7cc in QObject::event () from /usr/lib/libqt-mt.so.3
#38 0x4cd9ab9a in QWidget::event () from /usr/lib/libqt-mt.so.3
#39 0x4ce6cbfc in QMainWindow::event () from /usr/lib/libqt-mt.so.3
#40 0x4ccf687a in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#41 0x4ccf75f5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#42 0x4d4b032e in KApplication::notify () from /usr/lib/libkdecore.so.4
#43 0x4cc88001 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#44 0x4ccf7ec5 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#45 0x4cd0f327 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#46 0x4cd0f17a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#47 0x4ccf538d in QApplication::exec () from /usr/lib/libqt-mt.so.3
#48 0x0805ac3f in main (argc=141039064, argv=0xafa114a4)
    at /tmp/buildd/kdepim-3.5.3/build-tree/kdepim-3.5.3/kontact/src/main.cpp:161
#49 0x4a2cdeb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#50 0x080582b1 in _start () at ../sysdeps/i386/elf/start.S:119
Comment 1 Albert Cervera Areny 2006-07-20 00:45:46 UTC
I've been testing a bit, and got the crash when kaddressbook found the resource file already locked. It shouws the dialog indicating the lock, and even without closing this dialog the application crashes, but only if akregator had been opened too.
Comment 2 Andreas Kling 2006-07-31 14:10:58 UTC
*** Bug 114890 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Kling 2006-07-31 14:59:40 UTC
*** Bug 125925 has been marked as a duplicate of this bug. ***
Comment 4 Fabio Rossi 2006-09-20 11:15:13 UTC
Here is another report:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1239296336 (LWP 5852)]
[New Thread -1276286048 (LWP 5957)]
[New Thread -1267893344 (LWP 5956)]
[New Thread -1259500640 (LWP 5955)]
[New Thread -1251107936 (LWP 5954)]
[KCrash handler]
#9  0xb6a8b2c2 in QSplitter::sizes () from /usr/qt/3/lib/libqt-mt.so.3
#10 0xb35f9a76 in Akregator::View::saveSettings ()
   from /usr/kde/3.5/lib/kde3/libakregatorpart.so
#11 0xb35f9c5e in Akregator::Part::saveSettings ()
   from /usr/kde/3.5/lib/kde3/libakregatorpart.so
#12 0xb3602ade in Akregator::Part::slotOnShutdown ()
   from /usr/kde/3.5/lib/kde3/libakregatorpart.so
#13 0xb3602bee in Akregator::Part::qt_invoke ()
   from /usr/kde/3.5/lib/kde3/libakregatorpart.so
#14 0xb69780f4 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#15 0xb6978cc8 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#16 0xb6f53cfe in KApplication::shutDown ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#17 0xb6f66954 in KApplication::qt_emit ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#18 0xb6f66989 in KUniqueApplication::qt_emit ()
   from /usr/kde/3.5/lib/libkdecore.so.4
#19 0xb697814c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb6978cc8 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#21 0xb6c822fe in QApplication::aboutToQuit () from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb6932f2a in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#23 0xb691cf95 in QApplication::enter_loop () from /usr/qt/3/lib/libqt-mt.so.3
#24 0xb74b0555 in KIO::NetAccess::enter_loop ()
   from /usr/kde/3.5/lib/libkio.so.4
#25 0xb74e89ad in KIO::NetAccess::synchronousRunInternal ()
   from /usr/kde/3.5/lib/libkio.so.4
#26 0xb74f2916 in KIO::NetAccess::synchronousRun ()
   from /usr/kde/3.5/lib/libkio.so.4
#27 0xb6185a7e in KABC::ResourceFile::save ()
   from /usr/kde/3.5/lib/libkabc_file.so.1
#28 0xb7cd4a18 in KABC::AddressBook::save () from /usr/kde/3.5/lib/libkabc.so.1
#29 0xb5f341df in KABCore::save () from /usr/kde/3.5/lib/libkaddressbook.so.0
#30 0xb604ee1e in KAddressbookPart::~KAddressbookPart ()
   from /usr/kde/3.5/lib/kde3/libkaddressbookpart.so
#31 0x0806097e in Kontact::MainWindow::~MainWindow ()
#32 0x0805ae46 in main ()
#33 0x080773c0 in ?? ()
#34 0x00000001 in ?? ()
#35 0x00000001 in ?? ()
#36 0x00000000 in ?? ()
Comment 5 Will Stephenson 2006-10-28 17:50:59 UTC
Nested event loop

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