Bug 225847 - Kmail crashes when creating a new mail
Summary: Kmail crashes when creating a new mail
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-07 18:14 UTC by Gerrit Jan Baarda
Modified: 2012-08-19 11:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerrit Jan Baarda 2010-02-07 18:14:10 UTC
Application that crashed: kmail
Version of the application: 1.12.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-trunk-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Whenever I press the 'New' button (or Ctrl+N) , kmail segfaults. 

This happens on my debian AMD64 sid system, not on my 32bit netbook with the same debian sid (i386) install.  

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fc25332f750 (LWP 4068))]

Thread 2 (Thread 0x7fc238b01910 (LWP 4072)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fc2515dd477 in QWaitConditionPrivate::wait (this=0x2192578, mutex=0x2192570, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x2192578, mutex=0x2192570, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc2515d32d1 in QThreadPoolThread::run (this=0x2184fc0) at concurrent/qthreadpool.cpp:140
#4  0x00007fc2515dc4a5 in QThreadPrivate::start (arg=0x2184fc0) at thread/qthread_unix.cpp:188
#5  0x00007fc24b4fb73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fc2501b46dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc25332f750 (LWP 4068)):
[KCrash Handler]
#5  0x00007fc2516cffde in QObjectPrivate::deleteChildren (this=0x21c2940) at kernel/qobject.cpp:1846
#6  0x00007fc250b86562 in ~QWidget (this=0x21c0d60, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#7  0x00007fc2516cffe1 in QObjectPrivate::deleteChildren (this=0x21c2610) at kernel/qobject.cpp:1846
#8  0x00007fc250b86ed2 in ~QWidget (this=0x21b6570, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#9  0x00007fc250f525e0 in ~QSplitter (this=0x21b6570, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1008
#10 0x00007fc2516cffe1 in QObjectPrivate::deleteChildren (this=0x21c23d0) at kernel/qobject.cpp:1846
#11 0x00007fc250b86562 in ~QWidget (this=0x21c0d90, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#12 0x00007fc2516cffe1 in QObjectPrivate::deleteChildren (this=0x21bef80) at kernel/qobject.cpp:1846
#13 0x00007fc250b86ed2 in ~QWidget (this=0x21b83c0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#14 0x00007fc252e31375 in ~KMainWindow (this=0x21b83c0, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:474
#15 0x00007fc252123155 in ~SecondaryWindow (this=0x21c5aa0, __vtt_parm=<value optimized out>, __in_chrg=<value optimized out>) at ../../kmail/secondarywindow.cpp:56
#16 0x00007fc251ebc28c in ~Composer (this=0x21c5aa0, __vtt_parm=<value optimized out>, __in_chrg=<value optimized out>) at ../../kmail/composer.h:42
#17 0x00007fc251eb5993 in KMComposeWin (this=0x21b83c0, aMsg=<value optimized out>, id=26908640, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmcomposewin.cpp:382
#18 0x00007fc251eb5e94 in KMComposeWin::create (msg=0x21b6f50, identitiy=0) at ../../kmail/kmcomposewin.cpp:140
#19 0x00007fc2520b0083 in KMMainWidget::slotCompose (this=<value optimized out>) at ../../kmail/kmmainwidget.cpp:1164
#20 0x00007fc2520cbced in KMMainWidget::qt_metacall (this=0x1c058f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7e4bfb20) at ./kmmainwidget.moc:395
#21 0x00007fc2516d6df2 in QMetaObject::activate (sender=0x1f314f0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x21c33f0) at kernel/qobject.cpp:3112
#22 0x00007fc250b35147 in QAction::triggered (this=0x21c5aa0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#23 0x00007fc250b365c0 in QAction::activate (this=0x1f314f0, event=<value optimized out>) at kernel/qaction.cpp:1167
#24 0x00007fc250eadeda in QAbstractButtonPrivate::click (this=0x1ffb960) at widgets/qabstractbutton.cpp:525
#25 0x00007fc250eae175 in QAbstractButton::mouseReleaseEvent (this=0x1ffb690, e=0x7fff7e4c0480) at widgets/qabstractbutton.cpp:1115
#26 0x00007fc250f7cc2a in QToolButton::mouseReleaseEvent (this=0x21c5aa0, e=0x0) at widgets/qtoolbutton.cpp:709
#27 0x00007fc250b8b37f in QWidget::event (this=0x1ffb690, event=0x7fff7e4c0480) at kernel/qwidget.cpp:7554
#28 0x00007fc250b3b01d in QApplicationPrivate::notify_helper (this=0x1985ad0, receiver=0x1ffb690, e=0x7fff7e4c0480) at kernel/qapplication.cpp:4065
#29 0x00007fc250b437ca in QApplication::notify (this=<value optimized out>, receiver=0x1ffb690, e=0x7fff7e4c0480) at kernel/qapplication.cpp:3767
#30 0x00007fc252d61e06 in KApplication::notify (this=0x7fff7e4c2330, receiver=0x1ffb690, event=0x7fff7e4c0480) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x00007fc2516c1c9c in QCoreApplication::notifyInternal (this=0x7fff7e4c2330, receiver=0x1ffb690, event=0x7fff7e4c0480) at kernel/qcoreapplication.cpp:610
#32 0x00007fc250b42a78 in QCoreApplication::sendSpontaneousEvent (receiver=0x1ffb690, event=0x7fff7e4c0480, alienWidget=0x1ffb690, nativeWidget=0x1c27760, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#33 QApplicationPrivate::sendMouseEvent (receiver=0x1ffb690, event=0x7fff7e4c0480, alienWidget=0x1ffb690, nativeWidget=0x1c27760, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#34 0x00007fc250bab659 in QETWidget::translateMouseEvent (this=0x1c27760, event=<value optimized out>) at kernel/qapplication_x11.cpp:4411
#35 0x00007fc250baa40f in QApplication::x11ProcessEvent (this=0x7fff7e4c2330, event=0x7fff7e4c1e50) at kernel/qapplication_x11.cpp:3552
#36 0x00007fc250bd276c in x11EventSourceDispatch (s=0x1989450, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007fc24863b90e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x00007fc24863f2c8 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007fc24863f3f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00007fc2516ea39c in QEventDispatcherGlib::processEvents (this=0x1951b40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#41 0x00007fc250bd1f1f in QGuiEventDispatcherGlib::processEvents (this=0x21c5aa0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#42 0x00007fc2516c0562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007fc2516c0934 in QEventLoop::exec (this=0x7fff7e4c2180, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007fc2516c2ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#45 0x0000000000402fa9 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:146
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Marcin Juszkiewicz 2010-02-08 18:29:45 UTC
I also have this bug. Installed kdepim-dbg and got this backtrace with Qt 4.6.0 from experimental:

Application: KMail (kmail), signal: Aborted
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fd8a9a2c750 (LWP 28216))]

Thread 3 (Thread 0x7fd88d22d910 (LWP 28227)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fd8a7caddc7 in QWaitConditionPrivate::wait (this=0x2889d78, mutex=0x2889d70, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x2889d78, mutex=0x2889d70, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8a7ca2f59 in QThreadPoolThread::run (this=0x2828ba0) at concurrent/qthreadpool.cpp:140
#4  0x00007fd8a7cacef5 in QThreadPrivate::start (arg=0x2828ba0) at thread/qthread_unix.cpp:244
#5  0x00007fd8a1abd73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fd8a679069d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd88ca0c910 (LWP 28228)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fd8a7caddc7 in QWaitConditionPrivate::wait (this=0x2889d78, mutex=0x2889d70, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x2889d78, mutex=0x2889d70, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8a7ca2f59 in QThreadPoolThread::run (this=0x1caed00) at concurrent/qthreadpool.cpp:140
#4  0x00007fd8a7cacef5 in QThreadPrivate::start (arg=0x1caed00) at thread/qthread_unix.cpp:244
#5  0x00007fd8a1abd73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fd8a679069d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7fd8a9a2c750 (LWP 28216)):
[KCrash Handler]
#5  0x00007fd8a66f6f45 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fd8a66f9d80 in *__GI_abort () at abort.c:88
#7  0x00007fd8a6cf7975 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#8  0x00007fd8a6cf5da6 in ?? () from /usr/lib/libstdc++.so.6
#9  0x00007fd8a6cf5dd3 in std::terminate() () from /usr/lib/libstdc++.so.6
#10 0x00007fd8a6cf5e56 in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#11 0x00007fd8a7d9f9a9 in QEventLoop::exec (this=0x7ffff6248650, flags=...) at kernel/qeventloop.cpp:214
#12 0x00007fd8a7da1d46 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#13 0x0000000000402fa9 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:146
The current source language is "auto; currently c".
Comment 2 Myriam Schweingruber 2012-08-19 11:00:10 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding