Application: kontact (4.4 rc2) KDE Platform Version: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)) "release 214" Qt Version: 4.6.1 Operating System: Linux 2.6.31.8-0.1-desktop x86_64 Distribution: "openSUSE 11.2 (x86_64)" -- Information about the crash: I was reading mails from a disconnected imap account. A mail was opened in a window (not kontact's window) and a pressed the "delete" key. Then kontact crashed. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #5 QWidgetPrivate::reparentFocusWidgets (this=0x1fbe700, oldtlw=<value optimized out>) at kernel/qwidget.cpp:6510 #6 0x00007f220011c9ce in QWidget::setParent (this=0x1d15c80, parent=0x1f53f30, f=) at kernel/qwidget.cpp:9790 #7 0x00007f220011d1a2 in QWidgetPrivate::init (this=0x1fbe700, parentWidget=0x1f53f30, f=) at kernel/qwidget.cpp:1180 #8 0x00007f220011da81 in QWidget::QWidget (this=0x1d15c80, parent=0x1f53f30, f=...) at kernel/qwidget.cpp:1008 #9 0x00007f21f1a5808f in Oxygen::TransitionWidget::TransitionWidget (this=0x1d15c80, parent=0x1d15c80, duration=150) at /usr/src/debug/kdebase-runtime-4.3.95/kstyles/oxygen/transitions/oxygentransitionwidget.cpp:48 #10 0x00007f21f1a56c75 in Oxygen::TransitionData::TransitionData (this=0x1f458c0, parent=<value optimized out>, target=0x1f53f30, duration=150) at /usr/src/debug/kdebase-runtime-4.3.95/kstyles/oxygen/transitions/oxygentransitiondata.cpp:40 #11 0x00007f21f1a53541 in Oxygen::LineEditData::LineEditData (this=0x1d15c80, parent=0x1d15c80, target=0x0, duration=29751344) at /usr/src/debug/kdebase-runtime-4.3.95/kstyles/oxygen/transitions/oxygenlineeditdata.cpp:43 #12 0x00007f21f1a54384 in Oxygen::LineEditEngine::registerWidget (this=0x689600, widget=0x1f53f30) at /usr/src/debug/kdebase-runtime-4.3.95/kstyles/oxygen/transitions/oxygenlineeditengine.cpp:44 #13 0x00007f21f1a658be in OxygenStyle::polish (this=0x697a10, widget=0x1f53f30) at /usr/src/debug/kdebase-runtime-4.3.95/kstyles/oxygen/oxygen.cpp:3265 #14 0x00007f2200113031 in QWidgetPrivate::setStyle_helper (this=0x1f53fa0, newStyle=0x0, propagate=false) at kernel/qwidget.cpp:2490 #15 0x00007f220011aa0e in QWidget::setStyle (this=<value optimized out>, style=0x0) at kernel/qwidget.cpp:2451 #16 0x00007f21fee14080 in khtml::RenderFormElement::~RenderFormElement (this=0x1de7cb0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.95/khtml/rendering/render_form.cpp:183 #17 0x00007f21fee1c71e in khtml::RenderLineEdit::~RenderLineEdit (this=0x1d15c80, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.95/khtml/rendering/render_form.h:260 #18 0x00007f21fedd39af in khtml::RenderObject::arenaDelete (this=0x1d15c80, arena=0x1dc29d0, base=0x1de7cb0) at /usr/src/debug/kdelibs-4.3.95/khtml/rendering/render_object.cpp:2394 #19 0x00007f21fee0d8bf in khtml::RenderWidget::deref (this=<value optimized out>) at /usr/src/debug/kdelibs-4.3.95/khtml/rendering/render_replaced.cpp:1183 #20 0x00007f21fed218d6 in DOM::NodeImpl::detach (this=0x1f538c0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:975 #21 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f53510) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #22 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f46a50) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #23 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f46920) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #24 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f46380) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #25 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f44990) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #26 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f44440) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #27 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ef66a0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #28 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ef5ef0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #29 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f42670) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #30 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f42310) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #31 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1eeab80) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #32 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1eea5f0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #33 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ee9920) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #34 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ee9b30) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #35 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f1e170) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #36 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0xef8850) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #37 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0xef8150) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #38 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f22530) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #39 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f22370) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #40 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ecd110) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #41 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f3e690) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #42 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f3e2b0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #43 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f3e120) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #44 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1efabd0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #45 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1efa700) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #46 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1efa400) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #47 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ef9da0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #48 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ef9970) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #49 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ef91c0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #50 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1ef8e60) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #51 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f1ae50) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #52 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f1ac30) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #53 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1efb7e0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #54 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1f17d00) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #55 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1d1b230) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #56 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1d23bd0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #57 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1d5e5d0) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #58 0x00007f21fed22008 in DOM::NodeBaseImpl::detach (this=0x1dc1b38) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_nodeimpl.cpp:1836 #59 0x00007f21fed0faa3 in DOM::DocumentImpl::detach (this=0x1dc1b20) at /usr/src/debug/kdelibs-4.3.95/khtml/xml/dom_docimpl.cpp:1540 #60 0x00007f21feca6065 in KHTMLView::~KHTMLView (this=0x1cbb190, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.95/khtml/khtmlview.cpp:576 #61 0x00007f2200d137ec in QObjectPrivate::deleteChildren (this=0x1c657f0) at kernel/qobject.cpp:1986 #62 0x00007f22001201cd in QWidget::~QWidget (this=0x1b2d380, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1460 #63 0x00007f2200d137ec in QObjectPrivate::deleteChildren (this=0x1ad0000) at kernel/qobject.cpp:1986 #64 0x00007f2200120c0d in QWidget::~QWidget (this=0x1ca4130, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1460 #65 0x00007f22015e9741 in KHBox::~KHBox (this=0x1d15c80, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.95/kdeui/widgets/khbox.cpp:51 #66 0x00007f2200d137ec in QObjectPrivate::deleteChildren (this=0x1ab15d0) at kernel/qobject.cpp:1986 #67 0x00007f2200120c0d in QWidget::~QWidget (this=0x1ca44b0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1460 #68 0x00007f220051db90 in QSplitter::~QSplitter (this=0x1ca44b0, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1029 #69 0x00007f2200d137ec in QObjectPrivate::deleteChildren (this=0x1bf7ac0) at kernel/qobject.cpp:1986 #70 0x00007f2200120c0d in QWidget::~QWidget (this=0x1cdff10, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1460 #71 0x00007f21e98fa4bb in KMReaderWin::~KMReaderWin (this=0x1cdff10, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.3.95/kmail/kmreaderwin.cpp:882 #72 0x00007f2200d137ec in QObjectPrivate::deleteChildren (this=0x1c5f830) at kernel/qobject.cpp:1986 #73 0x00007f2200120c0d in QWidget::~QWidget (this=0x1b29da0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1460 #74 0x00007f22016e7767 in KMainWindow::~KMainWindow (this=0x1b29da0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.95/kdeui/widgets/kmainwindow.cpp:476 #75 0x00007f21e9b3ad45 in KMail::SecondaryWindow::~SecondaryWindow (this=0x1d15c80, __vtt_parm=<value optimized out>, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.3.95/kmail/secondarywindow.cpp:56 #76 0x00007f21e9abfe1c in KMReaderMainWin::~KMReaderMainWin (this=0x1b29da0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdepim-4.3.95/kmail/kmreadermainwin.cpp:124 #77 0x00007f2200d14b5d in QObject::event (this=0x1b29da0, e=0x1f4e900) at kernel/qobject.cpp:1231 #78 0x00007f22001195ef in QWidget::event (this=0x1b29da0, event=0x1f4e900) at kernel/qwidget.cpp:8435 #79 0x00007f22004d94db in QMainWindow::event (this=0x1b29da0, event=0x1f4e900) at widgets/qmainwindow.cpp:1435 #80 0x00007f22017272a3 in KXmlGuiWindow::event (this=0x1d15c80, ev=0x1d15c80) at /usr/src/debug/kdelibs-4.3.95/kdeui/xmlgui/kxmlguiwindow.cpp:131 #81 0x00007f22000c3c9c in QApplicationPrivate::notify_helper (this=0x63e8a0, receiver=0x1b29da0, e=0x1f4e900) at kernel/qapplication.cpp:4298 #82 0x00007f22000ca27b in QApplication::notify (this=0x7fff4dff1e60, receiver=0x1b29da0, e=0x1f4e900) at kernel/qapplication.cpp:4181 #83 0x00007f2201661116 in KApplication::notify (this=0x7fff4dff1e60, receiver=0x1b29da0, event=0x1f4e900) at /usr/src/debug/kdelibs-4.3.95/kdeui/kernel/kapplication.cpp:302 #84 0x00007f2200d04dfc in QCoreApplication::notifyInternal (this=0x7fff4dff1e60, receiver=0x1b29da0, event=0x1f4e900) at kernel/qcoreapplication.cpp:704 #85 0x00007f2200d07577 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215 #86 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345 #87 0x00007f2200d2e7e3 in sendPostedEvents () at kernel/qcoreapplication.h:220 #88 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276 #89 0x00007f21f8523dde in g_main_dispatch (context=<value optimized out>) at gmain.c:1960 #90 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513 #91 0x00007f21f85277a8 in g_main_context_iterate (context=0x647d40, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591 #92 0x00007f21f85278d0 in IA__g_main_context_iteration (context=0x647d40, may_block=1) at gmain.c:2654 #93 0x00007f2200d2e323 in QEventDispatcherGlib::processEvents (this=0x613810, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #94 0x00007f2200171dce in QGuiEventDispatcherGlib::processEvents (this=0x1d15c80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #95 0x00007f2200d03712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #96 0x00007f2200d03aec in QEventLoop::exec (this=0x7fff4dff1da0, flags=) at kernel/qeventloop.cpp:201 #97 0x00007f2200d0783b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #98 0x0000000000403ed7 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.3.95/kontact/src/main.cpp:221 Warning: the current language does not match this frame. The current source language is "auto; currently c". Reported using DrKonqi
The crash seems to be related to the Oxygen widget style animations. - Have you tried to repeat the situation to check if Kontact crash again ? Regards
I agree it seems oxygen related. Apparently some racing condition between widgets deletion and animation registration. Things like: Oxygen::LineEditData::LineEditData (this=0x1d15c80, parent=0x1d15c80, target=0x0, duration=29751344) look bad. memory and pointers look totally corrupted (notably duration = 29751344), target = 0x0 and this == parent. Not sure what's going on here (and not big surprise that it crashes). I'll try to reproduce on my side.
mmm. I'd be interested to know if you can also reproduce the crash with another style. I must say I'm totally confused by the sequence of calls and argument values in the krash report: #7 0x00007f220011d1a2 in QWidgetPrivate::init (this=0x1fbe700, parentWidget=0x1f53f30, f=) #8 0x00007f220011da81 in QWidget::QWidget (this=0x1d15c80, parent=0x1f53f30, f=...) at kernel/qwidget.cpp:1008 #9 0x00007f21f1a5808f in Oxygen::TransitionWidget::TransitionWidget (this=0x1d15c80, parent=0x1d15c80, duration=150) #10 0x00007f21f1a56c75 in Oxygen::TransitionData::TransitionData (this=0x1f458c0, parent=<value optimized out>, target=0x1f53f30, duration=150) #11 0x00007f21f1a53541 in Oxygen::LineEditData::LineEditData (this=0x1d15c80, parent=0x1d15c80, target=0x0, duration=29751344) See how #9 shows this == parent, while in #8 this is the same (as should be) and parent is back to the value it should be ? I absolutely cannot understand this. #7 has the correct parent widget too. #10 looks ok #11 as already said is totally corrupted. (and notably target should match between #10 and #11; as well as duration.)
Well I don't manage to reproduce the bug :s
Closing then :)