Bug 253587

Summary: Kontact crashes when trying to configure kontact
Product: [Unmaintained] kmail Reporter: David Graham <davidtgraham>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Graham 2010-10-08 13:40:27 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.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I deselected Kmail using Settings-Configure Kontact.   Any futher attempts to access the "Configure Kontact" menu resulted in a crash of the whole PIM program.
This happened each time I restarted the PIM.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f6f9ee05710 (LWP 11106)):
#0  0x00007f6fb7d2cf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6fb08614a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6fb08618fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f6fb9118566 in QEventDispatcherGlib::processEvents (this=0x14e3ae0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f6fb90ed992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f6fb90edd6c in QEventLoop::exec (this=0x7f6f9ee04d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f6fb8ff7d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f6fb90ce178 in QInotifyFileSystemWatcherEngine::run (this=0x1359750) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6fb8ffa775 in QThreadPrivate::start (arg=0x1359750) at thread/qthread_unix.cpp:248
#9  0x00007f6fb2dd89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6fb7d396fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6fbac59780 (LWP 11105)):
[KCrash Handler]
#5  KMMainWidget::actionCollection (this=0x0) at ../../kmail/kmmainwidget.h:365
#6  KMMainWidget::actionCollections (this=0x0) at ../../kmail/kmmainwidget.cpp:4542
#7  0x00007f6f94a0de9d in CustomTemplates (this=0x2479e60, parent=<value optimized out>, name=<value optimized out>) at ../../kmail/customtemplates.cpp:95
#8  0x00007f6f9466ae5d in ComposerPageCustomTemplatesTab (this=0x2477400, parent=<value optimized out>) at ../../kmail/configuredialog.cpp:2952
#9  0x00007f6f9468c260 in ComposerPage (this=0x220fc40, instance=<value optimized out>, parent=<value optimized out>) at ../../kmail/configuredialog.cpp:2588
#10 0x00007f6f94ed5627 in create_kmail_config_composer (parent=0x2206640) at ../../kmail/kcm_kmail.cpp:60
#11 0x00007f6fb77cc664 in KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x2206640, args=<value optimized out>) at ../../kutils/kcmoduleloader.cpp:111
#12 0x00007f6fb77d08e9 in KCModuleProxyPrivate::loadModule (this=0x2231650) at ../../kutils/kcmoduleproxy.cpp:106
#13 0x00007f6fb77d1415 in KCModuleProxy::realModule (this=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:83
#14 0x00007f6fb77d1489 in KCModuleProxy::useRootOnlyMessage (this=0x7fffb49d9450) at ../../kutils/kcmoduleproxy.cpp:315
#15 0x00007f6fb77cdd0e in KCMultiDialog::addModule (this=0x1830ba0, moduleInfo=..., parentItem=<value optimized out>, args=<value optimized out>) at ../../kutils/kcmultidialog.cpp:340
#16 0x00007f6fb77e57b4 in KSettings::DialogPrivate::createDialogFromServices (this=0x20a7480) at ../../kutils/ksettings/dialog.cpp:359
#17 0x00007f6fb77e67c0 in KSettings::Dialog::showEvent (this=<value optimized out>) at ../../kutils/ksettings/dialog.cpp:127
#18 0x00007f6fb84fe1ad in QWidget::event (this=0x1830ba0, event=0x7fffb49db020) at kernel/qwidget.cpp:8205
#19 0x00007f6fb84a822c in QApplicationPrivate::notify_helper (this=0xdcc020, receiver=0x1830ba0, e=0x7fffb49db020) at kernel/qapplication.cpp:4300
#20 0x00007f6fb84ae6fb in QApplication::notify (this=0x7fffb49dcca0, receiver=0x1830ba0, e=0x7fffb49db020) at kernel/qapplication.cpp:4183
#21 0x00007f6fb9ad7526 in KApplication::notify (this=0x7fffb49dcca0, receiver=0x1830ba0, event=0x7fffb49db020) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f6fb90ef06c in QCoreApplication::notifyInternal (this=0x7fffb49dcca0, receiver=0x1830ba0, event=0x7fffb49db020) at kernel/qcoreapplication.cpp:704
#23 0x00007f6fb850368a in QCoreApplication::sendEvent (this=0x1513af0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QWidgetPrivate::show_helper (this=0x1513af0) at kernel/qwidget.cpp:7196
#25 0x00007f6fb850580a in QWidget::setVisible (this=0x1830ba0, visible=<value optimized out>) at kernel/qwidget.cpp:7418
#26 0x00007f6fb8972afc in QDialog::setVisible (this=0x1830ba0, visible=<value optimized out>) at dialogs/qdialog.cpp:739
#27 0x00007f6fba871cc8 in QWidget::show (this=0xf6a2e0) at /usr/include/qt4/QtGui/qwidget.h:485
#28 Kontact::MainWindow::slotPreferences (this=0xf6a2e0) at ../../../kontact/src/mainwindow.cpp:1023
#29 0x00007f6fba87629e in Kontact::MainWindow::qt_metacall (this=0xf6a2e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb49db340) at ./mainwindow.moc:120
#30 0x00007f6fb9101e3f in QMetaObject::activate (sender=0x125e400, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x91) at kernel/qobject.cpp:3293
#31 0x00007f6fb84a2032 in QAction::triggered (this=0x7fffb49d9450, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#32 0x00007f6fb84a40ab in QAction::activate (this=0x125e400, event=<value optimized out>) at kernel/qaction.cpp:1255
#33 0x00007f6fb88e339d in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x125e400, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#34 0x00007f6fb88e8dda in QMenuPrivate::activateAction (this=0x127e9d0, action=0x125e400, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#35 0x00007f6fb9bb3cee in KMenu::mouseReleaseEvent (this=0x12b5290, e=0x0) at ../../kdeui/widgets/kmenu.cpp:471
#36 0x00007f6fb84fe582 in QWidget::event (this=0x12b5290, event=0x7fffb49dbf90) at kernel/qwidget.cpp:7998
#37 0x00007f6fb88eaf9b in QMenu::event (this=0x12b5290, e=0x7fffb49dbf90) at widgets/qmenu.cpp:2414
#38 0x00007f6fb84a822c in QApplicationPrivate::notify_helper (this=0xdcc020, receiver=0x12b5290, e=0x7fffb49dbf90) at kernel/qapplication.cpp:4300
#39 0x00007f6fb84aeecb in QApplication::notify (this=0x7fffb49dcca0, receiver=0x12b5290, e=0x7fffb49dbf90) at kernel/qapplication.cpp:3865
#40 0x00007f6fb9ad7526 in KApplication::notify (this=0x7fffb49dcca0, receiver=0x12b5290, event=0x7fffb49dbf90) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x00007f6fb90ef06c in QCoreApplication::notifyInternal (this=0x7fffb49dcca0, receiver=0x12b5290, event=0x7fffb49dbf90) at kernel/qcoreapplication.cpp:704
#42 0x00007f6fb84ae0ae in QCoreApplication::sendEvent (receiver=0x12b5290, event=0x7fffb49dbf90, alienWidget=0x0, nativeWidget=0x12b5290, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0x12b5290, event=0x7fffb49dbf90, alienWidget=0x0, nativeWidget=0x12b5290, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#44 0x00007f6fb852e3dd in QETWidget::translateMouseEvent (this=0x12b5290, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#45 0x00007f6fb852c8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffb49dc8b0) at kernel/qapplication_x11.cpp:3501
#46 0x00007f6fb8558882 in x11EventSourceDispatch (s=0xdda100, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007f6fb085d8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00007f6fb0861748 in ?? () from /lib/libglib-2.0.so.0
#49 0x00007f6fb08618fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x00007f6fb9118513 in QEventDispatcherGlib::processEvents (this=0xda1d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#51 0x00007f6fb855846e in QGuiEventDispatcherGlib::processEvents (this=0x7fffb49d9450, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f6fb90ed992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#53 0x00007f6fb90edd6c in QEventLoop::exec (this=0x7fffb49dcbe0, flags=) at kernel/qeventloop.cpp:201
#54 0x00007f6fb90f1aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#55 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

This bug may be a duplicate of or related to bug 184863.

Possible duplicates by query: bug 251044, bug 248596, bug 238542, bug 237543, bug 237024.

Reported using DrKonqi
Comment 1 Laurent Montel 2010-10-10 19:16:41 UTC
I fixed a similar bug in kdepim -4.4.6
And I can't reproduce it now.
Comment 2 Christophe Marin 2010-10-13 14:27:00 UTC
Merging with bug 184863. There's another report for Kontact with the same steps (bug 209604 (Kontact crashes when opening the settings if kmail or kmailpart is not running)

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