Bug 303946 - Kontact started twice and chrashed when closen one instance
Summary: Kontact started twice and chrashed when closen one instance
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 309730 316652 333850 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-23 07:24 UTC by Fabian
Modified: 2017-01-07 21:35 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (20.01 KB, text/plain)
2012-09-04 08:03 UTC, Fabian
Details
New crash information added by DrKonqi (10.86 KB, text/plain)
2014-05-15 04:42 UTC, Andreas Roth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian 2012-07-23 07:24:50 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
I was starting kde. I got a dialog that kontact seams to be running already in an other session, and if I want to start it anyway. I started it anyway (there was no other session). When Kontact was started I had two Kontact windows, when closing one of them Kontact crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb4a2bf6760 (LWP 4125))]

Thread 3 (Thread 0x7fb48a048700 (LWP 4176)):
#0  0x00007fb49aa76e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb49f403c12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fb49f403c49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fb49aa72f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb4a00f510d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb48972f700 (LWP 4177)):
#0  0x00007fb4a00ebff3 in poll () from /lib64/libc.so.6
#1  0x00007fb49a563a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb49a563f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb4a0863e36 in QEventDispatcherGlib::processEvents (this=0x7fb4840008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb4a0833842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb4a0833a97 in QEventLoop::exec (this=0x7fb48972ee20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb4a07335f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fb4a073661b in QThreadPrivate::start (arg=0x778070) at thread/qthread_unix.cpp:307
#8  0x00007fb49aa72f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fb4a00f510d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb4a2bf6760 (LWP 4125)):
[KCrash Handler]
#6  0x00007fb4410b9158 in MailCommon::Kernel::folderIsTemplates (this=<optimized out>, col=...) at /usr/src/debug/kdepim-4.8.4/mailcommon/mailkernel.cpp:225
#7  0x00007fb441475e37 in KMMainWidget::updateMessageActionsDelayed (this=0x14f66a0) at /usr/src/debug/kdepim-4.8.4/kmail/kmmainwidget.cpp:3897
#8  0x00007fb441476cd4 in KMMainWidget::updateMessageActions (this=0x14f66a0, fast=false) at /usr/src/debug/kdepim-4.8.4/kmail/kmmainwidget.cpp:3796
#9  0x00007fb44148a95b in KMMainWidget::initializeFilterActions (this=0x14f66a0) at /usr/src/debug/kdepim-4.8.4/kmail/kmmainwidget.cpp:4255
#10 0x00007fb441777e84 in KMailPart::guiActivateEvent (this=0x8f42e0, e=0x7fff5ce18440) at /usr/src/debug/kdepim-4.8.4/kmail/kmail_part.cpp:173
#11 0x00007fb4a084de6c in QObject::event (this=0x8f42e0, e=<optimized out>) at kernel/qobject.cpp:1235
#12 0x00007fb4a124dfe4 in notify_helper (e=0x7fff5ce18440, receiver=0x8f42e0, this=0x642300) at kernel/qapplication.cpp:4551
#13 QApplicationPrivate::notify_helper (this=0x642300, receiver=0x8f42e0, e=0x7fff5ce18440) at kernel/qapplication.cpp:4523
#14 0x00007fb4a1252db3 in QApplication::notify (this=0x7fff5ce1a860, receiver=0x8f42e0, e=0x7fff5ce18440) at kernel/qapplication.cpp:4412
#15 0x00007fb4a1f94746 in KApplication::notify (this=0x7fff5ce1a860, receiver=0x8f42e0, event=0x7fff5ce18440) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#16 0x00007fb4a0834d0c in QCoreApplication::notifyInternal (this=0x7fff5ce1a860, receiver=0x8f42e0, event=0x7fff5ce18440) at kernel/qcoreapplication.cpp:915
#17 0x00007fb49fdf458a in sendEvent (event=0x7fff5ce18440, receiver=0x8f42e0) at /usr/include/QtCore/qcoreapplication.h:231
#18 KParts::MainWindow::createGUI (this=0x754780, part=0x8f42e0) at /usr/src/debug/kdelibs-4.8.4/kparts/mainwindow.cpp:129
#19 0x00007fb4a2817247 in Kontact::MainWindow::selectPlugin (this=0x754780, plugin=0x90e630) at /usr/src/debug/kdepim-4.8.4/kontact/src/mainwindow.cpp:869
#20 0x00007fb4a0848c41 in QMetaObject::activate (sender=0x7571a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5ce189e0) at kernel/qobject.cpp:3556
#21 0x00007fb4a2819c2f in Kontact::SidePaneBase::pluginSelected (this=<optimized out>, _t1=0x90e630) at /usr/src/debug/kdepim-4.8.4/build/kontact/src/sidepanebase.moc:104
#22 0x00007fb4a0848c41 in QMetaObject::activate (sender=0x766170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5ce18b30) at kernel/qobject.cpp:3556
#23 0x00007fb4a281a61f in Kontact::Navigator::pluginActivated (this=<optimized out>, _t1=0x90e630) at /usr/src/debug/kdepim-4.8.4/build/kontact/src/iconsidepane.moc:110
#24 0x00007fb4a281a6b0 in Kontact::Navigator::slotCurrentChanged (this=0x766170, current=...) at /usr/src/debug/kdepim-4.8.4/kontact/src/iconsidepane.cpp:475
#25 0x00007fb4a0848c41 in QMetaObject::activate (sender=0x7a2ee0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5ce18cc0) at kernel/qobject.cpp:3556
#26 0x00007fb4a17c699a in QItemSelectionModel::currentChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:173
#27 0x00007fb4a17c6a90 in QItemSelectionModel::setCurrentIndex (this=0x7a2ee0, index=..., command=<optimized out>) at itemviews/qitemselectionmodel.cpp:1175
#28 0x00007fb4a1775014 in QAbstractItemView::mousePressEvent (this=0x766170, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#29 0x00007fb4a129e929 in QWidget::event (this=0x766170, event=0x7fff5ce19b60) at kernel/qwidget.cpp:8367
#30 0x00007fb4a165a1d6 in QFrame::event (this=0x766170, e=0x7fff5ce19b60) at widgets/qframe.cpp:557
#31 0x00007fb4a176e81b in QAbstractItemView::viewportEvent (this=0x766170, event=0x7fff5ce19b60) at itemviews/qabstractitemview.cpp:1644
#32 0x00007fb4a0834e98 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x79be10, event=0x7fff5ce19b60) at kernel/qcoreapplication.cpp:1025
#33 0x00007fb4a124dfaf in notify_helper (e=0x7fff5ce19b60, receiver=0x79be10, this=0x642300) at kernel/qapplication.cpp:4547
#34 QApplicationPrivate::notify_helper (this=0x642300, receiver=0x79be10, e=0x7fff5ce19b60) at kernel/qapplication.cpp:4523
#35 0x00007fb4a1253683 in QApplication::notify (this=<optimized out>, receiver=0x79be10, e=0x7fff5ce19b60) at kernel/qapplication.cpp:4094
#36 0x00007fb4a1f94746 in KApplication::notify (this=0x7fff5ce1a860, receiver=0x79be10, event=0x7fff5ce19b60) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#37 0x00007fb4a0834d0c in QCoreApplication::notifyInternal (this=0x7fff5ce1a860, receiver=0x79be10, event=0x7fff5ce19b60) at kernel/qcoreapplication.cpp:915
#38 0x00007fb4a124efb2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#39 QApplicationPrivate::sendMouseEvent (receiver=0x79be10, event=0x7fff5ce19b60, alienWidget=0x79be10, nativeWidget=0x7571a0, buttonDown=0x79be10, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#40 0x00007fb4a12cadb5 in QETWidget::translateMouseEvent (this=0x7571a0, event=<optimized out>) at kernel/qapplication_x11.cpp:4513
#41 0x00007fb4a12c9c7a in QApplication::x11ProcessEvent (this=0x7fff5ce1a860, event=0x7fff5ce1a420) at kernel/qapplication_x11.cpp:3636
#42 0x00007fb4a12f1a12 in x11EventSourceDispatch (s=0x63da50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00007fb49a56358d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007fb49a563d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007fb49a563f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007fb4a0863dcf in QEventDispatcherGlib::processEvents (this=0x60d2c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#47 0x00007fb4a12f169e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007fb4a0833842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007fb4a0833a97 in QEventLoop::exec (this=0x7fff5ce1a7f0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007fb4a08388b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#51 0x0000000000403919 in main (argc=3, argv=0x7fff5ce1ae88) at /usr/src/debug/kdepim-4.8.4/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Fabian 2012-09-04 08:03:09 UTC
Created attachment 73642 [details]
New crash information added by DrKonqi

kontact (4.9) on KDE Platform 4.9.00 "release 559" using Qt 4.8.2

Same thing, still happening with 4.9.00 "release 559"

-- Backtrace (Reduced):
#12 0x00007fb49874096b in MailCommon::Kernel::folderIsDrafts (this=<optimized out>, col=...) at /usr/src/debug/kdepim-4.9.0/mailcommon/mailkernel.cpp:242
#13 0x00007fb498740ad9 in MailCommon::Kernel::folderIsDraftOrOutbox (this=0xd32650, col=...) at /usr/src/debug/kdepim-4.9.0/mailcommon/mailkernel.cpp:227
#14 0x00007fb4986eb6a0 in collectionRank (collection=..., this=0x123df80) at /usr/src/debug/kdepim-4.9.0/mailcommon/entitycollectionorderproxymodel.cpp:48
#15 MailCommon::EntityCollectionOrderProxyModel::lessThan (this=0x123cac0, left=..., right=...) at /usr/src/debug/kdepim-4.9.0/mailcommon/entitycollectionorderproxymodel.cpp:127
#16 0x00007fb4f8a64227 in operator() (r2=0, r1=<optimized out>, this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:80
Comment 2 Jekyll Wu 2013-03-13 10:34:12 UTC
*** Bug 309730 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2013-03-13 10:34:24 UTC
*** Bug 316652 has been marked as a duplicate of this bug. ***
Comment 4 Raúl 2014-03-27 16:40:30 UTC
Bug still alive in kontact 4.11.5
Comment 5 Jekyll Wu 2014-04-29 13:13:07 UTC
*** Bug 333850 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Roth 2014-05-15 04:42:19 UTC
Created attachment 86639 [details]
New crash information added by DrKonqi

kontact (4.13.1) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:
Two instances of Kontact was started. Both instances asked me to migrate my KNotes configuration. 
When i've seen that two instances/windows are open i closed one and it crashed.

-- Backtrace (Reduced):
#6  0x00007f30ae201b66 in MailCommon::Kernel::folderIsTemplates (this=<optimized out>, col=...) at ../../mailcommon/kernel/mailkernel.cpp:277
#7  0x00007f30ae60f250 in KMail::MessageActions::updateActions (this=0x1cdccc0) at ../../kmail/messageactions.cpp:271
#8  0x00007f30ae611319 in KMail::MessageActions::setCurrentMessage (this=<optimized out>, msg=..., items=...) at ../../kmail/messageactions.cpp:236
#9  0x00007f30ae5e1d45 in KMMainWidget::updateMessageActions (this=this@entry=0x1a30550, fast=fast@entry=true) at ../../kmail/kmmainwidget.cpp:3803
#10 0x00007f30ae5e24be in KMMainWidget::startUpdateMessageActionsTimer (this=0x1a30550) at ../../kmail/kmmainwidget.cpp:3788
Comment 7 Denis Kurz 2016-09-24 19:21:55 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 8 Denis Kurz 2017-01-07 21:35:46 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.