[Bug 180741] crash in kmail (typeinfo name for, KMReaderWin::parseMsg)

LimCore kde.bugs at limcore.com
Fri Jan 8 03:24:14 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=180741


LimCore <kde.bugs at limcore.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde.bugs at limcore.com




--- Comment #59 from LimCore <kde bugs limcore com>  2010-01-08 04:23:58 ---
Ok more information!

The bug appears to be related to some enqueueing of events to main Kmail window
while the pin entry is opened.

For some reason, this symptoms appear to show most when using Inbox (I test
that on gmail cached/disconnected IMAP).

Reproduce:
1. open kmail, go to inbox of cached imap like gmail
2. select message that is signed+encr
3. pinentyr opens up
4. click a lot in the window of kmail (that is now defocused), like 10 random
clicks all over the list of email in that inbox - that list is visible, but it
is defocused and is not active (since pinetry is modal)
5. cancel pinentry
6. crash!

Tested on SMP (4 cores).

This got me faster to the bugs we observed, and to some perhaps new bugs - well
other bug traces:



You just entered an invalid passphrase.
Do you want to try again, or cancel and view the message undecrypted?

#5  0x0000000002cc5120 in ?? ()
#6  0x00007f90ab8dbc9a in KMReaderWin::parseMsg (this=0x19c3ca0,
aMsg=0x2604330) at ../../kmail/kmreaderwin.cpp:1678
#7  0x00007f90ab8caeda in KMReaderWin::displayMessage (this=0x19c3ca0) at
../../kmail/kmreaderwin.cpp:1605
#8  0x00007f90ab8cb0b4 in KMReaderWin::updateReaderWin (this=0x19c3ca0) at
../../kmail/kmreaderwin.cpp:1545










Thread 2 (Thread 0x7f88874d8910 (LWP 2591)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f88a7b1d462 in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x2c9aca0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2c9aca0,
time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f88a7b134f2 in QThreadPoolThread::run (this=<value optimized out>)
at concurrent/qthreadpool.cpp:140
#4  0x00007f88a7b1c445 in QThreadPrivate::start (arg=0x20ef380) at
thread/qthread_unix.cpp:188
#5  0x00007f88a2434a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007f88a73077bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f88aa4167f0 (LWP 2540)):
[KCrash Handler]
#5  0x0000000002af48f0 in ?? ()
#6  0x00007f88a8fe1c9a in KMReaderWin::parseMsg (this=0x214e6a0,
aMsg=0x35846a0) at ../../kmail/kmreaderwin.cpp:1678
#7  0x00007f88a8fd0eda in KMReaderWin::displayMessage (this=0x214e6a0) at
../../kmail/kmreaderwin.cpp:1605
#8  0x00007f88a8fd10b4 in KMReaderWin::updateReaderWin (this=0x214e6a0) at
../../kmail/kmreaderwin.cpp:1545
#9  0x00007f88a8fdcf9d in KMReaderWin::qt_metacall (this=0x214e6a0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffeca45fa0)
at ./kmreaderwin.moc:168
#10 0x00007f88a7c17ddc in QMetaObject::activate (sender=0x214e748,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0x36137d0) at kernel/qobject.cpp:3113
#11 0x00007f88a7c11d83 in QObject::event (this=0x214e748, e=0x46) at
kernel/qobject.cpp:1075
#12 0x00007f88a8095efc in QApplicationPrivate::notify_helper (this=0x1c9f1a0,
receiver=0x214e748, e=0x7fffeca465a0) at kernel/qapplication.cpp:4056
[...]









Thread 2 (Thread 0x7f99a29fa910 (LWP 2617)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f99c303f462 in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x2566500, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2566500,
time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f99c30354f2 in QThreadPoolThread::run (this=<value optimized out>)
at concurrent/qthreadpool.cpp:140
#4  0x00007f99c303e445 in QThreadPrivate::start (arg=0x1743350) at
thread/qthread_unix.cpp:188
#5  0x00007f99bd956a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007f99c28297bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f99c59387f0 (LWP 2614)):
[KCrash Handler]
#5  QEventLoop::d_func (this=0x0, returnCode=0) at
../../include/QtCore/../../src/corelib/kernel/qeventloop.h:58
#6  QEventLoop::exit (this=0x0, returnCode=0) at kernel/qeventloop.cpp:279
#7  0x00007f99c3636caa in QDragManager::eventFilter (this=0x26d1fb0, o=<value
optimized out>, e=<value optimized out>) at kernel/qdnd_x11.cpp:1317
#8  0x00007f99c312400b in
QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x1581860,
receiver=0x26d9b90, event=0x7fffc0aed0e0) at kernel/qcoreapplication.cpp:707
#9  0x00007f99c35b7e76 in QApplicationPrivate::notify_helper (this=0x0,
receiver=0x0, e=0x7f99c3f96f01) at kernel/qapplication.cpp:4031
#10 0x00007f99c35bf011 in QApplication::notify (this=<value optimized out>,
receiver=0x26d9b90, e=0x7fffc0aed0e0) at kernel/qapplication.cpp:3758
#11 0x00007f99c537aab6 in KApplication::notify (this=0x7fffc0af4420,
receiver=0x26d9b90, event=0x7fffc0aed0e0) at
../../kdeui/kernel/kapplication.cpp:302
#12 0x00007f99c3124c2c in QCoreApplication::notifyInternal
(this=0x7fffc0af4420, receiver=0x26d9b90, event=0x7fffc0aed0e0) at
kernel/qcoreapplication.cpp:610
#13 0x00007f99c35be8e0 in QCoreApplication::sendSpontaneousEvent
(receiver=0x26d9b90, event=0x7fffc0aed0e0, alienWidget=0x1a686a0,
nativeWidget=0x1533ab0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#14 QApplicationPrivate::sendMouseEvent (receiver=0x26d9b90,
event=0x7fffc0aed0e0, alienWidget=0x1a686a0, nativeWidget=0x1533ab0,
buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at kernel/qapplication.cpp:2924
#15 0x00007f99c3624a0e in QETWidget::translateMouseEvent (this=0x1533ab0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#16 0x00007f99c3623aa9 in QApplication::x11ProcessEvent (this=<value optimized
out>, event=0x7fffc0aeec10) at kernel/qapplication_x11.cpp:3550
#17 0x00007f99c364cd0c in x11EventSourceDispatch (s=<value optimized out>,
callback=<value optimized out>, user_data=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:146
#18 0x00007f99ba3bdbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f99ba3c1598 in ?? () from /lib/libglib-2.0.so.0
[...]

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list