Bug 199530

Summary: Closing Kontact (and other situations) causes a crash [QCoreApplication::notifyInternal, ..., KMessageBox::createKMessageBox, ..., KABC::GuiErrorHandler::error]
Product: [Applications] kdepimlibs Reporter: Quentin <hammett>
Component: kabcAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andresbajotierra, anthony.leduc, bobby.culture, bruno, camilleinfo, crglasoe, davidbutlerinmagrath, el.andreas.k, fbianco, ian.dunmill, igor.donev, kdepim-bugs, mistermasque, paananen.t, sayeed.ka, sgp.digital, sylvain.bernard, three3q, wissamg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Quentin 2009-07-09 10:00:35 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc1
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1)) "release 139"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.23-0.1-default x86_64
Distribution: "openSUSE 11.1 (x86_64)"

What I was doing when the application crashed:
When closing Kontact it crashes with the attached output, it also seems to slow down to the speed of a fat man doing the 100 metres in molasses.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f5aa96c7930 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#6  0x00007f5aa8436ea4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#7  0x00007f5aa83e5b0d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#8  0x00007f5aa83edd9a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#9  0x00007f5aaa5045cb in KApplication::notify (this=0x7fffb6035850, receiver=0x1ba0050, event=0x7fffb6033de0) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#10 0x00007f5aa96c794c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#11 0x00007f5aa8436ea4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007f5aa878c7ab in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007f5aa83e5b0d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007f5aa83edd9a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007f5aaa5045cb in KApplication::notify (this=0x7fffb6035850, receiver=0x7e4aa0, event=0x7fffb6033de0) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#16 0x00007f5aa96c794c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#17 0x00007f5aa8436ea4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f5aa83e5b0d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f5aa83edd9a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f5aaa5045cb in KApplication::notify (this=0x7fffb6035850, receiver=0x6d8fd0, event=0x7fffb6033de0) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#21 0x00007f5aa96c794c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#22 0x00007f5aa8436ea4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f5aa83e5b0d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f5aa83edd9a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f5aaa5045cb in KApplication::notify (this=0x7fffb6035850, receiver=0x6d9060, event=0x7fffb6033de0) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#26 0x00007f5aa96c794c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#27 0x00007f5aa8436ea4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007f5aa87a711b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007f5aaa6112c8 in KXmlGuiWindow::event (this=0x3, ev=0x0) at /usr/src/debug/kdelibs-4.2.95/kdeui/xmlgui/kxmlguiwindow.cpp:131
#30 0x00007f5aa83e5b0d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f5aa83edd9a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x00007f5aaa5045cb in KApplication::notify (this=0x7fffb6035850, receiver=0x7c9110, event=0x7fffb6033de0) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#33 0x00007f5aa96c794c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#34 0x00007f5aa83ec0c2 in QApplicationPrivate::enterModal(QWidget*) () from /usr/lib64/libQtGui.so.4
#35 0x00007f5aa843b9d5 in QWidgetPrivate::show_helper() () from /usr/lib64/libQtGui.so.4
#36 0x00007f5aa843be8a in QWidget::setVisible(bool) () from /usr/lib64/libQtGui.so.4
#37 0x00007f5aa886049c in QDialog::setVisible(bool) () from /usr/lib64/libQtGui.so.4
#38 0x00007f5aa885f715 in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#39 0x00007f5aaa48a182 in KMessageBox::createKMessageBox (dialog=0x1075af0, icon=<value optimized out>, text=@0x7fffb6034820, strlist=@0x7fffb6034710, ask=@0x7fffb6034640, checkboxReturn=0x0, 
    options={i = -1241299552}, details=@0x7fffb6034630, notifyType=QMessageBox::Critical) at /usr/src/debug/kdelibs-4.2.95/kdeui/dialogs/kmessagebox.cpp:331
#40 0x00007f5aaa48b317 in KMessageBox::createKMessageBox (dialog=0x1075af0, icon=QMessageBox::Critical, text=@0x7fffb6034820, strlist=@0x7fffb6034710, ask=@0x7fffb6034640, checkboxReturn=0x0, 
    options={i = -1241299296}, details=@0x7fffb6034630) at /usr/src/debug/kdelibs-4.2.95/kdeui/dialogs/kmessagebox.cpp:151
#41 0x00007f5aaa48c17c in KMessageBox::errorListWId (parent_id=70231049, text=@0x7fffb6034820, strlist=@0x7fffb6034710, caption=@0x7fffb6034750, options={i = -1241299168})
    at /usr/src/debug/kdelibs-4.2.95/kdeui/dialogs/kmessagebox.cpp:849
#42 0x00007f5aaa48c348 in KMessageBox::error (parent=<value optimized out>, text=@0x7fffb6034820, caption=@0x7fffb6034750, options=<value optimized out>)
    at /usr/src/debug/kdelibs-4.2.95/kdeui/dialogs/kmessagebox.cpp:813
#43 0x00007f5aabd0defe in KABC::GuiErrorHandler::error (this=<value optimized out>, msg=@0x0) at /usr/src/debug/kdepimlibs-4.2.95/kabc/errorhandler.cpp:76
#44 0x00007f5aabcefe84 in KABC::AddressBook::error (this=0x102fc00, msg=@0x7fffb6034820) at /usr/src/debug/kdepimlibs-4.2.95/kabc/addressbook.cpp:910
#45 0x00007f5a97b7a4be in KABC::ResourceFile::requestSaveTicket (this=0x186b240) at /usr/src/debug/kdepimlibs-4.2.95/kabc/plugins/file/resourcefile.cpp:145
#46 0x00007f5aabcf1fbb in KABC::AddressBook::requestSaveTicket (this=0x102fc00, resource=0x186b240) at /usr/src/debug/kdepimlibs-4.2.95/kabc/addressbook.cpp:528
#47 0x00007f5aabd1d162 in KABC::StdAddressBook::Private::saveAll (this=0x184ee50) at /usr/src/debug/kdepimlibs-4.2.95/kabc/stdaddressbook.cpp:197
#48 0x00007f5aabd1d3c9 in ~StdAddressBook (this=0x102fc00) at /usr/src/debug/kdepimlibs-4.2.95/kabc/stdaddressbook.cpp:138
#49 0x00007f5aabd1c686 in KABC::StdAddressBook::close () at /usr/src/debug/kdepimlibs-4.2.95/kabc/stdaddressbook.cpp:227
#50 0x00007f5a980b5690 in ~KABCore (this=0x3233d40) at /usr/src/debug/kdepim-4.2.95/kaddressbook/kabcore.cpp:203
#51 0x00007f5aa96d6181 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#52 0x00007f5aa8431be2 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#53 0x00007f5aaadd902b in ~Part (this=0x55f1530, __vtt_parm=0x7f5a8b6de4f0) at /usr/src/debug/kdelibs-4.2.95/kparts/part.cpp:208
#54 0x00007f5a8b4db6db in ~KAddressbookPart (this=0x55f1530) at /usr/src/debug/kdepim-4.2.95/kaddressbook/kaddressbook_part.cpp:87
#55 0x00007f5aacd9616e in ~Plugin (this=0xa30b50, __vtt_parm=0x0) at /usr/src/debug/kdepim-4.2.95/kontactinterfaces/plugin.cpp:86
#56 0x00007f5a96a3ddb5 in ~KAddressbookPlugin (this=0x3) at /usr/src/debug/kdepim-4.2.95/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp:82
#57 0x00007f5aacfb7606 in ~MainWindow (this=0x7c9110) at /usr/src/debug/kdepim-4.2.95/kontact/src/mainwindow.cpp:274
#58 0x00007f5aa96d78c5 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#59 0x00007f5aa843631d in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#60 0x00007f5aa87a711b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#61 0x00007f5aaa6112c8 in KXmlGuiWindow::event (this=0x3, ev=0x0) at /usr/src/debug/kdelibs-4.2.95/kdeui/xmlgui/kxmlguiwindow.cpp:131
#62 0x00007f5aa83e5b0d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#63 0x00007f5aa83edd9a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#64 0x00007f5aaa5045cb in KApplication::notify (this=0x7fffb6035850, receiver=0x7c9110, event=0xd8aa20) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#65 0x00007f5aa96c794c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#66 0x00007f5aa96c85ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#67 0x00007f5aa96f10b3 in ?? () from /usr/lib64/libQtCore.so.4
#68 0x00007f5aa2f9a0fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#69 0x00007f5aa2f9d8cd in ?? () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f5aa2f9da8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#71 0x00007f5aa96f0d3f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#72 0x00007f5aa847cfef in ?? () from /usr/lib64/libQtGui.so.4
#73 0x00007f5aa96c61d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#74 0x00007f5aa96c65a4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#75 0x00007f5aa96c8894 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#76 0x0000000000404995 in main (argc=1, argv=0x7fffb6035f38) at /usr/src/debug/kdepim-4.2.95/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 198434

Reported using DrKonqi
Comment 1 Christophe Marin 2009-07-09 11:32:55 UTC

*** This bug has been marked as a duplicate of bug 179304 ***
Comment 2 Dario Andres 2009-07-18 17:28:08 UTC
Reopening to use as main report.
Comment 3 Dario Andres 2009-07-18 17:28:54 UTC
*** Bug 179304 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-07-18 17:29:17 UTC
*** Bug 200604 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2009-08-15 23:10:44 UTC
*** Bug 203867 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2009-08-19 13:57:23 UTC
*** Bug 204369 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2009-09-25 19:58:15 UTC
*** Bug 208535 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-10-04 02:09:18 UTC
*** Bug 209352 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2009-10-07 10:53:58 UTC
*** Bug 209708 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2009-10-17 00:08:38 UTC
*** Bug 210842 has been marked as a duplicate of this bug. ***
Comment 11 Christophe Marin 2009-10-28 10:05:01 UTC
*** Bug 212114 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2009-11-04 15:49:09 UTC
From bug 213052:
What I was doing when the application crashed:
As I was loosing records in schedule & addressbook ( file sync ) I hit the save
button on addressbook to save it.
And launch save schedules on the akonadi in korganizer.
Comment 13 Dario Andres 2009-11-04 15:49:12 UTC
*** Bug 213052 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2009-11-11 02:46:10 UTC
From bug 213476:
---
What I was doing when the application crashed:
I tried to modify a contact wich is saved in an Akonadi resource (syncronised
with google). And after few minutes, I can't save any modification on a
contact. And finally, Kontact crashed during closing.
Comment 15 Dario Andres 2009-11-11 02:46:15 UTC
*** Bug 213476 has been marked as a duplicate of this bug. ***
Comment 16 Christophe Marin 2009-11-17 07:14:47 UTC
*** Bug 214917 has been marked as a duplicate of this bug. ***
Comment 17 Christophe Marin 2009-11-17 12:12:18 UTC
*** Bug 214935 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2009-11-25 14:47:10 UTC
From bug 215874:
---
What I was doing when the application crashed:
when saving contact in Kontact failed to save to a file on my desktop.
Comment 19 Dario Andres 2009-11-25 14:47:11 UTC
*** Bug 215874 has been marked as a duplicate of this bug. ***
Comment 20 Christophe Marin 2009-11-30 16:36:22 UTC
*** Bug 216558 has been marked as a duplicate of this bug. ***
Comment 21 Dario Andres 2009-12-11 13:03:15 UTC
From bug 218233:
---
What I was doing when the application crashed:
I add a new contact in my kontact. 
It works with akanodi and synchronize with google.

When I want to closed the software, it crash...
At this time, my connection lag.
Comment 22 Dario Andres 2009-12-11 13:03:16 UTC
*** Bug 218233 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2009-12-15 14:09:04 UTC
From bug 218666:
---
What I was doing when the application crashed:
After closing Kontact I receive several messages indicating that the one or
more resource files used by Akonadi are being used by another application and
cannot be closed out.
Comment 24 Dario Andres 2009-12-15 14:09:08 UTC
*** Bug 218666 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2009-12-21 23:43:51 UTC
*** Bug 219575 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2009-12-30 22:08:03 UTC
From bug 220710:
---
What I was doing when the application crashed:
I was doing maintenance on names and addresses.  trying to standardize. 
verifying that all names are "last name" "coma" "first name".  process seems to
wrok for upto 5 contacts (sometimes less) than slows down to 30 seconds to 3
minutes or crashes.  shutting down kontact after 5 changes and then restarting
keepps process fast.  There has to be a better way.
Comment 27 Dario Andres 2009-12-30 22:08:11 UTC
*** Bug 220710 has been marked as a duplicate of this bug. ***
Comment 28 Christophe Marin 2010-01-04 17:09:06 UTC
*** Bug 221219 has been marked as a duplicate of this bug. ***
Comment 29 Dario Andres 2010-01-28 23:11:22 UTC
*** Bug 224266 has been marked as a duplicate of this bug. ***
Comment 30 Dario Andres 2010-03-16 13:24:47 UTC
*** Bug 230344 has been marked as a duplicate of this bug. ***
Comment 31 Christophe Marin 2010-04-08 08:57:07 UTC
*** Bug 233523 has been marked as a duplicate of this bug. ***
Comment 32 Christophe Marin 2010-09-19 21:11:21 UTC
*** Bug 207200 has been marked as a duplicate of this bug. ***
Comment 33 Denis Kurz 2016-09-24 20:55:39 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kdepim (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 34 Denis Kurz 2017-01-07 21:54:52 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.