Bug 241254

Summary: kontact crash after detecting another running instance
Product: [Applications] kontact Reporter: Paul Fee <paul.f.fee>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paul Fee 2010-06-10 00:28:23 UTC
Application: kontact (4.4.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.5-112.fc13.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
kontact was already running in a KDE session started on the local console.

Logged in remotely and started another session using nomachine's NX.  Within the second session kontact started automatically at login.   It detects another instance and offers to stop.  Selected the option to exit, then kontact crashed.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  isEmpty (o=<value optimized out>, who=0, reason=QAccessible::ObjectHide) at ../../src/corelib/tools/qvector.h:126
#6  QAccessible::updateAccessibility (o=<value optimized out>, who=0, reason=QAccessible::ObjectHide) at accessible/qaccessible_unix.cpp:99
#7  0x0000003ff65f4295 in QWidgetPrivate::hideChildren (this=<value optimized out>, spontaneous=false) at kernel/qwidget.cpp:7540
#8  0x0000003ff65f43f4 in QWidgetPrivate::hide_helper (this=0x136bd30) at kernel/qwidget.cpp:7283
#9  0x0000003ff65fc168 in QWidget::setVisible (this=0x136e4b0, visible=<value optimized out>) at kernel/qwidget.cpp:7455
#10 0x0000003ff65fa46c in hide (this=0x136bd30, mode=QWidgetPrivate::CloseNoEvent) at ../../src/gui/kernel/qwidget.h:489
#11 QWidgetPrivate::close_helper (this=0x136bd30, mode=QWidgetPrivate::CloseNoEvent) at kernel/qwidget.cpp:7573
#12 0x0000003ff65fbcdb in QWidget::~QWidget (this=0x136e4b0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1421
#13 0x0000003fffeb0e4e in ~ControlProgressIndicator (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.4.3/akonadi/control.cpp:39
#14 ControlProgressIndicator::~ControlProgressIndicator (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.4.3/akonadi/control.cpp:39
#15 0x0000003fffeaf24c in ~Private (this=0x1357ba0, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.4.3/akonadi/control.cpp:89
#16 Akonadi::Control::~Control (this=0x1357ba0, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.4.3/akonadi/control.cpp:194
#17 0x0000003fffeb0e13 in ~StaticControl (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.4.3/akonadi/control.cpp:62
#18 StaticControl::~StaticControl (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.4.3/akonadi/control.cpp:62
#19 0x0000003fe9035fd2 in __run_exit_handlers (status=1) at exit.c:78
#20 exit (status=1) at exit.c:100
#21 0x000000300b94ec5f in KMail::lockOrDie () at /usr/src/debug/kdepim-4.4.3/kmail/kmstartup.cpp:229
#22 0x00007fce5293b9c7 in KMailPart::KMailPart (this=0x1610be0, parentWidget=0x1225800, parent=<value optimized out>, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.3/kmail/kmail_part.cpp:69
#23 0x00007fce5293c3ff in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x1225800, parent=0x1225800, args=...) at /usr/include/kde4/kpluginfactory.h:467
#24 0x0000003ff47d9acc in KPluginFactory::create (this=0x161ce00, iface=0x3ffa03b060 "KParts::ReadOnlyPart", parentWidget=0x1225800, parent=0x1225800, args=<value optimized out>, 
    keyword=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kdecore/util/kpluginfactory.cpp:191
#25 0x0000003007c0e93a in create<KParts::ReadOnlyPart> (this=0x1225800, libname=0x164bc08 "kmailpart") at /usr/include/kde4/kpluginfactory.h:491
#26 KontactInterface::Core::createPart (this=0x1225800, libname=0x164bc08 "kmailpart") at /usr/src/debug/kdepimlibs-4.4.3/kontactinterface/core.cpp:87
#27 0x00007fce535b2920 in KMailPlugin::createPart (this=0x1672100) at /usr/src/debug/kdepim-4.4.3/kontact/plugins/kmail/kmail_plugin.cpp:179
#28 0x0000003007c10c59 in KontactInterface::Plugin::part (this=0x1672100) at /usr/src/debug/kdepimlibs-4.4.3/kontactinterface/plugin.cpp:191
#29 0x0000003ffb81ca6f in Kontact::MainWindow::selectPlugin (this=0x1225800, plugin=0x1672100) at /usr/src/debug/kdepim-4.4.3/kontact/src/mainwindow.cpp:778
#30 0x0000003ffb817b0c in Kontact::MainWindow::loadSettings (this=0x1225800) at /usr/src/debug/kdepim-4.4.3/kontact/src/mainwindow.cpp:944
#31 0x0000003ffb81fae0 in Kontact::MainWindow::initObject (this=0x1225800) at /usr/src/debug/kdepim-4.4.3/kontact/src/mainwindow.cpp:210
#32 0x0000003ffb820f5c in Kontact::MainWindow::MainWindow (this=0x1225800, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.3/kontact/src/mainwindow.cpp:146
#33 0x0000000000404624 in KontactApp::newInstance (this=0x7fff211758e0) at /usr/src/debug/kdepim-4.4.3/kontact/src/main.cpp:136
#34 0x0000003ff740d286 in KUniqueApplicationAdaptor::newInstance (this=0x1358be0, asn_id=<value optimized out>, args=...) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kuniqueapplication.cpp:454
#35 0x0000003ff740d882 in KUniqueApplicationAdaptor::qt_metacall (this=0x1358be0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff211749d0)
    at /usr/src/debug/kdelibs-4.4.3/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:81
#36 0x0000003ff3c21c26 in QDBusConnectionPrivate::deliverCall (this=0x1212a80, object=0x1358be0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:904
#37 0x0000003ff3c22e3f in QDBusConnectionPrivate::activateCall (this=0x1212a80, object=0x1358be0, flags=337, msg=...) at qdbusintegrator.cpp:809
#38 0x0000003ff3c2390d in QDBusConnectionPrivate::activateObject (this=0x1212a80, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#39 0x0000003ff3c23ba8 in QDBusActivateObjectEvent::placeMetaCall (this=0x14ced40) at qdbusintegrator.cpp:1477
#40 0x0000003ff4166d11 in QObject::event (this=0x7fff211758e0, e=0x14ced40) at kernel/qobject.cpp:1248
#41 0x0000003ff65acf7d in QApplication::event (this=0x7fff211758e0, e=0x14ced40) at kernel/qapplication.cpp:2353
#42 0x0000003ff65aaa0c in QApplicationPrivate::notify_helper (this=0x1222280, receiver=0x7fff211758e0, e=0x14ced40) at kernel/qapplication.cpp:4300
#43 0x0000003ff65b09db in QApplication::notify (this=<value optimized out>, receiver=0x7fff211758e0, e=0x14ced40) at kernel/qapplication.cpp:4183
#44 0x0000003ff7406da6 in KApplication::notify (this=0x7fff211758e0, receiver=0x7fff211758e0, event=0x14ced40) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#45 0x0000003ff4157cdc in QCoreApplication::notifyInternal (this=0x7fff211758e0, receiver=0x7fff211758e0, event=0x14ced40) at kernel/qcoreapplication.cpp:704
#46 0x0000003ff4158a27 in sendEvent (receiver=0x0, event_type=0, data=0x11f5d60) at kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x11f5d60) at kernel/qcoreapplication.cpp:1345
#48 0x0000003ff417dac3 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#49 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#50 0x0000003feb03bd02 in g_main_dispatch (context=0x1228a20) at gmain.c:1960
#51 IA__g_main_context_dispatch (context=0x1228a20) at gmain.c:2513
#52 0x0000003feb03fae8 in g_main_context_iterate (context=0x1228a20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#53 0x0000003feb03fc9c in IA__g_main_context_iteration (context=0x1228a20, may_block=1) at gmain.c:2654
#54 0x0000003ff417d603 in QEventDispatcherGlib::processEvents (this=0x11f5470, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#55 0x0000003ff66499de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x0000003ff4156722 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#57 0x0000003ff41569ec in QEventLoop::exec (this=0x13b7a10, flags=...) at kernel/qeventloop.cpp:201
#58 0x0000003fffeafba5 in Akonadi::Control::Private::exec (this=0x13559d0) at /usr/src/debug/kdepimlibs-4.4.3/akonadi/control.cpp:137
#59 0x0000003fffeb0305 in Akonadi::Control::start (parent=0x0) at /usr/src/debug/kdepimlibs-4.4.3/akonadi/control.cpp:233
#60 0x0000000000403c92 in main (argc=3, argv=0x7fff21175ec8) at /usr/src/debug/kdepim-4.4.3/kontact/src/main.cpp:204

Reported using DrKonqi
Comment 1 Christophe Marin 2010-06-10 12:04:06 UTC

*** This bug has been marked as a duplicate of bug 185544 ***