Bug 224498 - Kontact/Kmail crashed after adding a new message tag (or modifying some settings) [KMail::FancyHeaderStyle::format, KMReaderWin::writeMsgHeader, KMReaderWin::parseMsg]
Summary: Kontact/Kmail crashed after adding a new message tag (or modifying some setti...
Status: RESOLVED DUPLICATE of bug 220713
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.12.90
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 224141 224514 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-27 18:28 UTC by Brian Beck
Modified: 2010-04-02 13:18 UTC (History)
4 users (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 Brian Beck 2010-01-27 18:28:57 UTC
Application: kontact (4.4 rc2)
KDE Platform Version: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I've never added a message tag before, so on my system there are only the three default tags: Friend, Business, and Later.  I wanted to add a fourth tag, Completed.  So here's what I did:

1. click Settings
2. select "Configure KMail..."
3. select Appearance
4. select "Message Tags" tab
5. add new tag to the "Available Tags" list.  (type new tag name in text area and press the "plus" button)
6. press "OK" button
Kontact Crashes

Please let me know if I can provide any more information, or help out.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00000000000003e8 in ?? ()
#6  0x00007f924ff83681 in KMail::FancyHeaderStyle::format (this=<value optimized out>, message=<value optimized out>, strategy=<value optimized out>, vCardName=<value optimized out>, 
    printing=<value optimized out>, topLevel=true) at ../../kmail/headerstyle.cpp:597
#7  0x00007f924fe17e4b in KMReaderWin::writeMsgHeader (this=0x1859d50, aMsg=<value optimized out>, vCardNode=0x0, topLevel=true) at ../../kmail/kmreaderwin.cpp:1725
#8  0x00007f924fe2c2fd in KMReaderWin::parseMsg (this=0x1859d50, aMsg=0x2c39250) at ../../kmail/kmreaderwin.cpp:1606
#9  0x00007f924fe225a0 in KMReaderWin::displayMessage (this=0x1859d50) at ../../kmail/kmreaderwin.cpp:1535
#10 0x00007f924fe22770 in KMReaderWin::updateReaderWin (this=0x1859d50) at ../../kmail/kmreaderwin.cpp:1478
#11 0x00007f924fe22cac in KMReaderWin::setMsg (this=0x1859d50, aMsg=0x2c39250, force=true) at ../../kmail/kmreaderwin.cpp:1282
#12 0x00007f924fe1d6c9 in KMReaderWin::readConfig (this=0x1859d50) at ../../kmail/kmreaderwin.cpp:993
#13 0x00007f924fff5de1 in KMMainWidget::readConfig (this=0x1991bd0) at ../../kmail/kmmainwidget.cpp:587
#14 0x00007f924ffe84fd in KMMainWidget::slotConfigChanged (this=0x7fffa0e2ada0) at ../../kmail/kmmainwidget.cpp:2668
#15 0x00007f925000a7fd in KMMainWidget::qt_metacall (this=0x1991bd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa0e35980) at ./kmmainwidget.moc:507
#16 0x00007f9267766dc3 in QMetaObject::activate (sender=0x1818570, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7) at kernel/qobject.cpp:3294
#17 0x00007f924ff3583d in KMKernel::qt_metacall (this=0x1818570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa0e35b50) at ./kmkernel.moc:243
#18 0x00007f9267766dc3 in QMetaObject::activate (sender=0x2f229c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7) at kernel/qobject.cpp:3294
#19 0x00007f924fd585a4 in ConfigureDialog::qt_metacall (this=0x2f229c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./configuredialog.moc:79
#20 0x00007f9267766dc3 in QMetaObject::activate (sender=0x2f229c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7) at kernel/qobject.cpp:3294
#21 0x00007f92680b0658 in KDialog::slotButtonClicked (this=0x2f229c0, button=4) at ../../kdeui/dialogs/kdialog.cpp:862
#22 0x00007f92680b24c9 in KDialog::qt_metacall (this=0x2f229c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa0e35ea0) at ./kdialog.moc:190
#23 0x00007f9268178620 in KPageDialog::qt_metacall (this=0x7fffa0e2ada0, _c=46371408, _id=46371408, _a=0x7) at ./kpagedialog.moc:70
#24 0x00007f9265e56940 in KCMultiDialog::qt_metacall (this=0x7fffa0e2ada0, _c=46371408, _id=46371408, _a=0x7) at ./kcmultidialog.moc:86
#25 0x00007f924fd58558 in ConfigureDialog::qt_metacall (this=0x7fffa0e2ada0, _c=46371408, _id=46371408, _a=0x7) at ./configuredialog.moc:72
#26 0x00007f9267766dc3 in QMetaObject::activate (sender=0x2f26b18, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7) at kernel/qobject.cpp:3294
#27 0x00007f926776c17e in QSignalMapper::mapped (this=0x7fffa0e2ada0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#28 0x00007f926776d392 in QSignalMapper::map (this=0x2f26b18, sender=0x2f203f0) at kernel/qsignalmapper.cpp:266
#29 0x00007f926776d610 in QSignalMapper::qt_metacall (this=0x2f26b18, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa0e36030) at .moc/release-shared/moc_qsignalmapper.cpp:87
#30 0x00007f9267766dc3 in QMetaObject::activate (sender=0x2f203f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7) at kernel/qobject.cpp:3294
#31 0x00007f92671a9a82 in QAbstractButton::clicked (this=0x7fffa0e2ada0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#32 0x00007f9266ec748b in QAbstractButtonPrivate::emitClicked (this=0x2f5f760) at widgets/qabstractbutton.cpp:546
#33 0x00007f9266ec834b in QAbstractButtonPrivate::click (this=0x2f5f760) at widgets/qabstractbutton.cpp:539
#34 0x00007f9266ec85b5 in QAbstractButton::mouseReleaseEvent (this=0x2f203f0, e=0x7fffa0e368e0) at widgets/qabstractbutton.cpp:1118
#35 0x00007f9266b6b599 in QWidget::event (this=0x2f203f0, event=0x7fffa0e368e0) at kernel/qwidget.cpp:7974
#36 0x00007f9266b15e8c in QApplicationPrivate::notify_helper (this=0x1223520, receiver=0x2f203f0, e=0x7fffa0e368e0) at kernel/qapplication.cpp:4242
#37 0x00007f9266b1ccf1 in QApplication::notify (this=0x7fffa0e375f0, receiver=0x2f203f0, e=0x7fffa0e368e0) at kernel/qapplication.cpp:3822
#38 0x00007f926813f1e6 in KApplication::notify (this=0x7fffa0e375f0, receiver=0x2f203f0, event=0x7fffa0e368e0) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x00007f926775404c in QCoreApplication::notifyInternal (this=0x7fffa0e375f0, receiver=0x2f203f0, event=0x7fffa0e368e0) at kernel/qcoreapplication.cpp:704
#40 0x00007f9266b1be66 in QCoreApplication::sendEvent (receiver=0x2f203f0, event=0x7fffa0e368e0, alienWidget=0x2f203f0, nativeWidget=0x2f229c0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QApplicationPrivate::sendMouseEvent (receiver=0x2f203f0, event=0x7fffa0e368e0, alienWidget=0x2f203f0, nativeWidget=0x2f229c0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2956
#42 0x00007f9266b9a055 in QETWidget::translateMouseEvent (this=0x2f229c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#43 0x00007f9266b98d6a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa0e37200) at kernel/qapplication_x11.cpp:3501
#44 0x00007f9266bc4712 in x11EventSourceDispatch (s=0x1235bb0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x00007f925ef12bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x00007f925ef16598 in ?? () from /lib/libglib-2.0.so.0
#47 0x00007f925ef166c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#48 0x00007f926777d623 in QEventDispatcherGlib::processEvents (this=0x11f2df0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#49 0x00007f9266bc42fe in QGuiEventDispatcherGlib::processEvents (this=0x7fffa0e2ada0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#50 0x00007f9267752972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007f9267752d4c in QEventLoop::exec (this=0x7fffa0e37530, flags=) at kernel/qeventloop.cpp:201
#52 0x00007f9267756a8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#53 0x0000000000403ec7 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:221

Possible duplicates by query: bug 224423, bug 224141, bug 223431, bug 223245, bug 222888.

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-31 00:03:22 UTC
I'm merging those reports as the backtraces match (even in functions line number).

From bug 224514:
-- Information about the crash:
I did not have kmail in the systemtray, due to previous crashes since 4.3.2. I
went to Settings, SystemTray and ticked  'always show in system tray". On
clicking apply, kmail crashed

From bug 224141:
-- Information about the crash:
I run kmail standalone and selected a mail folder (local mailsin maildir  from
a POP account).
The mail shown in the preview was not the one with the selected subject in the
message list (probably the preview still did show the previously seledted
mail). The preview did not change even after some seconds, so I thought it's
again some akonadi lockup. I clicked on a different mail in that folder ->
crash.
Comment 2 Dario Andres 2010-01-31 00:03:27 UTC
*** Bug 224514 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-01-31 00:03:29 UTC
*** Bug 224141 has been marked as a duplicate of this bug. ***
Comment 4 Björn Ruberg 2010-04-02 13:18:25 UTC

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