Bug 102470 - kontact crashes with addressbook component
Summary: kontact crashes with addressbook component
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 3.5
Platform: openSUSE Linux
: HI crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
: 119564 120494 123189 128540 129432 130249 131569 133425 160662 168561 197813 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-25 16:37 UTC by Alessio Merlo
Modified: 2010-03-28 21:04 UTC (History)
15 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 Alessio Merlo 2005-03-25 16:37:56 UTC
Version:           1.1 (using KDE KDE 3.4.0)
Installed from:    RedHat RPMs
Compiler:          gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) 
OS:                Linux

Kontact crashes with addressbook plug in. It crashes not immediately, but after few minutes. After the first crash, it crashes on each startup. The only way to start it is setting false the addressbook-plugin parameter in kontactrc file.

I don't know how to reproduce the crash. In this moment, for the Murphy's laws, it works. I will report the backtrace ASAP.
Comment 1 Mark Ziegler 2005-03-25 16:51:24 UTC
Same here with SuSE 9.2.
I am able to reproduce it. My default start app is email. I just open kontact, select addressbook and close it. In kontactrc I have found this lines
[View]
ActivePlugin=kontact_kaddressbookplugin
ForceStartupPlugin=true
ForcedStartupPlugin=kontact_kmailplugin
LastVersionSeen=1.1
SidePaneSplitter=130,958

After every start of kontact freezes after a few seconds (around 2) in email.

Fix is:
ActivePlugin=kontact_kmailplugin
ForceStartupPlugin=true
ForcedStartupPlugin=kontact_kmailplugin

My packages are compiled without debug so only that line appears in konsole:
QButton::setState() / setOn: (unnamed) Only toggle buttons may be switched
Comment 2 Alessio Merlo 2005-03-26 15:11:43 UTC
The solution of the above comment resolve the problem. Thanks to Mark !
Comment 3 Mark Ziegler 2005-03-26 15:17:54 UTC
My fix was to edit the config file.
This isn't a fix for normal work, or?
Comment 4 Daniel Molkentin 2005-06-09 14:22:49 UTC
*** Bug 107085 has been marked as a duplicate of this bug. ***
Comment 5 Mark Ziegler 2005-06-18 16:00:30 UTC
Bug ist still there in the latest release.
Comment 6 Tobias Koenig 2005-08-15 20:57:12 UTC
Hi,

Can you send a backtrace please? Otherwise we aren't able to fix the problem.

Ciao,
Tobias
Comment 7 Mark Ziegler 2005-08-16 18:32:56 UTC
I installed KDE 3.4.2 and oops! It works now!

It#s like always:
Nobody did anything.

Worksforme, now!

Cheers,
Mark
Comment 8 Alessio Merlo 2005-08-17 19:40:29 UTC
Hi. I installed kde 3.4.2, but Kontact crashes all the same. 
I have Kontact with Kmail, contacts and calendar parts activated. The crash depends on changing views between mail and contacts parts. At this moment, neither the solution of Mark fix the problem. In my kontactrc the view section is the following
[View]
ActivePlugin=kontact_kmailplugin
ForceStartupPlugin=true
ForcedStartupPlugin=kontact_kmailplugin
LastVersionSeen=1.1.1
SidePaneSplitter=74,933

I still tried to delete kontactrc. But the problem withstands. 

Backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/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)
[Thread debugging using libthread_db enabled]
[New Thread 1105381088 (LWP 21401)]
(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]
#7  0x00000011 in ?? ()
#8  0x40a247e4 in KXMLGUI::ActionList::unplug ()
   from /opt/kde3/lib/libkdeui.so.4
#9  0x40a75668 in KXMLGUI::ContainerNode::unplugClient ()
   from /opt/kde3/lib/libkdeui.so.4
#10 0x40a759e5 in KXMLGUI::ContainerNode::unplugActions ()
   from /opt/kde3/lib/libkdeui.so.4
#11 0x40a75a6c in KXMLGUI::ContainerNode::destruct ()
   from /opt/kde3/lib/libkdeui.so.4
#12 0x40a75c7c in KXMLGUI::ContainerNode::destructChildren ()
   from /opt/kde3/lib/libkdeui.so.4
#13 0x40a75a60 in KXMLGUI::ContainerNode::destruct ()
   from /opt/kde3/lib/libkdeui.so.4
#14 0x40b206f8 in KXMLGUIFactory::removeClient ()
   from /opt/kde3/lib/libkdeui.so.4
#15 0x40519b32 in KParts::MainWindow::createGUI ()
   from /opt/kde3/lib/libkparts.so.2
#16 0x0805f277 in ?? ()
#17 0x08128fe0 in ?? ()
#18 0x082a9e48 in ?? ()
#19 0xbfffe4d0 in ?? ()
#20 0x00000013 in ?? ()
#21 0x00000013 in ?? ()
#22 0x00000013 in ?? ()
#23 0x00000013 in ?? ()
#24 0x00000013 in ?? ()
#25 0x00000013 in ?? ()
#26 0x00000013 in ?? ()
#27 0x00000000 in ?? ()
#28 0x08128fe0 in ?? ()
#29 0x00000013 in ?? ()
#30 0x00000013 in ?? ()
#31 0x00000013 in ?? ()
#32 0x00000013 in ?? ()
#33 0x00000013 in ?? ()
#34 0x00000013 in ?? ()
#35 0x00000013 in ?? ()
#36 0x00000013 in ?? ()
#37 0x00000013 in ?? ()
#38 0x00000013 in ?? ()
#39 0x00000013 in ?? ()
#40 0x00000013 in ?? ()
#41 0x00000013 in ?? ()
#42 0x00000013 in ?? ()
#43 0x00000013 in ?? ()
#44 0x00000013 in ?? ()
#45 0x00000013 in ?? ()
#46 0x00000013 in ?? ()
#47 0x00000013 in ?? ()
#48 0x00000013 in ?? ()
#49 0x00000013 in ?? ()
#50 0x00000013 in ?? ()
#51 0x00000013 in ?? ()
#52 0x00000013 in ?? ()
#53 0x00000013 in ?? ()
#54 0x00000013 in ?? ()
#55 0x00000013 in ?? ()
#56 0x00000013 in ?? ()
#57 0x08160240 in ?? ()
#58 0x00000013 in ?? ()
#59 0x00000013 in ?? ()
#60 0x00000013 in ?? ()
#61 0x08160240 in ?? ()
#62 0x00000013 in ?? ()
#63 0x00000013 in ?? ()
#64 0x00000013 in ?? ()
#65 0x00000013 in ?? ()
#66 0x00000013 in ?? ()
#67 0x00000013 in ?? ()
#68 0x00000013 in ?? ()
#69 0x00000013 in ?? ()
#70 0x00000013 in ?? ()
#71 0x00000013 in ?? ()
#72 0x00000013 in ?? ()
#73 0x0825db70 in ?? ()
#74 0x00000013 in ?? ()
#75 0x00000013 in ?? ()
#76 0x00000013 in ?? ()
#77 0x00000013 in ?? ()
#78 0x00000013 in ?? ()
#79 0x00000013 in ?? ()
#80 0x00000013 in ?? ()
#81 0x00000013 in ?? ()
#82 0x00000013 in ?? ()
#83 0x00000013 in ?? ()
#84 0x00000013 in ?? ()
#85 0x00000013 in ?? ()
#86 0x00000013 in ?? ()
#87 0x00000013 in ?? ()
#88 0x00000013 in ?? ()
#89 0x00000013 in ?? ()
#90 0x00000013 in ?? ()
#91 0x00000013 in ?? ()
#92 0x00000013 in ?? ()
#93 0x08106c78 in ?? ()
#94 0x00000013 in ?? ()
#95 0x00000013 in ?? ()
#96 0x00000013 in ?? ()
#97 0x00000013 in ?? ()
#98 0x00000013 in ?? ()
#99 0x00000013 in ?? ()
#100 0x00000013 in ?? ()
#101 0x00000013 in ?? ()
#102 0x00000013 in ?? ()
#103 0x00000013 in ?? ()
#104 0x00000001 in ?? ()
#105 0x081290d8 in ?? ()
#106 0xbfffe580 in ?? ()
#107 0xbfffe5d8 in ?? ()
#108 0x08061d0f in ?? ()
#109 0x08128fe0 in ?? ()
#110 0x08265ab8 in ?? ()
#111 0x00000001 in ?? ()
#112 0xbfffe5a0 in ?? ()
#113 0x0855ad80 in ?? ()
#114 0x080786d0 in ?? ()
#115 0xbfffe5b8 in ?? ()
#116 0x08128fe0 in ?? ()
#117 0x0825db70 in ?? ()
#118 0xbfffe5a0 in ?? ()
#119 0x00000001 in ?? ()
#120 0x414fc8d4 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
#121 0x0828b8d0 in ?? ()
#122 0xbfffe610 in ?? ()
#123 0xbfffe5b8 in ?? ()
#124 0x41389b4c in QString::operator= () from /usr/lib/qt3/lib/libqt-mt.so.3
Comment 9 Alessio Merlo 2005-08-17 19:43:34 UTC
Hi. For the reason above. I reopen the Bug.

Alessio. 
Comment 10 Thiago Macieira 2006-06-17 22:21:43 UTC
*** Bug 119564 has been marked as a duplicate of this bug. ***
Comment 11 Thiago Macieira 2006-06-17 22:21:49 UTC
*** Bug 120494 has been marked as a duplicate of this bug. ***
Comment 12 Thiago Macieira 2006-06-17 22:22:04 UTC
*** Bug 123189 has been marked as a duplicate of this bug. ***
Comment 13 Thiago Macieira 2006-06-17 22:22:14 UTC
*** Bug 128540 has been marked as a duplicate of this bug. ***
Comment 14 Thiago Macieira 2006-06-17 22:22:52 UTC
Bug 128540 has a good backtrace, with line numbers.
Comment 15 Philip Rodrigues 2006-06-21 12:22:54 UTC
*** Bug 129432 has been marked as a duplicate of this bug. ***
Comment 16 jeff.causey 2006-06-21 15:57:09 UTC
I tried to edit the kontactrc file as indicated above.  My file did not have any of those lines to start with, just lines for LastVersionSeen and SidePaneSplitter.  I added in the ActivePlugin, ForceStartupPlugin, and ForcedStartupPlugin lines as indicated.  That resulted in Kontact not even starting up.  I finally did get it going by starting kmail first, then kontact.  I was able to switch from mail to addressbook one time, but upon trying to switch to summary, kontact crashed again.  Below is the backtrace.

I also tried deleting the kontactrc file.  However, the original problem was still there (could not switch from mail to any other module).

System configuration startup check disabled.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1240250704 (LWP 23444)]
[New Thread -1284007008 (LWP 23494)]
[New Thread -1275614304 (LWP 23493)]
[New Thread -1267221600 (LWP 23492)]
[New Thread -1258828896 (LWP 23491)]
[KCrash handler]
#6  0x00746867 in ?? ()
#7  0xb755f7b0 in KXMLGUI::ActionList::unplug ()
   from /opt/kde3/lib/libkdeui.so.4
#8  0xb7601d25 in KXMLGUI::ContainerNode::unplugClient ()
   from /opt/kde3/lib/libkdeui.so.4
#9  0xb7601fac in KXMLGUI::ContainerNode::unplugActions ()
   from /opt/kde3/lib/libkdeui.so.4
#10 0xb760200f in KXMLGUI::ContainerNode::destruct ()
   from /opt/kde3/lib/libkdeui.so.4
#11 0xb760220a in KXMLGUI::ContainerNode::destructChildren ()
   from /opt/kde3/lib/libkdeui.so.4
#12 0xb7601ffd in KXMLGUI::ContainerNode::destruct ()
   from /opt/kde3/lib/libkdeui.so.4
#13 0xb760d351 in KXMLGUIFactory::removeClient ()
   from /opt/kde3/lib/libkdeui.so.4
#14 0xb7acfa5a in KParts::MainWindow::createGUI ()
   from /opt/kde3/lib/libkparts.so.2
#15 0x0805c567 in Kontact::MainWindow::selectPlugin ()
#16 0x0805ddc2 in Kontact::MainWindow::qt_invoke ()
#17 0xb6d31edd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x0805fee2 in Kontact::SidePaneBase::pluginSelected ()
#19 0x080600c1 in Kontact::SidePaneBase::qt_emit ()
#20 0x0806035f in Kontact::IconSidePane::qt_emit ()
#21 0xb6d31f21 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x080605c2 in Kontact::Navigator::pluginActivated ()
#23 0xb6e071ba in QListBox::mousePressEventEx ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0xb6e075a4 in QListBox::mousePressEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb6d6ac1e in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb6cd2ec7 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb6cd3dfb in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0xb738d633 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#29 0xb6c72dd2 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0xb6c71fa6 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0xb6c825ea in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0xb6ce9ce8 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb6ce9b7e in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xb6cd2a7f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x08058c02 in main ()
Comment 17 Olivier Goffart 2006-07-26 18:50:52 UTC
*** Bug 130249 has been marked as a duplicate of this bug. ***
Comment 18 Olivier Goffart 2006-07-26 18:53:07 UTC
This seems to be a problem in KXMLGUI.  It can be also reproduced in Kopete (cf Bug 130249)
Comment 19 Andreas Kling 2006-09-02 14:20:06 UTC
*** Bug 133425 has been marked as a duplicate of this bug. ***
Comment 20 Thomas McGuire 2007-10-19 19:10:15 UTC
Bug 131569 in KMail is probably also the same.

While porting KMail to KDE4 I came across a very similar crash, which is probably the same as in comment #16.

The problem was simply that the action was deleted (by KMail in some destructor) before the KPart was removed (causing KXMLGUIFactory::removeClient and therefore KXMLGUI::ActionList::unplug, which operates on an action which is deleted, and therefore crashes).

So I think this crash is not a kdelibs bug, but a problem in each application.
Comment 21 Bram Schoenmakers 2008-04-10 18:38:42 UTC
*** Bug 160662 has been marked as a duplicate of this bug. ***
Comment 22 Bram Schoenmakers 2008-04-10 18:40:48 UTC
*** Bug 131569 has been marked as a duplicate of this bug. ***
Comment 23 Bram Schoenmakers 2008-04-17 16:27:11 UTC
*** Bug 160920 has been marked as a duplicate of this bug. ***
Comment 24 Christophe Marin 2008-08-12 14:13:52 UTC
*** Bug 168561 has been marked as a duplicate of this bug. ***
Comment 25 Sergio Martins 2008-12-17 05:48:13 UTC
In kde4 this is fine for me.

Any reporters want to retest?
Comment 26 FiNeX 2008-12-22 13:55:00 UTC
Default settings on KDE4 works for me too. Could someone which had the crash in the past try the new KDE4 (4.2beta2 for example)?
Comment 27 FiNeX 2009-01-31 17:58:38 UTC
It seems that nobody is able to reproduce the crash (no feedback in five weeks). 

I'm closing as worksforme.
Comment 28 Christophe Marin 2010-03-28 20:22:42 UTC
*** Bug 197813 has been marked as a duplicate of this bug. ***