Bug 233407

Summary: Kontact crashed when closed
Product: [Applications] kontact Reporter: Richard Hartmann <richih-kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Richard Hartmann 2010-04-05 20:08:41 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-1-686 i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
My home DSL reconnected, I got the usual pop-up informing me that the connection was lost and tried to look at an email half an hour later.

Said email did not load and I decided to restart Kontact; thus closing it.

Once I clicked close (upper right of the window decoration), Kontact crashed.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  ~CSSSelector (this=0xff000002, __in_chrg=<value optimized out>) at ../../khtml/css/css_base.h:81
#7  0xb5aba2bc in ~CSSSelector (this=0x9714028, __in_chrg=<value optimized out>) at ../../khtml/css/css_base.h:81
#8  qDeleteAll<QList<DOM::CSSSelector*>::const_iterator> (this=0x9714028, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#9  qDeleteAll<QList<DOM::CSSSelector*> > (this=0x9714028, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#10 ~CSSStyleRuleImpl (this=0x9714028, __in_chrg=<value optimized out>) at ../../khtml/css/css_ruleimpl.cpp:381
#11 0xb5ac6d57 in ~StyleListImpl (this=0xabd6ca8, __in_chrg=<value optimized out>) at ../../khtml/css/css_base.cpp:124
#12 0xb5ab3e12 in ~StyleSheetImpl (this=0xabd6ca8, __in_chrg=<value optimized out>) at ../../khtml/css/css_stylesheetimpl.cpp:83
#13 0xb5ab6f72 in ~CSSStyleSheetImpl (this=0xabd6ca8, __in_chrg=<value optimized out>) at ../../khtml/css/css_stylesheetimpl.h:91
#14 0xb5ad7a2b in ~CSSStyleSelector (this=0xb39d5d0, __in_chrg=<value optimized out>) at ../../khtml/css/cssstyleselector.cpp:354
#15 0xb5989e68 in ~DocumentImpl (this=0x93be200, __in_chrg=<value optimized out>) at ../../khtml/xml/dom_docimpl.cpp:522
#16 0xb59f3693 in ~HTMLDocumentImpl (this=0x93be200, __in_chrg=<value optimized out>) at ../../khtml/html/html_documentimpl.cpp:81
#17 0xb5980330 in DOM::DocumentImpl::removedLastRef (this=0x93be200) at ../../khtml/xml/dom_docimpl.cpp:502
#18 0xb592931f in khtml::TreeShared<DOM::EventTargetImpl>::deref (this=0x9faa5c0) at ../../khtml/misc/shared.h:65
#19 KHTMLPart::clear (this=0x9faa5c0) at ../../khtml/khtml_part.cpp:1570
#20 0xb592bd20 in ~KHTMLPart (this=0x9faa5c0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../khtml/khtml_part.cpp:603
#21 0xb5ecf470 in KParts::Part::slotWidgetDestroyed (this=0x9faa5c0) at ../../kparts/part.cpp:354
#22 0xb5ecf57b in KParts::Part::qt_metacall (this=0x9faa5c0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfea4c58) at ./part.moc:82
#23 0xb5ed050a in KParts::ReadOnlyPart::qt_metacall (this=0x9faa5c0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfea4c58) at ./part.moc:166
#24 0xb5941c7a in KHTMLPart::qt_metacall (this=0x9faa5c0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfea4c58) at ./khtml_part.moc:252
#25 0xb6d4696a in QMetaObject::metacall (object=0x9faa5c0, cl=3053683648, idx=6, argv=0xbfea4c58) at kernel/qmetaobject.cpp:237
#26 0xb6d54f45 in QMetaObject::activate (sender=0x9fb0918, m=0xb6e4fb70, local_signal_index=0, argv=0xbfea4c58) at kernel/qobject.cpp:3293
#27 0xb6d55343 in QObject::destroyed (this=0x9fb0918, _t1=0x9fb0918) at .moc/release-shared/moc_qobject.cpp:149
#28 0xb6d57b0a in ~QObject (this=0x9fb0918, __in_chrg=<value optimized out>) at kernel/qobject.cpp:869
#29 0xb62eceb6 in ~QWidget (this=0x9fb0918, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1485
#30 0xb6d50cff in QObjectPrivate::deleteChildren (this=0x9fa7fb8) at kernel/qobject.cpp:1986
#31 0xb62ed973 in ~QWidget (this=0x9fa7850, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#32 0xb66de861 in ~QFrame (this=0x9fa7850, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#33 0xb7367ee5 in ~KHBox (this=0x9fa7850, __in_chrg=<value optimized out>) at ../../kdeui/widgets/khbox.cpp:51
#34 0xb6d50cff in QObjectPrivate::deleteChildren (this=0x9fa4248) at kernel/qobject.cpp:1986
#35 0xb62ed973 in ~QWidget (this=0x9e047a8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#36 0xb66de861 in ~QFrame (this=0x9e047a8, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#37 0xb6748cf3 in ~QSplitter (this=0x9e047a8, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1029
#38 0xb6d50cff in QObjectPrivate::deleteChildren (this=0x9fa3e78) at kernel/qobject.cpp:1986
#39 0xb62ed973 in ~QWidget (this=0x9fa3cf8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#40 0xaffc3e6e in ~KMReaderWin (this=0x9fa3cf8, __in_chrg=<value optimized out>) at ../../kmail/kmreaderwin.cpp:883
#41 0xb6d50cff in QObjectPrivate::deleteChildren (this=0xa156b40) at kernel/qobject.cpp:1986
#42 0xb62ed973 in ~QWidget (this=0x96b79b8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#43 0xb66de861 in ~QFrame (this=0x96b79b8, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#44 0xb6748cf3 in ~QSplitter (this=0x96b79b8, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1029
#45 0xb6d50cff in QObjectPrivate::deleteChildren (this=0xa0c5180) at kernel/qobject.cpp:1986
#46 0xb62ed973 in ~QWidget (this=0xa0830e8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#47 0xb66de861 in ~QFrame (this=0xa0830e8, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#48 0xb6748cf3 in ~QSplitter (this=0xa0830e8, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1029
#49 0xb01b3e1c in KMMainWidget::deleteWidgets (this=0x9f6d948) at ../../kmail/kmmainwidget.cpp:680
#50 0xb01b5ec3 in KMMainWidget::destruct (this=0x9f6d948) at ../../kmail/kmmainwidget.cpp:301
#51 0xb05af230 in ~KMailPart (this=0x9761b78, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmail_part.cpp:142
#52 0xb7621c39 in ~Plugin (this=0x97a0d08, __vtt_parm=0xb0627144, __in_chrg=<value optimized out>) at ../../kontactinterface/plugin.cpp:90
#53 0xb0619bc2 in ~KMailPlugin (this=0x97a0d08, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#54 0xb77adf76 in ~MainWindow (this=0x93658a0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kontact/src/mainwindow.cpp:258
#55 0xb6d508d5 in qDeleteInEventHandler (o=0x3) at kernel/qobject.cpp:3998
#56 0xb6d51f98 in QObject::event (this=0x93658a0, e=0xff000002) at kernel/qobject.cpp:1231
#57 0xb62e58c6 in QWidget::event (this=0x93658a0, event=0xac5cde8) at kernel/qwidget.cpp:8455
#58 0xb66fd1f7 in QMainWindow::event (this=0x93658a0, event=0xac5cde8) at widgets/qmainwindow.cpp:1433
#59 0xb73805b4 in KMainWindow::event (this=0x93658a0, ev=0xac5cde8) at ../../kdeui/widgets/kmainwindow.cpp:1103
#60 0xb73c830f in KXmlGuiWindow::event (this=0x93658a0, ev=0xac5cde8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#61 0xb6287bec in QApplicationPrivate::notify_helper (this=0x9364b10, receiver=0x93658a0, e=0xac5cde8) at kernel/qapplication.cpp:4300
#62 0xb628e7d9 in QApplication::notify (this=0xbfea5e54, receiver=0x93658a0, e=0xac5cde8) at kernel/qapplication.cpp:4265
#63 0xb728f7aa in KApplication::notify (this=0xbfea5e54, receiver=0x93658a0, event=0xac5cde8) at ../../kdeui/kernel/kapplication.cpp:302
#64 0xb6d4176b in QCoreApplication::notifyInternal (this=0xbfea5e54, receiver=0x93658a0, event=0xac5cde8) at kernel/qcoreapplication.cpp:704
#65 0xb6d44143 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9344dc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9344dc8) at kernel/qcoreapplication.cpp:1345
#67 0xb6d442ad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#68 0xb6d6d69f in QCoreApplication::sendPostedEvents (s=0x936b510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#69 postEventSourceDispatch (s=0x936b510) at kernel/qeventdispatcher_glib.cpp:276
#70 0xb41f0b38 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#71 0xb41f43d0 in ?? () from /lib/libglib-2.0.so.0
#72 0xb41f4503 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#73 0xb6d6d195 in QEventDispatcherGlib::processEvents (this=0x9344a88, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#74 0xb6346145 in QGuiEventDispatcherGlib::processEvents (this=0x9344a88, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#75 0xb6d3fd89 in QEventLoop::processEvents (this=0xbfea5db4, flags=) at kernel/qeventloop.cpp:149
#76 0xb6d401da in QEventLoop::exec (this=0xbfea5db4, flags=...) at kernel/qeventloop.cpp:201
#77 0xb6d4436f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#78 0xb6287c87 in QApplication::exec () at kernel/qapplication.cpp:3579
#79 0x0804b472 in main (argc=1, argv=0xbfea6054) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:22:14 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:53:51 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.