Bug 269383

Summary: Segmentation fault Kontact and other kde programs
Product: [Frameworks and Libraries] kdelibs Reporter: David Riera <david.riera>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: cfeck, david.riera
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description David Riera 2011-03-25 11:39:23 UTC
Application: kontact (4.4.8)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-28-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
Some aplications of KDE crashes. For example Kontact, Gwenview and others. 
Sometimes KDE crashes and automatically restart to login page.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#7  0x00cff021 in KXMLGUIClient::domDocument (this=0x8f49608) at ../../kdeui/xmlgui/kxmlguiclient.cpp:147
#8  0x00cfd9eb in KDEPrivate::ToolBarHandler::Private::init (this=0x8f48e88, mw=0x8d32428) at ../../kdeui/xmlgui/ktoolbarhandler.cpp:170
#9  0x00cf99a3 in KXmlGuiWindow::setStandardToolBarMenuEnabled (this=0x8d32428, enable=true) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:304
#10 0x009bdc5f in Kontact::MainWindow::initGUI() () from /usr/lib/libkontactprivate.so.4
#11 0x009be0e5 in Kontact::MainWindow::MainWindow() () from /usr/lib/libkontactprivate.so.4
#12 0x0804be0e in _start ()

Reported using DrKonqi
Comment 1 David Riera 2011-03-25 11:45:45 UTC
Created attachment 58323 [details]
New crash information added by DrKonqi

gwenview (2.5.2) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

The same, aplicationcrashed when I start it.
Sometimes KDE restarts automatically.
Some aplications closed automatically

-- Backtrace (Reduced):
#7  0x00d79021 in KXMLGUIClient::domDocument (this=0x8681a24) at ../../kdeui/xmlgui/kxmlguiclient.cpp:147
#8  0x00d83568 in KXMLGUIFactory::addClient (this=0x8892910, client=0x8681a24) at ../../kdeui/xmlgui/kxmlguifactory.cpp:244
#9  0x00d749d8 in KXmlGuiWindow::createGUI (this=0x8681a00, xmlfile=...) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:280
#10 0x0808ad8f in _start ()
Comment 2 David Riera 2011-03-25 11:50:43 UTC
Created attachment 58324 [details]
New crash information added by DrKonqi

konsole (2.5.3) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

Aplications crashed when I start it.
Some other aplications crashed.

-- Backtrace (Reduced):
#7  0x00889021 in KXMLGUIClient::domDocument (this=0x85f3684) at ../../kdeui/xmlgui/kxmlguiclient.cpp:147
#8  0x00893568 in KXMLGUIFactory::addClient (this=0x862cd08, client=0x85f3684) at ../../kdeui/xmlgui/kxmlguifactory.cpp:244
#9  0x008849d8 in KXmlGuiWindow::createGUI (this=0x85f3648, xmlfile=...) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:280
[...]
[...]
[...]
[...]
#14 0x0074d7b0 in KUniqueApplicationAdaptor::newInstance (this=0x85f3648, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:440
#15 0x0074df12 in KUniqueApplicationAdaptor::qt_metacall (this=0x8610040, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff6545c) at ./kuniqueapplication_p.moc:81
Comment 3 David Riera 2011-03-25 12:07:44 UTC
Created attachment 58325 [details]
New crash information added by DrKonqi

python2 (1.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

When start KDE this message apears. Relatet with other messages i send it inform.

-- Backtrace (Reduced):
#7  0x03cd4026 in KXMLGUIClient::domDocument (this=0x9ea6ae0) at ../../kdeui/xmlgui/kxmlguiclient.cpp:147
#9  0x03cde568 in KXMLGUIFactory::addClient (this=0x9ea6ae0, client=0x9ea6ae0) at ../../kdeui/xmlgui/kxmlguifactory.cpp:244
#10 0x03ccf9d8 in KXmlGuiWindow::createGUI (this=0x9ea6a68, xmlfile=...) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:280
[...]
#12 0x080e0a21 in call_function (f=11357300, throwflag=0) at ../Python/ceval.c:3750
#13 PyEval_EvalFrameEx (f=11357300, throwflag=0) at ../Python/ceval.c:2412
Comment 4 David Riera 2011-03-28 14:00:39 UTC
Created attachment 58396 [details]
New crash information added by DrKonqi

kontact (4.4.8) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:
I only open kontact or other aplications.

- Unusual behavior I noticed:


- Custom settings of the application:
It works perfectly tow months ago.

-- Backtrace (Reduced):
#7  0x06d7e066 in DOM::DocumentImpl::removedLastRef (this=0x99743d8) at ../../khtml/xml/dom_docimpl.cpp:447
#8  0x06d08546 in KHTMLPart::begin (this=0x99dd1d0, url=..., xOffset=0, yOffset=0) at ../../khtml/khtml_part.cpp:1992
#9  0x005d7b79 in Kontact::MainWindow::paintAboutScreen (this=0x9964fd8, msg=...) at ../../../kontact/src/mainwindow.cpp:361
#10 0x005dcbf3 in Kontact::MainWindow::initObject (this=0x9964fd8) at ../../../kontact/src/mainwindow.cpp:229
#11 0x005de0ed in MainWindow (this=0x9964fd8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:146
Comment 5 David Riera 2011-03-28 14:20:12 UTC
Created attachment 58397 [details]
New crash information added by DrKonqi

konqueror (4.5.3 (KDE 4.5.3)) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:
Some aplications crashed, when start it or when close it.
When I start pc all aplications works fine. This probblem is after 2 or 3 hours. 
But every day it occurs.

- Unusual behavior I noticed:

- Custom settings of the application:

-- Backtrace (Reduced):
#8  0x05f9fbbf in KHTMLPart::~KHTMLPart() () from /usr/lib/libkhtml.so.5
#9  0x01a6349b in ~KonqAboutPage (this=0x9079348, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../apps/konqueror/about/konq_aboutpage.cc:390
#10 0x009d31f0 in ~KonqView (this=0x9079820, __in_chrg=<value optimized out>) at ../../../../apps/konqueror/src/konqview.cpp:122
#11 0x009d75f8 in KonqViewManager::clear (this=0x8f377f8) at ../../../../apps/konqueror/src/konqviewmanager.cpp:702
#12 0x00a30f11 in KonqMainWindow::stayPreloaded (this=0x8f3c630) at ../../../../apps/konqueror/src/konqmainwindow.cpp:5619
Comment 6 Christoph Feck 2012-10-05 02:07:45 UTC
I have never seen KXmlGuiWindow::createGUI() crash, so I assume it was a local problem. If you can still reproduce, add an updated backtrace.