Bug 251119 - Composer crashes when opening configure dialog while KMail is not running
Summary: Composer crashes when opening configure dialog while KMail is not running
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 16:29 UTC by Martin Walch
Modified: 2010-09-14 15:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2010-09-13 16:29:48 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-gentoo-r6 x86_64
Distribution: "Gentoo Base System release 2.0.1"

-- Information about the crash:
- What I was doing when the application crashed:

1. KMail is *not* running.
2. Navigate to a website with a form that will be sent via email. Something like
<form action="mailto:info@example.org" method="POST" enctype="text/plain">…</form>
3. Fill in some fields and send the form. A composer window opens (a dialog asked if I am sure).
4. Select >Settings >Configure KMail…

instant crash

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently asm".
[KCrash Handler]
#6  QHash<QString, MessageList::Core::Aggregation*>::begin (this=0x18) at /usr/include/qt4/QtCore/qhash.h:460
#7  0x00007fabb424ee9a in QHash<QString, MessageList::Core::Aggregation*>::values (this=0x18) at /usr/include/qt4/QtCore/qhash.h:690
#8  0x00007fabb424dca6 in MessageList::Utils::AggregationComboBoxPrivate::slotLoadAggregations (this=0x2eda7e0)
    at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5/messagelist/utils/aggregationcombobox.cpp:93
#9  0x00007fabb424e326 in AggregationComboBox (this=0x2ed4e30, parent=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5/messagelist/utils/aggregationcombobox.cpp:35
#10 0x00007fabba61fb5a in AppearancePageHeadersTab (this=0x2ed8690, parent=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5/kmail/configuredialog.cpp:1606
#11 0x00007fabba624503 in AppearancePage (this=0x2e5e290, instance=<value optimized out>, parent=<value optimized out>)
    at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5/kmail/configuredialog.cpp:1128
#12 0x00007fab9f710529 in create_kmail_config_appearance (parent=0x2e69aa0) at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5/kmail/kcm_kmail.cpp:49
#13 0x00007fabacc3d414 in KCModuleLoader::loadModule (mod=<value optimized out>, report=<value optimized out>, parent=0x2e69aa0, args=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kutils/kcmoduleloader.cpp:111
#14 0x00007fabacc4261a in KCModuleProxyPrivate::loadModule (this=0x2e5d540) at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kutils/kcmoduleproxy.cpp:106
#15 0x00007fabacc42e89 in KCModuleProxy::realModule (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kutils/kcmoduleproxy.cpp:83
#16 0x00007fabacc42f11 in KCModuleProxy::useRootOnlyMessage (this=0x18) at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kutils/kcmoduleproxy.cpp:315
#17 0x00007fabacc3fd15 in KCMultiDialog::addModule (this=0x2d71e20, moduleInfo=..., parentItem=0x0, args=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kutils/kcmultidialog.cpp:339
#18 0x00007fabacc4093f in KCMultiDialog::addModule (this=0x2d71e20, path=<value optimized out>, args=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kutils/kcmultidialog.cpp:320
#19 0x00007fabba62ad7e in ConfigureDialog (this=0x2d71e20, parent=<value optimized out>, modal=<value optimized out>)
    at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5/kmail/configuredialog.cpp:212
#20 0x00007fabba77d639 in KMKernel::slotShowConfigurationDialog (this=0x7fff00be7720) at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5/kmail/kmkernel.cpp:2014
#21 0x00007fabba78758d in KMKernel::qt_metacall (this=0x7fff00be7720, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff00be5d60)
    at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5_build/kmail/kmkernel.moc:241
#22 0x00007fabb9db6617 in QMetaObject::activate (sender=0x2838610, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fabba0c80d0) at kernel/qobject.cpp:3287
#23 0x00007fabb909e5a1 in QAction::triggered (this=0x18, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#24 0x00007fabb909facc in QAction::activate (this=0x2838610, event=<value optimized out>) at kernel/qaction.cpp:1255
#25 0x00007fabb951c519 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=<value optimized out>, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#26 0x00007fabb9522d6c in QMenuPrivate::activateAction (this=0x29aa520, action=0x2838610, action_e=<value optimized out>, self=<value optimized out>) at widgets/qmenu.cpp:1094
#27 0x00007fabbb759052 in KMenu::mouseReleaseEvent (this=0x2998410, e=0x7fff00be6bf0) at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kdeui/widgets/kmenu.cpp:471
#28 0x00007fabb9103ce0 in QWidget::event (this=0x2998410, event=0x7fff00be6bf0) at kernel/qwidget.cpp:8044
#29 0x00007fabb95246cb in QMenu::event (this=0x2998410, e=0x7fff00be6bf0) at widgets/qmenu.cpp:2421
#30 0x00007fabb90a5df5 in QApplicationPrivate::notify_helper (this=0x2200370, receiver=0x2998410, e=0x7fff00be6bf0) at kernel/qapplication.cpp:4302
#31 0x00007fabb90af2a5 in QApplication::notify (this=0x7fff00be7890, receiver=<value optimized out>, e=0x7fff00be6bf0) at kernel/qapplication.cpp:3867
#32 0x00007fabbb689e40 in KApplication::notify (this=0x7fff00be7890, receiver=0x2998410, event=0x7fff00be6bf0)
    at /var/tmp/portage/kde-base/kdelibs-4.5.1/work/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#33 0x00007fabb9da02ac in QCoreApplication::notifyInternal (this=0x7fff00be7890, receiver=0x2998410, event=0x7fff00be6bf0) at kernel/qcoreapplication.cpp:726
#34 0x00007fabb90ab898 in QCoreApplication::sendEvent (receiver=0x2998410, event=0x7fff00be6bf0, alienWidget=0x0, nativeWidget=0x2998410, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QApplicationPrivate::sendMouseEvent (receiver=0x2998410, event=0x7fff00be6bf0, alienWidget=0x0, nativeWidget=0x2998410, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2967
#36 0x00007fabb9138a1d in QETWidget::translateMouseEvent (this=0x2998410, event=<value optimized out>) at kernel/qapplication_x11.cpp:4314
#37 0x00007fabb91370d6 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff00be7370) at kernel/qapplication_x11.cpp:3513
#38 0x00007fabb9161342 in x11EventSourceDispatch (s=0x2203cd0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007fabafdd923e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#40 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#41 0x00007fabafddd050 in g_main_context_iterate (context=0x2202d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#42 0x00007fabafddd1f0 in IA__g_main_context_iteration (context=0x2202d20, may_block=1) at gmain.c:2654
#43 0x00007fabb9dcd825 in QEventDispatcherGlib::processEvents (this=0x21c2880, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#44 0x00007fabb9160ed2 in QGuiEventDispatcherGlib::processEvents (this=0x18, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fabb9d9ea18 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#46 0x00007fabb9d9ee25 in QEventLoop::exec (this=0x7fff00be76c0, flags=) at kernel/qeventloop.cpp:201
#47 0x00007fabb9da14a5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#48 0x0000000000403445 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5/kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Laurent Montel 2010-09-14 15:02:23 UTC
I can confirm it.
Will look at why it crash
Comment 2 Laurent Montel 2010-09-14 15:33:26 UTC
SVN commit 1175220 by mlaurent:

Backport fix bug #251119
BUG: 251119


 M  +7 -7      kmkernel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1175220