Bug 197580 - kmail kde4 beta2 segfault signal 11
Summary: kmail kde4 beta2 segfault signal 11
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 08:59 UTC by David Rankin
Modified: 2009-09-27 20:28 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 David Rankin 2009-06-23 08:59:43 UTC
Application that crashed: kmail
Version of the application: 1.11.90
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)) "release 139"
Qt Version: 4.5.1
Operating System: Linux 2.6.25.20-0.4-default x86_64

What I was doing when the application crashed:
kmail has been pretty good on kde4 beta 2 thus far. I can't pinpoint what caused it to crash this time. A few minutes before the crash, I had moved several messages to the trash, but then decided I needed to reply to one of them. I selected the trash folder, found the message, sent my reply, and then went about my business going through several other emails.

Without warning, kmail just disappeared and the crash assistant appeared and provided a 3-star backtrace. So here it is.

This is a very basic configuration of kmail with only 1 pop account configured so far. I have a number of folders, but just one pop account. Let me know if you need anything else.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 0 (LWP 19584)]

Thread 2 (Thread 0x41a8c950 (LWP 20102)):
#0  0x00007f25b22f705d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f25b2567f87 in QWaitCondition::wait (this=0x1d22448, mutex=0x1d22440, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f25b255db0a in QThreadPoolThread::run (this=0x1d22610) at concurrent/qthreadpool.cpp:140
#3  0x00007f25b2566ff2 in QThreadPrivate::start (arg=0x1d22610) at thread/qthread_unix.cpp:189
#4  0x00007f25b22f3040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f25b07a108d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f25b60ca710 (LWP 19584)):
[KCrash Handler]
#5  QHash<QByteArray, int>::freeData (this=0x9a2160, x=0x1ddf3b0) at /usr/include/QtCore/qatomic_x86_64.h:133
#6  0x00007f25b4d9c514 in KMail::PopAccount::processNewMail (this=0x9a1ff0, _interactive=false) at /usr/include/QtCore/qhash.h:580
#7  0x00007f25b4ccf824 in KMail::AccountManager::processNextCheck (this=0x88b520, _newMail=<value optimized out>) at /usr/src/debug/kdepim-4.2.90/kmail/accountmanager.cpp:230
#8  0x00007f25b4cd02d2 in KMail::AccountManager::singleCheckMail (this=0x88b520, account=0x9a1ff0, interactive=<value optimized out>) at /usr/src/debug/kdepim-4.2.90/kmail/accountmanager.cpp:157
#9  0x00007f25b4c46f55 in KMAccount::qt_metacall (this=0x9a1ff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbe12dc90)
    at /usr/src/debug/kdepim-4.2.90/build/kmail/kmaccount.moc:147
#10 0x00007f25b4da5c15 in KMail::PopAccount::qt_metacall (this=0x7f25b0a22a00, _c=2961116944, _id=65, _a=0x0) at /usr/src/debug/kdepim-4.2.90/build/kmail/popaccount.moc:77
#11 0x00007f25b2666842 in QMetaObject::activate (sender=0x9a1580, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3120
#12 0x00007f25b2660b43 in QObject::event (this=0x9a1580, e=0x7f25b07f0f10) at kernel/qobject.cpp:1082
#13 0x00007f25b134170d in QApplicationPrivate::notify_helper (this=0x64cf90, receiver=0x9a1580, e=0x7fffbe12e390) at kernel/qapplication.cpp:4057
#14 0x00007f25b134999a in QApplication::notify (this=0x7fffbe12e8a0, receiver=0x9a1580, e=0x7fffbe12e390) at kernel/qapplication.cpp:4022
#15 0x00007f25b5b1d24b in KApplication::notify (this=0x7fffbe12e8a0, receiver=0x9a1580, event=0x7fffbe12e390) at /usr/src/debug/kdelibs-4.2.90/kdeui/kernel/kapplication.cpp:302
#16 0x00007f25b2650d1c in QCoreApplication::notifyInternal (this=0x7fffbe12e8a0, receiver=0x9a1580, event=0x7fffbe12e390) at kernel/qcoreapplication.cpp:610
#17 0x00007f25b267e2c0 in QTimerInfoList::activateTimers (this=0x650030) at kernel/qcoreapplication.h:213
#18 0x00007f25b267a5ed in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164
#19 0x00007f25a7bbd95a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f25a7bc1060 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f25a7bc11fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f25b267a54f in QEventDispatcherGlib::processEvents (this=0x60d5f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#23 0x00007f25b13d8f3f in QGuiEventDispatcherGlib::processEvents (this=0x7f25b0a22a00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007f25b264f5a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1106057552}) at kernel/qeventloop.cpp:149
#25 0x00007f25b264f96d in QEventLoop::exec (this=0x7fffbe12e6f0, flags={i = -1106057472}) at kernel/qeventloop.cpp:200
#26 0x00007f25b2651c74 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#27 0x00000000004030db in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.90/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Martin Koller 2009-09-27 20:28:42 UTC
This crash is happening during checking for new mail, but for me it looks like a memory corruption problem, which happened some time before that function.
(This crash points do the QHash<...>::clear() method in PopAccount::processNewMail())

So without being able to reproduce, I can not do anything further with that issue, therefore I close it.