Bug 280409 - KMail crashed selecting another mail or folder
Summary: KMail crashed selecting another mail or folder
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 11:17 UTC by Stefan Böhmann
Modified: 2012-07-08 17:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9


Attachments
Crash report (4.39 KB, application/octet-stream)
2012-06-14 08:59 UTC, Axel Braun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Böhmann 2011-08-19 11:17:52 UTC
Application: kmail (4.8 pre)
KDE Platform Version: 4.7.41 (4.7.41 (KDE 4.8 >= 20110807) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.0.1-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

-- Information about the crash:
KMail sometimes crashes when I click the next mail or into another folder.  This happens not only when I click, but also with a keyboard shortcut. And it is independent of the status of the mail (read/unread/...).

I have IMAP and POP3 accounts, but so far it has happened only with IMAP accounts. However, I use the IMAP accounts much more intense. Therefore, it is perhaps only coincidental.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f33fd810780 (LWP 3366))]

Thread 3 (Thread 0x7f33ddd3d700 (LWP 3385)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f33efd684f4 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f33f07676a0) at wtf/FastMalloc.cpp:2495
#2  0x00007f33efd68619 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f33f7866d1c in start_thread (arg=0x7f33ddd3d700) at pthread_create.c:301
#4  0x00007f33f6e0b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f33dd424700 (LWP 3386)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff63fff6e7 in ?? ()
#2  0x00007f33eb029263 in *__GI_clock_gettime (clock_id=1, tp=0x7f33dd423b70) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f33f7b51d04 in do_gettime (frac=0x7f33dd423b88, sec=0x7f33dd423b80) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f33f7c257cd in QTimerInfoList::updateCurrentTime (this=0x26443c0) at kernel/qeventdispatcher_unix.cpp:343
#6  0x00007f33f7c25ae3 in QTimerInfoList::timerWait (this=0x26443c0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#7  0x00007f33f7c2458c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f33dd423c6c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f33f7c2462d in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f33ec211b29 in g_main_context_prepare (context=0x266e170, priority=0x7f33dd423cd8) at gmain.c:2762
#10 0x00007f33ec2129bd in g_main_context_iterate (context=0x266e170, block=1, dispatch=1, self=<optimized out>) at gmain.c:3072
#11 0x00007f33ec213049 in g_main_context_iteration (context=0x266e170, may_block=1) at gmain.c:3155
#12 0x00007f33f7c25076 in QEventDispatcherGlib::processEvents (this=0x26b4c80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#13 0x00007f33f7bf5cd2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f33f7bf5f27 in QEventLoop::exec (this=0x7f33dd423e00, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007f33f7af9eff in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#16 0x00007f33f7afce0b in QThreadPrivate::start (arg=0x2645230) at thread/qthread_unix.cpp:298
#17 0x00007f33f7866d1c in start_thread (arg=0x7f33dd424700) at pthread_create.c:301
#18 0x00007f33f6e0b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f33fd810780 (LWP 3366)):
[KCrash Handler]
#6  ref (this=0x0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QVector<QRect>::operator= (this=0x54fb198, v=...) at ../../include/QtCore/../../src/corelib/tools/qvector.h:393
#8  0x00007f33f8ab6d58 in QRegionPrivate (r=..., this=0x54fb190) at painting/qregion.cpp:1109
#9  QRegion::copy (this=<optimized out>) at painting/qregion.cpp:3957
#10 0x00007f33f8ab6e8c in QRegion::detach (this=<optimized out>) at painting/qregion.cpp:276
#11 0x00007f33f8ab793c in translate (dy=<optimized out>, dx=<optimized out>, this=0x7fff63fdb1d0) at painting/qregion.cpp:3989
#12 QRegion::translate (this=0x7fff63fdb1d0, dx=<optimized out>, dy=<optimized out>) at painting/qregion.cpp:3984
#13 0x00007f33f8ab79fd in QRegion::translated (this=<optimized out>, dx=326, dy=58) at painting/qregion.cpp:677
#14 0x00007f33f8b3a0a7 in translated (p=<optimized out>, this=0x26e9f58) at ../../include/QtGui/../../src/gui/painting/qregion.h:100
#15 QWidgetBackingStore::sync (this=0x266aa10) at painting/qbackingstore.cpp:1262
#16 0x00007f33f896c228 in QWidgetPrivate::syncBackingStore (this=0x261a0a0) at kernel/qwidget.cpp:1882
#17 0x00007f33f8979b9c in QWidget::event (this=0x2619e00, event=0x5e7c050) at kernel/qwidget.cpp:8635
#18 0x00007f33f8d41223 in QMainWindow::event (this=0x2619e00, event=0x5e7c050) at widgets/qmainwindow.cpp:1478
#19 0x00007f33fd32b9f8 in KXmlGuiWindow::event (this=0x2619e00, ev=0x5e7c050) at /kdebuild/src/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126
#20 0x00007f33f8929d34 in notify_helper (e=0x5e7c050, receiver=0x2619e00, this=0x22f7680) at kernel/qapplication.cpp:4495
#21 QApplicationPrivate::notify_helper (this=0x22f7680, receiver=0x2619e00, e=0x5e7c050) at kernel/qapplication.cpp:4467
#22 0x00007f33f892eae3 in QApplication::notify (this=0x7fff63fdbff0, receiver=0x2619e00, e=0x5e7c050) at kernel/qapplication.cpp:4356
#23 0x00007f33fd230cc6 in KApplication::notify (this=0x7fff63fdbff0, receiver=0x2619e00, event=0x5e7c050) at /kdebuild/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#24 0x00007f33f7bf6ec3 in QCoreApplication::notifyInternal (this=0x7fff63fdbff0, receiver=0x2619e00, event=0x5e7c050) at kernel/qcoreapplication.cpp:853
#25 0x00007f33f7bfa631 in sendEvent (event=0x5e7c050, receiver=0x2619e00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x22a1880) at kernel/qcoreapplication.cpp:1477
#27 0x00007f33f7c24c13 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007f33ec212604 in g_main_dispatch (context=0x22f9db0) at gmain.c:2441
#30 g_main_context_dispatch (context=0x22f9db0) at gmain.c:3014
#31 0x00007f33ec212db0 in g_main_context_iterate (context=0x22f9db0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#32 0x00007f33ec213049 in g_main_context_iteration (context=0x22f9db0, may_block=1) at gmain.c:3155
#33 0x00007f33f7c2501b in QEventDispatcherGlib::processEvents (this=0x22a1100, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f33f89cab6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f33f7bf5cd2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f33f7bf5f27 in QEventLoop::exec (this=0x7fff63fdbec0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f33f7bfa905 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1125
#38 0x0000000000402fb3 in main (argc=<optimized out>, argv=<optimized out>) at /kdebuild/src/kdepim/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Axel Braun 2012-06-14 08:59:31 UTC
Created attachment 71820 [details]
Crash report

Actually the same problem here ...new/different mail, different folder, bang.
KDE 4.8.4
Comment 2 Laurent Montel 2012-07-08 17:38:14 UTC
Fixed in 4.9