Bug 249902

Summary: kmail crashes when opening a message with attachment in russian while checking for mails
Product: [Unmaintained] kmail Reporter: Eugeni Dodonov <eugeni>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eugeni Dodonov 2010-09-02 14:18:44 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.65 (KDE 4.5.65 (KDE 4.6 >= 20100819))
Qt Version: 4.7.0
Operating System: Linux 2.6.35.4-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.1"

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

Kmail crashed after I tried to open a message which contained an attachment with russian file name during the check for new mail.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7fce6bb9a720 (LWP 25626))]

Thread 2 (Thread 0x7fce4b697710 (LWP 25943)):
#0  0x00007fce68b31cf3 in select () from /lib64/libc.so.6
#1  0x00007fce69421abd in QProcessManager::run (this=0x7fce69774f60) at io/qprocess_unix.cpp:245
#2  0x00007fce6935868e in QThreadPrivate::start (arg=0x7fce69774f60) at thread/qthread_unix.cpp:266
#3  0x00007fce67198a5d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fce68b3915d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fce6bb9a720 (LWP 25626)):
[KCrash Handler]
#6  0x00007fce68a8f925 in raise () from /lib64/libc.so.6
#7  0x00007fce68a90f40 in abort () from /lib64/libc.so.6
#8  0x00007fce693505d4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00007fce6935079d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fce694a0d88 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff83cc23c0)
    at global/qglobal.cpp:2305
#10 0x00007fce69350935 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488
#11 0x00007fce6a5fe99a in KMail::MessageProperty::forget (msgBase=0x316ea90) at /usr/src/debug/kdepim-4.4.5/kmail/messageproperty.cpp:180
#12 0x00007fce6a64e806 in KMMsgBase::~KMMsgBase (this=0x641a, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/kmmsgbase.cpp:128
#13 0x00007fce6a52dd04 in KMMessage::~KMMessage (this=0x316ea90, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/kmmessage.cpp:243
#14 0x00007fce6a5e4fa6 in KMReaderWin::~KMReaderWin (this=0x30ebfc0, __in_chrg=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/kmreaderwin.cpp:900
#15 0x00007fce694541a4 in QObjectPrivate::deleteChildren (this=0x21610a0) at kernel/qobject.cpp:1949
#16 0x00007fce6997f970 in QWidget::~QWidget (this=0x2160fd0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1560
#17 0x00007fce6b62ba1a in KMainWindow::~KMainWindow (this=0x2160fd0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.65svn1165394/kdeui/widgets/kmainwindow.cpp:467
#18 0x00007fce6a7a47d5 in KMail::SecondaryWindow::~SecondaryWindow (this=0x641a, __vtt_parm=<value optimized out>, __in_chrg=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.5/kmail/secondarywindow.cpp:56
#19 0x00007fce6a743185 in KMReaderMainWin::~KMReaderMainWin (this=0x2160fd0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdepim-4.4.5/kmail/kmreadermainwin.cpp:127
#20 0x00007fce69455ae8 in QObject::event (this=0x2160fd0, e=<value optimized out>) at kernel/qobject.cpp:1194
#21 0x00007fce6997bbad in QWidget::event (this=0x2160fd0, event=0x2c82c60) at kernel/qwidget.cpp:8617
#22 0x00007fce69d39abb in QMainWindow::event (this=0x2160fd0, event=0x2c82c60) at widgets/qmainwindow.cpp:1417
#23 0x00007fce6b65f590 in KXmlGuiWindow::event (this=0x2160fd0, ev=0x2c82c60) at /usr/src/debug/kdelibs-4.5.65svn1165394/kdeui/xmlgui/kxmlguiwindow.cpp:132
#24 0x00007fce6992a6e4 in QApplicationPrivate::notify_helper (this=0x19c0a60, receiver=0x2160fd0, e=0x2c82c60) at kernel/qapplication.cpp:4396
#25 0x00007fce6992f15a in QApplication::notify (this=<value optimized out>, receiver=0x2160fd0, e=0x2c82c60) at kernel/qapplication.cpp:4277
#26 0x00007fce6b56ebc6 in KApplication::notify (this=0x7fff83cc35a0, receiver=0x2160fd0, event=0x2c82c60) at /usr/src/debug/kdelibs-4.5.65svn1165394/kdeui/kernel/kapplication.cpp:310
#27 0x00007fce6944173c in QCoreApplication::notifyInternal (this=0x7fff83cc35a0, receiver=0x2160fd0, event=0x2c82c60) at kernel/qcoreapplication.cpp:732
#28 0x00007fce69444ee5 in sendEvent (receiver=0x0, event_type=0, data=0x1972fa0) at kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1972fa0) at kernel/qcoreapplication.cpp:1373
#30 0x00007fce6946c6c3 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007fce609263d3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fce60926bb0 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fce60926e4d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fce6946c85f in QEventDispatcherGlib::processEvents (this=0x19a8eb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#36 0x00007fce699ce74e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fce69440ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fce69440d1c in QEventLoop::exec (this=0x7fff83cc33e0, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007fce6944519b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0x0000000000402f7d in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/kmail/main.cpp:149

Reported using DrKonqi
Comment 1 Eugeni Dodonov 2010-09-02 14:21:12 UTC
(This belongs to kmail 1 too, don't know why kde bugreporter assigns it to kmail2).
Comment 2 Dario Andres 2010-11-22 20:17:42 UTC
[Comment from a bug triager]
This issue is being tracked at bug 176571. Merging. Thanks

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