Bug 180741 - crash in kmail (typeinfo name for, KMReaderWin::parseMsg)
Summary: crash in kmail (typeinfo name for, KMReaderWin::parseMsg)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 125512 182160 182853 185308 187273 190043 201024 202204 205809 206180 207197 208012 208196 208245 208296 208314 209008 209254 209704 209913 209987 210504 210751 211164 211375 212424 213239 213454 214112 214358 215002 217171 218782 218913 218973 220271 221329 221549 221574 222251 222555 225204 230672 235893 240027 240379 254065 280389 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-14 23:20 UTC by Neal Becker
Modified: 2012-08-19 10:50 UTC (History)
46 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
4.1 and 4.2 dbg (4.66 KB, text/plain)
2009-01-30 11:13 UTC, Johan Thelmen
Details
Trace working with delay and one without that crash (15.36 KB, text/plain)
2009-02-07 02:58 UTC, Johan Thelmen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neal Becker 2009-01-14 23:20:32 UTC
Version:            (using Devel)
Installed from:    Compiled sources

kdepim-4.1.96-1.fc10.x86_64

Application: KMail (kmail), signal SIGILL
0x0000003840aa7f81 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7f4f87d99800 (LWP 4780))]

Thread 9 (Thread 0x7f4f7cf3b950 (LWP 11461)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f4f7be4aa91 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000038416073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003840ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 8 (Thread 0x7f4f7724a950 (LWP 11462)):
#0  0x0000003840adc886 in __poll (fds=0x20ae5c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000384223ae08 in g_main_context_poll () at gmain.c:3091
#2  g_main_context_iterate (context=0x283dde0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2773
#3  0x000000384223b12b in IA__g_main_context_iteration (context=0x283dde0, may_block=1) at gmain.c:2841
#4  0x00000039e636a7be in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00000039e6340cb2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#6  0x00000039e6340e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x00000039e62568e8 in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x00007f4f7c0a4094 in Phonon::Xine::XineThread::run (this=0x25a7340) at /usr/src/debug/phonon-4.2.96/xine/xinethread.cpp:143
#9  0x00000039e6259852 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00000038416073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x0000003840ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently asm

Thread 7 (Thread 0x7f4f76849950 (LWP 11463)):
#0  0x0000003840adc886 in __poll (fds=0x28ca5f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4f77cb6034 in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f4f77ca6c62 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f4f77ca7015 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f4f77ca708a in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f4f77cb60a2 in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f4f77ce7201 in ?? () from /usr/lib64/libpulse.so.0
#7  0x00000038416073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x0000003840ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently c

Thread 6 (Thread 0x7f4f71e47950 (LWP 11464)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4f7be5bc43 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000038416073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003840ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 5 (Thread 0x7f4f70dbf950 (LWP 11465)):
#0  0x0000003840adeaa2 in select () from /lib64/libc.so.6
#1  0x00007f4f7be72b54 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f4f7be5879b in ?? () from /usr/lib64/libxine.so.1
#3  0x00000038416073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003840ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently asm

Thread 4 (Thread 0x7f4f6ffd5950 (LWP 11466)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4f7be4e52b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f4f7be5443e in ?? () from /usr/lib64/libxine.so.1
#3  0x00000038416073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003840ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently c

Thread 3 (Thread 0x7f4f6f407950 (LWP 11467)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4f7be4e52b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f4f7be554ee in ?? () from /usr/lib64/libxine.so.1
#3  0x00000038416073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003840ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
Current language:  auto; currently asm

Thread 2 (Thread 0x7f4f6ea06950 (LWP 11468)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4f7be5e88b in ?? () from /usr/lib64/libxine.so.1
#2  0x00000038416073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003840ae62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7f4f87d99800 (LWP 4780)):
[KCrash Handler]
#5  0x00000039e63cc8a2 in typeinfo name for QObject () from /usr/lib64/libQtCore.so.4
#6  0x000000321d9df0b1 in KMReaderWin::parseMsg (this=0x1b1f550, aMsg=0x27e6c80) at /usr/src/debug/kdepim-4.1.96/kmail/kmreaderwin.cpp:1628
#7  0x000000321d9d1397 in KMReaderWin::displayMessage (this=0x1b1f550) at /usr/src/debug/kdepim-4.1.96/kmail/kmreaderwin.cpp:1555
#8  0x000000321d9d1585 in KMReaderWin::updateReaderWin (this=0x1b1f550) at /usr/src/debug/kdepim-4.1.96/kmail/kmreaderwin.cpp:1495
#9  0x000000321d9de925 in KMReaderWin::qt_metacall (this=0x1b1f550, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8fe11440)
    at /usr/src/debug/kdepim-4.1.96/x86_64-redhat-linux-gnu/kmail/kmreaderwin.moc:164
#10 0x00000039e6356764 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#11 0x00000039e6351073 in QObject::event () from /usr/lib64/libQtCore.so.4
#12 0x00000039e698281d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#13 0x00000039e698a5ca in QApplication::notify () from /usr/lib64/libQtGui.so.4
#14 0x0000003213c04dfb in KApplication::notify (this=0x7fff8fe11f50, receiver=0x1b1f5e8, event=0x7fff8fe11af0) at /usr/src/debug/kdelibs-4.1.96/kdeui/kernel/kapplication.cpp:307
#15 0x00000039e6342391 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#16 0x00000039e636e0d6 in ?? () from /usr/lib64/libQtCore.so.4
#17 0x00000039e636a83d in ?? () from /usr/lib64/libQtCore.so.4
#18 0x000000384223779b in g_main_dispatch () at gmain.c:2144
#19 IA__g_main_context_dispatch (context=0x16eed20) at gmain.c:2697
#20 0x000000384223af6d in g_main_context_iterate (context=0x16eed20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#21 0x000000384223b12b in IA__g_main_context_iteration (context=0x16eed20, may_block=1) at gmain.c:2841
#22 0x00000039e636a79f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#23 0x00000039e6a131cf in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00000039e6340cb2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#25 0x00000039e6340e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#26 0x00000039e63432ed in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#27 0x0000000000402b5b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.1.96/kmail/main.cpp:146
Current language:  auto; currently c
Comment 1 Neal Becker 2009-01-14 23:21:26 UTC
Seems repeatable - crash when trying to delete a message
Comment 2 George Kiagiadakis 2009-01-18 15:55:50 UTC
This sounds like a packaging or compiler bug. Maybe kmail was build against a newer version of Qt than the version that is installed in your computer?
Comment 3 Dario Andres 2009-01-29 17:35:49 UTC
*** Bug 182160 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-01-29 17:36:58 UTC
The reporter of bug 182160 says he can reproduce the bug
Comment 5 Neal Becker 2009-01-29 17:45:30 UTC
I haven't seen this in a while now.  I believe it's fixed here.

kdepim-4.2.0-2.fc10.x86_64
qt-4.4.3-10.fc10.x86_64

Comment 6 Johan Thelmen 2009-01-30 07:23:15 UTC
Same with local recompile.
qt4 4.4.3-0ubuntu1.1
g++ 4.3.2 (Ubuntu 4.3.2-1ubuntu12)

Will try with g++ 4.2 and 4.1 if that will work.

(gdb) bt
#0  0x00007f4974ae7390 in typeinfo for DwFieldBody () from /usr/lib/libmimelib.so.4
#1  0x00007f497d2d67ed in KMReaderWin::parseMsg (this=0x25fddf0, aMsg=0x31665f0) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1628
#2  0x00007f497d2c4537 in KMReaderWin::displayMessage (this=0x25fddf0) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1555
#3  0x00007f497d2c4725 in KMReaderWin::updateReaderWin (this=0x25fddf0) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1495
#4  0x00007f497d2d1bf5 in KMReaderWin::qt_metacall (this=0x25fddf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8676ac20)
    at /home/johan/dev/kde/kdepim-4.2.0/obj-x86_64-linux-gnu/kmail/kmreaderwin.moc:164
#5  0x00007f4979de6134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#6  0x00007f4979de0a43 in QObject::event () from /usr/lib/libQtCore.so.4
#7  0x00007f497a4f5c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#8  0x00007f497a4fd9ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#9  0x00007f497e1593eb in KApplication::notify (this=0x7fff8676b730, receiver=0x25fde88, event=0x7fff8676b2d0)
    at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#10 0x00007f4979dd1d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#11 0x00007f4979dfdab6 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007f4979dfa1fd in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007f49714d0d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0x00007f49714d450d in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f49714d46cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007f4979dfa15f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#17 0x00007f497a587a6f in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007f4979dd0682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007f4979dd080d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#20 0x00007f4979dd2cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#21 0x000000000040309b in main (argc=<value optimized out>, argv=<value optimized out>) at /home/johan/dev/kde/kdepim-4.2.0/kmail/main.cpp:146
Comment 7 Johan Thelmen 2009-01-30 11:10:14 UTC
Get the same with 4.2 and 4.1
gcc version 4.2.4 (Ubuntu 4.2.4-3ubuntu4)
gcc version 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-23ubuntu3)

Any more ideas? Recompile Qt?
Is it handling signals correctly when another signal arrive to open next message when it is currently working on opening the first message at the same time. Using any non reentrant code?
Comment 8 Johan Thelmen 2009-01-30 11:13:45 UTC
Created attachment 30741 [details]
4.1 and 4.2 dbg
Comment 9 Johan Thelmen 2009-01-30 13:58:45 UTC
By waiting for the current message to fully display before selecting the next message will avoid the crash. No problem deleting mails for me. I will try to create a testcase-mail later and see if I can reproduce it in a clean account and computer.
Comment 10 Jaime Torres 2009-01-31 13:20:46 UTC
Pasting the backtraces (it is a lot easier to find duplicates if they are as comments).

gcc version 4.2.4 (Ubuntu 4.2.4-3ubuntu4)
(gdb) bt
#0  0x00007f066d9ad420 in typeinfo for DwTokenString () from /usr/lib/libmimelib.so.4
#1  0x00007f06761af83c in KMReaderWin::parseMsg (this=0x2902a50, aMsg=0x33565d0) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1628
#2  0x00007f06761aaca5 in KMReaderWin::displayMessage (this=0x2902a50) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1555
#3  0x00007f06761aaf24 in KMReaderWin::updateReaderWin (this=0x2902a50) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1495
#4  0x00007f06761b433a in KMReaderWin::qt_metacall (this=0x2902a50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7f62baf0)
    at /home/johan/dev/kde/kdepim-4.2.0/obj-x86_64-linux-gnu/kmail/kmreaderwin.moc:164
#5  0x00007f0672cb2134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#6  0x00007f0672caca43 in QObject::event () from /usr/lib/libQtCore.so.4
#7  0x00007f06733c1c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#8  0x00007f06733c99ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#9  0x00007f06770183eb in KApplication::notify (this=0x7fff7f62c5f0, receiver=0x2902ae8, event=0x7fff7f62c1a0)
    at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#10 0x00007f0672c9dd61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#11 0x00007f0672cc9ab6 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007f0672cc61fd in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007f066a390d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0x00007f066a39450d in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f066a3946cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007f0672cc615f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#17 0x00007f0673453a6f in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007f0672c9c682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007f0672c9c80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#20 0x00007f0672c9ecbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#21 0x000000000040300a in main (argc=<value optimized out>, argv=<value optimized out>) at /home/johan/dev/kde/kdepim-4.2.0/kmail/main.cpp:146

/usr/lib/libmimelib.so.4.2.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
250752 2009-01-30 08:51 /usr/lib/libmimelib.so.4.2.0


gcc version 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-23ubuntu3)
(gdb) bt
#0  0x00007f14da23d0a0 in typeinfo for DwTokenString () from /usr/lib/libmimelib.so.4
#1  0x00007f14e2a40444 in KMReaderWin::parseMsg (this=0x1a77990, aMsg=0x24c4480) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1628
#2  0x00007f14e2a3b92f in KMReaderWin::displayMessage (this=0x1a77990) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1555
#3  0x00007f14e2a3bba4 in KMReaderWin::updateReaderWin (this=0x1a77990) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1495
#4  0x00007f14e2a4474d in KMReaderWin::qt_metacall (this=0x1a77990, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffebe6f330)
    at /home/johan/dev/kde/kdepim-4.2.0/obj-x86_64-linux-gnu/kmail/kmreaderwin.moc:164
#5  0x00007f14df542134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#6  0x00007f14df53ca43 in QObject::event () from /usr/lib/libQtCore.so.4
#7  0x00007f14dfc51c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#8  0x00007f14dfc599ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#9  0x00007f14e385b3eb in KApplication::notify (this=0x7fffebe6fe30, receiver=0x1a77a28, event=0x7fffebe6f9e0)
    at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#10 0x00007f14df52dd61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#11 0x00007f14df559ab6 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007f14df5561fd in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007f14d6c21d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0x00007f14d6c2550d in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f14d6c256cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007f14df55615f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#17 0x00007f14dfce3a6f in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007f14df52c682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007f14df52c80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#20 0x00007f14df52ecbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#21 0x00000000004030da in main (argc=<value optimized out>, argv=<value optimized out>) at /home/johan/dev/kde/kdepim-4.2.0/kmail/main.cpp:146

249856 2009-01-30 10:26 /usr/lib/libmimelib.so.4.2.0
Comment 11 Dario Andres 2009-02-03 13:52:35 UTC
*** Bug 182853 has been marked as a duplicate of this bug. ***
Comment 12 Johan Thelmen 2009-02-04 18:19:15 UTC
< Pasting the backtraces (it is a lot easier to find duplicates if they are as comments).

They showed the same thing as the first I already posted so I think they are not of much use then for reference.

Tried the same messages with a new user. Messages show up much faster when changing between them and I'm not able reproduce it then. So there must be some combination of things that slows it down to create the problem.

Tried to comment out the lines at kmail/kmreaderwin.cpp:1628
Where we get the crash I think.

  // store encrypted/signed status information in the KMMessage
  //  - this can only be done *after* calling parseObjectTree()
  KMMsgEncryptionState encryptionState = mRootNode->overallEncryptionState();
  KMMsgSignatureState  signatureState  = mRootNode->overallSignatureState();
//#! HERE 1628 !##  aMsg->setEncryptionState( encryptionState );
  // Don't reset the signature state to "not signed" (e.g. if one canceled the
  // decryption of a signed messages which has already been decrypted before).
//  if ( signatureState != KMMsgNotSigned ||
//       aMsg->signatureState() == KMMsgSignatureStateUnknown ) {
//    aMsg->setSignatureState( signatureState );
//  }

But instead I now get a crash at another place. But it might help to explain the first one.

#0  DwHeaders::FindField (this=0x646f42646c656946, aFieldName=0x3573138 "Message-Id") at /home/johan/dev/kde/kdepim-4.2.0/mimelib/headers.cpp:287
#1  0x00007fd6a12f2770 in KMMessage::headerField (this=0x2255830, aName=@0x7fffaa8684c0) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmmessage.cpp:2231
#2  0x00007fd6a12f61d0 in KMMessage::msgId (this=0x2255830) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmmessage.cpp:2121                             
#3  0x00007fd6a13f78e0 in KMReaderWin::parseMsg (this=0x18e8f10, aMsg=0x2255830) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1708      
#4  0x00007fd6a13e5537 in KMReaderWin::displayMessage (this=0x18e8f10) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1555                
#5  0x00007fd6a13e5725 in KMReaderWin::updateReaderWin (this=0x18e8f10) at /home/johan/dev/kde/kdepim-4.2.0/kmail/kmreaderwin.cpp:1495               
#6  0x00007fd6a13f2bf5 in KMReaderWin::qt_metacall (this=0x18e8f10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaa868d10)  
    at /home/johan/dev/kde/kdepim-4.2.0/obj-x86_64-linux-gnu/kmail/kmreaderwin.moc:164                                                               
#7  0x00007fd69df17134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4                                                                      
#8  0x00007fd69df11a43 in QObject::event () from /usr/lib/libQtCore.so.4                                                                             
#9  0x00007fd69e626c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4                                                          
#10 0x00007fd69e62e9ba in QApplication::notify () from /usr/lib/libQtGui.so.4                                                                        
#11 0x00007fd6a22605db in KApplication::notify () from /usr/lib/libkdeui.so.5                                                                        
#12 0x00007fd69df02d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4                                                           
#13 0x00007fd69df2eab6 in ?? () from /usr/lib/libQtCore.so.4                                                                                         
#14 0x00007fd69df2b1fd in ?? () from /usr/lib/libQtCore.so.4                                                                                         
#15 0x00007fd69561fd3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0                                                                  
#16 0x00007fd69562350d in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007fd6956236cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007fd69df2b15f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007fd69e6b8a8f in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007fd69df01682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#21 0x00007fd69df0180d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#22 0x00007fd69df03cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#23 0x000000000040309b in main (argc=<value optimized out>, argv=<value optimized out>) at /home/johan/dev/kde/kdepim-4.2.0/kmail/main.cpp:146

list
282
283     DwField* DwHeaders::FindField(const char* aFieldName) const
284     {
285         assert(aFieldName != 0);
286         if (aFieldName == 0) return 0;
287         DwField* field = mFirstField;
288         while (field) {
289             if (DwStrcasecmp(field->FieldNameStr(), aFieldName) == 0) {
290                 break;
291             }

(gdb) p aFieldName
$3 = 0x3573138 "Message-Id"
(gdb) print mFirstField
Cannot access memory at address 0x646f42646c656946

Gone?

frame 3
1703      // save current main Content-Type before deleting mRootNode
1704      const int rootNodeCntType = mRootNode ? mRootNode->type() : DwMime::kTypeText;
1705      const int rootNodeCntSubtype = mRootNode ? mRootNode->subType() : DwMime::kSubtypePlain;
1706
1707      // store message id to avoid endless recursions
1708      setIdOfLastViewedMessage( aMsg->msgId() );

Anything I should check or change to help?
Comment 13 Johan Thelmen 2009-02-05 22:11:31 UTC
kmail(4027) KMail::lockOrDie: oldPid= 3862
kmail(4027) KMKernel::KMKernel:
kmail(4027) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet(). 
kmail(4027) KMailApplication::newInstance:
kmail(4027) KMailApplication::newInstance: Delaying instance creation.
kmail(4027) KMKernel::init: foldersPath (from config): "/home/johan/.kde/share/apps/kmail/mail"
kmail(4027) KMKernel::identityManager:
kmail(4027) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"
kmail(4027) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"
kmail(4027) KMFilterMgr::KMFilterMgr: pPopFilter set
kmail(4027) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet(). 
kmail(4027) KMFolderMaildir::createIndexFromContents: Creating index for "/home/johan/.kde/share/apps/kmail/autosave"
kmail(4027) KMFolderMaildir::createIndexFromContents: Creating index for "/home/johan/.kde/share/apps/kmail/autosave"
kmail(4027) KMailApplication::newInstance:
kmail(4027) KMKernel::openReader:
kmail(4027) KMReaderWin::KMReaderWin: Entering function
kmail(4027) KMReaderWin::createWidgets: Entering function
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x164f9f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QWidget(0x164f980)
kmail(4027) KMReaderWin::setStyleDependantFrameWidth: Entering function
kmail(4027) KMReaderWin::createActions: Entering function
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x195efb0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19a9390)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19ad7e0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1987890)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1980b30)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1972b70)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x195e070)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x193ff60)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1980d70)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19b0f00)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19ab660)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x195d380)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19d7b20)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a1c150)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19f52f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19a5720)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1979ae0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a2e0b0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x198bf60)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19f7a90)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19a6340)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19c3700)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a19cf0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a2c990)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1959e60)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19a7e40)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19888a0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19adb80)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x195d6f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19becd0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19a9690)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19b3b70)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a1a5a0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19f0170)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1982010)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1946090)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1908ab0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19a79f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x196c290)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x192b2c0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19b8580)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a31590)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19de9c0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a33710)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19835a0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1908080)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19081f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x196ce80)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1947130)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19b9180)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a34b60)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19485c0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x196e410)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19ba4f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a06ba0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1993c50)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19b9ca0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1994580)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a33900)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x198d1d0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19b3450)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19478d0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a04400)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1943890)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a2fbd0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1990310)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1942800)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1942e40)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19684b0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x19689d0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a26dc0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildAdded, QObject(0x1a27790)
kmail(4027) KMReaderWin::initHtmlWidget: Entering function
kmail(4027) KMReaderWin::readConfig: Entering function
kmail(4027) KMReaderWin::actionForHeaderStyle: Entering function  style= 0x0  strategy= 0x0
kmail(4027) KMReaderWin::setAttachmentStrategy: Entering function  strategy= 0x1945880
kmail(4027) KMReaderWin::update: Entering function  force= true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::actionForAttachmentStrategy: Entering function  as= 0x1945880
kmail(4027) KMReaderWin::adjustLayout: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QEvent(0x7fff5323fdb0, type = 75)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QChildEvent(ChildInserted, QWidget(0xfedb60)
kmail(4027) KMReaderWin::readGlobalOverrideCodec: Entering function
kmail(4027) KMReaderWin::setOverrideEncoding: Entering function  encoding= ""
kmail(4027) KMReaderWin::setHeaderStyleAndStrategy: Entering function  style= 0x1945cc0  strategy= 0xd2edc0
kmail(4027) KMReaderWin::update: Entering function  force= true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::setMsg: Entering function  aMsg= 0x0  force= false
kmail(4027) KMReaderWin::readConfig: Entering function
kmail(4027) KMReaderWin::actionForHeaderStyle: Entering function  style= 0x1945cc0  strategy= 0xd2edc0
kmail(4027) KMReaderWin::setAttachmentStrategy: Entering function  strategy= 0x1945880
kmail(4027) KMReaderWin::update: Entering function  force= true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::actionForAttachmentStrategy: Entering function  as= 0x1945880
kmail(4027) KMReaderWin::adjustLayout: Entering function
kmail(4027) KMReaderWin::readGlobalOverrideCodec: Entering function
kmail(4027) KMReaderWin::setHeaderStyleAndStrategy: Entering function  style= 0x1945cc0  strategy= 0xd2edc0
kmail(4027) KMReaderWin::update: Entering function  force= true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::event: Entering function  e= QHideEvent(0x7fff53240570)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QHideEvent(0x7fff53240340)
kmail(4027) KMReaderWin::event: Entering function  e= QHideToParentEvent(0x7fff532405d0)
kmail(4027) KMReaderWin::event: Entering function  e= QParentAboutToChangeEvent(0x7fff532406b0)
kmail(4027) KMReaderWin::event: Entering function  e= QParentChangeEvent(0x7fff532406b0)
kmail(4027) KMReaderWin::event: Entering function  e= QEvent(0x7fff532405d0, type = 75)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, QVBoxLayout(0x164f9f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, QSplitter(0x164f980, name = "mSplitter")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KActionMenu(0x195efb0, name = "view_headers")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, QActionGroup(0x19a9390)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x19ad7e0, name = "view_headers_enterprise")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x1987890, name = "view_headers_fancy")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x1980b30, name = "view_headers_brief")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x1972b70, name = "view_headers_standard")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x195e070, name = "view_headers_long")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x193ff60, name = "view_headers_all")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KActionMenu(0x1980d70, name = "view_attachments")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, QActionGroup(0x19b0f00)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x19ab660, name = "view_attachments_as_icons")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x195d380, name = "view_attachments_smart")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x19d7b20, name = "view_attachments_inline")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x1a1c150, name = "view_attachments_hide")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KSelectAction(0x19f52f0, name = "encoding")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19a5720)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1979ae0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a2e0b0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x198bf60)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19f7a90)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19a6340)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19c3700)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a19cf0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a2c990)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1959e60)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19a7e40)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19888a0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19adb80)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x195d6f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19becd0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19a9690)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19b3b70)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a1a5a0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19f0170)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1982010)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1946090)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1908ab0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19a79f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x196c290)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x192b2c0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19b8580)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a31590)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19de9c0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a33710)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19835a0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1908080)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19081f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x196ce80)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1947130)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19b9180)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a34b60)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19485c0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x196e410)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19ba4f0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a06ba0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1993c50)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19b9ca0)
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1994580, name = "mail_new")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a33900, name = "mailto_reply")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x198d1d0, name = "mailto_forward")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19b3450, name = "add_addr_book")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19478d0, name = "openin_addr_book")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a04400, name = "mark_all_text")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1943890, name = "copy_url")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a2fbd0, name = "open_url")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1990310, name = "add_bookmarks")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1942800, name = "saveas_url")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KToggleAction(0x1942e40, name = "toggle_fixedfont")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19684b0, name = "scroll_up")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x19689d0, name = "scroll_down")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a26dc0, name = "scroll_up_more")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildInserted, KAction(0x1a27790, name = "scroll_down_more")
kmail(4027) KMReaderWin::event: Entering function  e= QChildEvent(ChildPolished, QSplitter(0x164f980, name = "mSplitter")
kmail(4027) KMail::MessageListView::Core::View::resizeEvent: Resize event enter (viewport width is  314 )
kmail(4027) KMail::MessageListView::Core::View::resizeEvent: Resize event enter (viewport width is  1402 )
kmail(4027) KMReaderWin::event: Entering function  e= QMoveEvent(0x7fff53240360)
kmail(4027) KMReaderWin::event: Entering function  e= QResizeEvent(0x7fff53240330)
kmail(4027) KMReaderWin::resizeEvent: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QMoveEvent(0x7fff5323fc80)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QResizeEvent(0x7fff5323fc50)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QShowEvent(0x7fff5323fd20)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QShowToParentEvent(0x7fff5323fd80)
kmail(4027) KMReaderWin::event: Entering function  e= QShowEvent(0x7fff53240400)
kmail(4027) KMReaderWin::event: Entering function  e= QShowToParentEvent(0x7fff53240460)
kmail(4027) KMReaderWin::event: Entering function  e= QEvent(0x148ab80, type = 67)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QEvent(0xfd8630, type = 67)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QResizeEvent(0x7fff5323b0d0)
kmail(4027) KMReaderWin::event: Entering function  e= QResizeEvent(0x7fff5323e4b0)
kmail(4027) KMReaderWin::resizeEvent: Entering function
kmail(4027) KMReaderWin::event: Entering function  e= QEvent(0x164f460, type = 74)
kmail(4027) KMReaderWin::event: Entering function  e= QEvent(0x164f9c0, type = 76)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QEvent(0xfabfd0, type = 74)
kmail(4027) KMReaderWin::updateReaderWin: Entering function
kmail(4027) KMReaderWin::htmlLoadExternal: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QCursorChangeEvent(0x7fff53240220)
kmail(4027) KMReaderWin::newFeaturesMD5: Entering function
kmail(4027) KMReaderWin::setMsg: Entering function  aMsg= 0x0  force= true
kmail(4027) KMReaderWin::updateReaderWin: Entering function
kmail(4027) KMReaderWin::htmlLoadExternal: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QCursorChangeEvent(0x7fff5323fef0)
kmail(4027) KMReaderWin::enableMsgDisplay: Entering function
kmail(4027) KMReaderWin::adjustLayout: Entering function
kmail(4027) KMReaderWin::setMsg: Entering function  aMsg= 0x0  force= true
kmail(4027) KMReaderWin::updateReaderWin: Entering function
kmail(4027) KMReaderWin::htmlLoadExternal: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QCursorChangeEvent(0x7fff5323fef0)
kmail(4027) KMReaderWin::setHtmlOverride: Entering function  override= true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::setHtmlLoadExtOverride: Entering function  override= false
kmail(4027) KMail::MessageListView::Core::SortOrder::readConfig: "SortMessagesByDateTime"
kmail(4027) KMail::MessageListView::Core::SortOrder::readConfig: "Ascending"
kmail(4027) KMail::MessageListView::Core::SortOrder::readConfig: "NoGroupSorting"
kmail(4027) KMail::MessageListView::Core::SortOrder::readConfig: "Ascending"
kmail(4027) KMail::MessageListView::Core::View::resizeEvent: Resize event enter (viewport width is  1402 )
kmail(4027) KMail::MessageListView::Core::SortOrder::validForAggregation: true true true true
kmail(4027) KMail::MessageListView::Core::View::resizeEvent: Resize event enter (viewport width is  1402 )
kmail(4027) KMail::MessageListView::Core::Model::viewItemJobStepInternal: FILLED THE VIEW AT  inf  MSG/SEC
kmail(4027) KMail::MessageListView::Core::Model::viewItemJobStepInternal: Emitting layoutChanged()
kmail(4027) KMail::MessageListView::Core::Model::viewItemJobStepInternal: Emitted layoutChanged()
kmail(4027) KMail::MessageListView::Core::Model::viewItemJobStepInternal: EXPANDING THE TREE TOOK  0  MSECS
kmail(4027) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ Compiling your own language ]
kmail(4027) KMReaderWin::setMsg: Entering function  aMsg= 0x1f4a330  force= false
kmail(4027) KMReaderWin::setMsg: ( 1954206626 , last 0 ) "Compiling your own language" "Erik K. Pedersen" , readyToShow true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::setHtmlOverride: Entering function  override= true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::setHtmlLoadExtOverride: Entering function  override= false
kmail(4027) KMail::Vacation::Vacation: Vacation: found url " "" "
kmail(4027) KMReaderWin::slotDelayedResize: Entering function
kmail(4027) KMReaderWin::event: Entering function  e= QPaintEvent(0x7fff5323e370)
kmail(4027) KMReaderWin::updateReaderWin: Entering function
kmail(4027) KMReaderWin::htmlLoadExternal: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::displayMessage: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::showHideMimeTree: Entering function  isPlainTextTopLevel= true
kmail(4027) KMReaderWin::saveSplitterSizes: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QCursorChangeEvent(0x7fff532401a0)
kmail(4027) KMReaderWin::removeTempFiles: Entering function
kmail(4027) KMReaderWin::parseMsg: Entering function  aMsg= 0x1f4a330
kmail(4027) KMReaderWin::writeMsgHeader: Entering function  aMsg= 0x1f4a330  hasVCard= false  topLevel= true
kmail(4027) KMReaderWin::event: Entering function  e= QEvent(0x1f44c10, type = 76)
kmail(4027) KMReaderWin::event: Entering function  e= QWindowActivateEvent(0x7fff53234480)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QWindowActivateEvent(0x7fff53234480)
kmail(4027) KMReaderWin::event: Entering function  e= QEnterEvent(0x7fff53234440)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QEnterEvent(0x7fff53234440)
kmail(4027) loadPlugins: BodyPartFormatterFactory: found 4  plugins.
kmail(4027) insertBodyPartFormatter: BodyPartFormatterFactory: overwriting previously registered formatter for " application / octet-stream "
kmail(4027) insertBodyPartFormatter: BodyPartFormatterFactory: instantiating new Subtype Registry for " text "
kmail(4027) <unnamed>::UrlHandler::UrlHandler: UrlHandler() (iCalendar)
kmail(4027) KMReaderWin::showHideMimeTree: Entering function  isPlainTextTopLevel= true
kmail(4027) KMReaderWin::saveSplitterSizes: Entering function
kmail(4027) KMReaderWin::injectAttachments: Entering function
kmail(4027) KMReaderWin::renderAttachments: Entering function  node= 0x2038800
kmail(4027) KMReaderWin::renderAttachments: Entering function  node= 0x0
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QResizeEvent(0x7fff5323f580)
kmail(4027) KMReaderWin::event: Entering function  e= QPaintEvent(0x7fff5323f610)
kmail(4027) KMReaderWin::event: Entering function  e= QEvent(0x21f0000, type = 76)
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QCursorChangeEvent(0x7fff5323f580)
kmail(4027) KMReaderWin::slotUrlOn: Entering function  aUrl= "mailto:kde-i18n-doc%40master.kde.org"
kmail(4027) KMReaderWin::slotUrlOn: Entering function  aUrl= ""

kmail started, Pressing keys n and then p to select next message and then go back to the first.
None of the mail bodys are shown in this process. Only the message selection bar in the inbox folder view is moving as intended as I do this.

kmail(4027) KMReaderWin::eventFilter: Entering function  e= QLeaveEvent(0x7fff53240080)
kmail(4027) KMReaderWin::event: Entering function  e= QLeaveEvent(0x7fff53240080)
kmail(4027) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ Konsultmöte Region Norr ]
kmail(4027) KMReaderWin::setMsg: Entering function  aMsg= 0x1f4a930  force= false
kmail(4027) KMReaderWin::setMsg: ( 1954200162 , last 1954206626 ) "Konsultmöte Region Norr" "Llll Kkkkkkkkk" , readyToShow true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::setHtmlOverride: Entering function  override= true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::setHtmlLoadExtOverride: Entering function  override= false
kmail(4027) KMReaderWin::updateReaderWin: Entering function
kmail(4027) KMReaderWin::htmlLoadExternal: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::displayMessage: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::showHideMimeTree: Entering function  isPlainTextTopLevel= false
kmail(4027) KMReaderWin::saveSplitterSizes: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QCursorChangeEvent(0x7fff532401a0)
kmail(4027) KMReaderWin::removeTempFiles: Entering function
kmail(4027) KMReaderWin::parseMsg: Entering function  aMsg= 0x1f4a930
kmail(4027) KMReaderWin::writeMsgHeader: Entering function  aMsg= 0x1f4a930  hasVCard= false  topLevel= true
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::htmlLoadExternal: Entering function
kmail(4027) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ Compiling your own language ]
kmail(4027) KMReaderWin::setMsg: Entering function  aMsg= 0x1781840  force= false
kmail(4027) KMReaderWin::setMsg: ( 1954206626 , last 1954200162 ) "Compiling your own language" "Erik K. Pedersen" , readyToShow true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::setHtmlOverride: Entering function  override= true
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::htmlMail: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::setHtmlLoadExtOverride: Entering function  override= false
kmail(4027) KMReaderWin::updateReaderWin: Entering function
kmail(4027) KMReaderWin::htmlLoadExternal: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::displayMessage: Entering function
kmail(4027) KMReaderWin::message: Entering function
kmail(4027) KMReaderWin::showHideMimeTree: Entering function  isPlainTextTopLevel= true
kmail(4027) KMReaderWin::saveSplitterSizes: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QCursorChangeEvent(0x7fff5323e070)
kmail(4027) KMReaderWin::removeTempFiles: Entering function
kmail(4027) KMReaderWin::parseMsg: Entering function  aMsg= 0x1781840
kmail(4027) KMReaderWin::event: Entering function  e= QPaintEvent(0x7fff5323c780)
kmail(4027) KMReaderWin::injectAttachments: Entering function
kmail(4027) KMReaderWin::eventFilter: Entering function  e= QResizeEvent(0x7fff5323d450)
kmail(4027) KMReaderWin::event: Entering function  e= QEvent(0x1fc7a60, type = 76)
kmail(4027): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 

kmail(4027): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 

kmail(4027): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 

kmail(4027): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb"
*** KMail got signal 11 (Crashing) 
KCrash: Application 'kmail' crashing...

The last failed opens have nothing to do with this crash I just picked a mail. Probably another not so important bug.

Help?
Comment 14 Johan Thelmen 2009-02-07 02:58:00 UTC
Created attachment 31063 [details]
Trace working with delay and one without that crash
Comment 15 Johan Thelmen 2009-02-10 10:22:10 UTC
Some more useful kDebug to find the cause or mRootNode cause.
I think the interesting part is KMReaderWin::parseMsg: The root node is not yet processed! Danger!
But why is the processing so late and we just left that message and are trying to get back quickly..


OK With wait for message to display
kmail(26104) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ Konsultmöte Region Norr ]
kmail(26104) FolderStorage::getMsg: Entering function idx=  1                                                       
kmail(26104) FolderStorage::getMsg: setting msg= 0x2ecd2b0                                                          
kmail(26104) FolderStorage::unGetMsg: Entering function                                                             
kmail(26104) KMMessage::fromStrip: Entering function                                                                
kmail(26104) KMMessage::msgId: Entering function this= 0x2ecd2b0  mMsg= 0x2c15900                                   
kmail(26104) KMMessage::~KMMessage: Entering function delete mMsg= 0x2c15900  mFileName= "1233865778.3694.3RbW9:2,S"                          
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) KMMessage::KMMessage: Entering function                                                                                          
kmail(26104) KMMessage::init: Entering function  aMsg= 0x0                                                                                    
kmail(26104) KMMessage::init: No aMsg so new mMsg= 0x2fec500  aMsg= 0x0                                                                       
kmail(26104) KMMessage::fromDwString: Entering function  aSetStatus= false                                                                    
kmail(26104) FolderStorage::getMsg: reading msg= 0x2fb6fe0                                                                                    
kmail(26104) KMReaderWin::setMsg: Entering function  aMsg= 0x2fb6fe0  force= false                                                            
kmail(26104) KMReaderWin::setMsg: ( 1954229106 , last 1954229107 ) "Konsultmöte Region Norr" , readyToShow true                               
kmail(26104) FolderStorage::getMsg: Entering function idx=  1                                                                                 
kmail(26104) KMMessage::KMMessage: Entering function                                                                                          
kmail(26104) KMMessage::init: Entering function  aMsg= 0x0                                                                                    
kmail(26104) KMMessage::init: No aMsg so new mMsg= 0x2336b40  aMsg= 0x0                                                                       
kmail(26104) KMMessage::fromDwString: Entering function  aSetStatus= false                                                                    
kmail(26104) FolderStorage::getMsg: reading msg= 0x2336a80                                                                                    
kmail(26104) FolderStorage::getMsg: Entering function idx=  1                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80                                                                                    
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104) KMReaderWin::setHtmlOverride: Entering function  override= true                                                                  
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104) KMReaderWin::setHtmlLoadExtOverride: Entering function  override= false                                                          
kmail(26104) KMReaderWin::updateReaderWin: Entering function                                                                                  
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104) KMReaderWin::displayMessage: Entering function msg= 0x2fb6fe0                                                                    
kmail(26104) KMReaderWin::removeTempFiles: Entering function                                                                                  
kmail(26104) KMReaderWin::parseMsg: Entering function aMsg= 0x2fb6fe0  mRootNode= 0x2e89af0                                                   
kmail(26104) KMReaderWin::parseMsg: mRootNode is processed  delete mRootNode                                                                  
kmail(26104) KMReaderWin::parseMsg: setting mRootNode= 0x2bbf610                                                                              
kmail(26104) KMReaderWin::writeMsgHeader: Entering function  aMsg= 0x2fb6fe0  hasVCard= false  topLevel= true                                 
kmail(26104) KMReaderWin::parseMsg: pre otp parse aMsg= 0x2fb6fe0 this= KMReaderWin(0x22cdf70) mRootNode= 0x2bbf610                           
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: Entering function  node= 0x2bbf610  this= 0x7ffff630a110                               
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: bodypartformatter if false bpf= 0x2dbf800                                              
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: Entering function  node= 0x2bbf810  this= 0x7ffff6309d30                               
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: bodypartformatter if false bpf= 0x2dbf820                                              
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: Now processed node= 0x2bbf810                                                          
kmail(26104) partNode::nextSibling: Entering function mNext= 0x2bbf910                                                                        
kmail(26104) KMFolder::getMsgBase: Enter getMsgBase= 0x2fb6fe0                                                                                
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                    
kmail(26104): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb"                                                           
kmail(26104): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 
kmail(26104): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 
kmail(26104): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: end of if bodypartformatter true
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: Now processed node= 0x2bbf910   
kmail(26104) partNode::nextSibling: Entering function mNext= 0x0                       
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: Now processed node= 0x2bbf610   
kmail(26104) partNode::nextSibling: Entering function mNext= 0x0                       
kmail(26104) KMReaderWin::parseMsg: after otp parse aMsg= 0x2fb6fe0 this= KMReaderWin(0x22cdf70) mRootNode= 0x2bbf610
kmail(26104) KMMessage::setEncryptionState: Entering function  idx= -1                                               
kmail(26104) KMMessage::msgId: Entering function this= 0x2fb6fe0  mMsg= 0x2c15900                                    
kmail(26104) KMReaderWin::injectAttachments: Entering function this= KMReaderWin(0x22cdf70)                                                          
kmail(26104) KMReaderWin::renderAttachments: Entering function  node= 0x2bbf610                                                                      
kmail(26104) KMReaderWin::renderAttachments: Entering function  node= 0x2bbf710                                                                      
kmail(26104) partNode::nextSibling: Entering function mNext= 0x2bbf810                                                                               
kmail(26104) KMReaderWin::renderAttachments: Entering function  node= 0x2bbf810                                                                      
kmail(26104) partNode::nextSibling: Entering function mNext= 0x2bbf910                                                                               
kmail(26104) KMReaderWin::renderAttachments: Entering function  node= 0x2bbf910                                                                      
kmail(26104) partNode::nextSibling: Entering function mNext= 0x0                                                                                     
kmail(26104) KMReaderWin::renderAttachments: Entering function  node= 0x0                                                                            
kmail(26104) partNode::nextSibling: Entering function mNext= 0x0                                                                                     
kmail(26104) KMReaderWin::renderAttachments: Entering function  node= 0x0                                                                           
Message is displayed selecting the previous one, p
kmail(26104) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ Compiling your own language ]                              
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                        
kmail(26104) FolderStorage::getMsg: setting msg= 0x2fb6fe0                                                                                           
kmail(26104) FolderStorage::unGetMsg: Entering function                                                                                              
kmail(26104) KMMessage::fromStrip: Entering function                                                                                                 
kmail(26104) KMMessage::msgId: Entering function this= 0x2fb6fe0  mMsg= 0x2c15900                                                                    
kmail(26104) KMMessage::~KMMessage: Entering function delete mMsg= 0x2c15900  mFileName= "1233564842.6968.1dNsC:2,S"                                 
kmail(26104) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80                                                                                           
kmail(26104) KMReaderWin::setMsg: Entering function  aMsg= 0x2336a80  force= false                                                                   
kmail(26104) KMReaderWin::setMsg: ( 1954229107 , last 1954229106 ) "Compiling your own language" , readyToShow true                                  
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                        
kmail(26104) KMMessage::KMMessage: Entering function                                                                                                 
kmail(26104) KMMessage::init: Entering function  aMsg= 0x0                                                                                           
kmail(26104) KMMessage::init: No aMsg so new mMsg= 0x3827af0  aMsg= 0x0                                                                              
kmail(26104) KMMessage::fromDwString: Entering function  aSetStatus= false                                                                           
kmail(26104) FolderStorage::getMsg: reading msg= 0x4718960                                                                                           
kmail(26104) FolderStorage::getMsg: Entering function idx=  0                                                                                        
kmail(26104) FolderStorage::getMsg: setting msg= 0x4718960                                                                                           
kmail(26104) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80                                                                                           
kmail(26104) KMReaderWin::setHtmlOverride: Entering function  override= true                                                                         
kmail(26104) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80                                                                                           
kmail(26104) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80                                                                                           
kmail(26104) KMReaderWin::setHtmlLoadExtOverride: Entering function  override= false                                                                 
kmail(26104) KMReaderWin::updateReaderWin: Entering function
kmail(26104) FolderStorage::getMsg: Entering function idx=  1
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80
kmail(26104) FolderStorage::getMsg: Entering function idx=  1
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80
kmail(26104) KMReaderWin::displayMessage: Entering function msg= 0x2336a80
kmail(26104) KMReaderWin::removeTempFiles: Entering function
kmail(26104) KMReaderWin::parseMsg: Entering function aMsg= 0x2336a80  mRootNode= 0x2bbf610
kmail(26104) KMReaderWin::parseMsg: mRootNode is processed  delete mRootNode
kmail(26104) KMReaderWin::parseMsg: setting mRootNode= 0x4b64b60
kmail(26104) KMReaderWin::writeMsgHeader: Entering function  aMsg= 0x2336a80  hasVCard= false  topLevel= true
kmail(26104) KMReaderWin::parseMsg: pre otp parse aMsg= 0x2336a80 this= KMReaderWin(0x22cdf70) mRootNode= 0x4b64b60
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: Entering function  node= 0x4b64b60  this= 0x7ffff630a110
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: bodypartformatter if false bpf= 0x2e940d0
kmail(26104) KMail::ObjectTreeParser::writeBodyStr: Entering function  aCodec= 0x192da70  fromAddress= ""Erik K. Pedersen" <erik@binghamton.edu>"  decorate= true
kmail(26104) KMail::ObjectTreeParser::parseObjectTree: Now processed node= 0x4b64b60
kmail(26104) partNode::nextSibling: Entering function mNext= 0x0
kmail(26104) KMReaderWin::parseMsg: after otp parse aMsg= 0x2336a80 this= KMReaderWin(0x22cdf70) mRootNode= 0x4b64b60
kmail(26104) KMMessage::setEncryptionState: Entering function  idx= -1
kmail(26104) KMMessage::msgId: Entering function this= 0x2336a80  mMsg= 0x2bc11c0
kmail(26104) KMFolder::getMsgBase: Enter getMsgBase= 0x2336a80
kmail(26104) FolderStorage::getMsg: Entering function idx=  1
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80
kmail(26104) FolderStorage::getMsg: Entering function idx=  1
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80
kmail(26104) FolderStorage::getMsg: Entering function idx=  1
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80
kmail(26104) FolderStorage::getMsg: Entering function idx=  1
kmail(26104) FolderStorage::getMsg: setting msg= 0x2336a80
kmail(26104) KMReaderWin::injectAttachments: Entering function this= KMReaderWin(0x22cdf70)
kmail(26104) KMReaderWin::renderAttachments: Entering function  node= 0x4b64b60
kmail(26104) partNode::nextSibling: Entering function mNext= 0x0
kmail(26104) KMReaderWin::renderAttachments: Entering function  node= 0x0







crash when going back to previous message without waiting for current message to display first

startup
kmail(26145) KMReaderWin::parseMsg: pre otp parse aMsg= 0x3200ad0 this= KMReaderWin(0x29016a0) mRootNode= 0x3238ba0    
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: Entering function  node= 0x3238ba0  this= 0x7fffc2c9daa0        
kmail(26145) loadPlugins: BodyPartFormatterFactory: found 4  plugins.                                                  
kmail(26145) insertBodyPartFormatter: BodyPartFormatterFactory: overwriting previously registered formatter for " application / octet-stream "
kmail(26145) insertBodyPartFormatter: BodyPartFormatterFactory: instantiating new Subtype Registry for " text "                               
kmail(26145) <unnamed>::UrlHandler::UrlHandler: UrlHandler() (iCalendar)                                                                      
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: bodypartformatter if false bpf= 0x33f5e30                                              
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: Now processed node= 0x3238ba0                                                                   
kmail(26145) partNode::nextSibling: Entering function mNext= 0x0                                                                                       
kmail(26145) KMReaderWin::parseMsg: after otp parse aMsg= 0x3200ad0 this= KMReaderWin(0x29016a0) mRootNode= 0x3238ba0                                  
kmail(26145) KMMessage::setEncryptionState: Entering function  idx= -1                                                                                 
kmail(26145) KMMessage::msgId: Entering function this= 0x3200ad0  mMsg= 0x3200750                                                                      
kmail(26145) KMReaderWin::injectAttachments: Entering function this= KMReaderWin(0x29016a0)                                                            
kmail(26145) KMReaderWin::renderAttachments: Entering function  node= 0x3238ba0                                                                        
kmail(26145) partNode::nextSibling: Entering function mNext= 0x0                                                                                       
kmail(26145) KMReaderWin::renderAttachments: Entering function  node= 0x0

pressing np for Next and then Previous message
kmail(26145) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ Konsultmöte Region Norr ]
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                       
kmail(26145) FolderStorage::getMsg: setting msg= 0x3200ad0                                                          
kmail(26145) FolderStorage::unGetMsg: Entering function                                                             
kmail(26145) KMMessage::fromStrip: Entering function                                                                
kmail(26145) KMMessage::msgId: Entering function this= 0x3200ad0  mMsg= 0x3200750                                   
kmail(26145) KMMessage::~KMMessage: Entering function delete mMsg= 0x3200750  mFileName= "1233865778.3694.3RbW9:2,S"                          
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) KMMessage::KMMessage: Entering function                                                                                          
kmail(26145) KMMessage::init: Entering function  aMsg= 0x0                                                                                    
kmail(26145) KMMessage::init: No aMsg so new mMsg= 0x3200750  aMsg= 0x0                                                                       
kmail(26145) KMMessage::fromDwString: Entering function  aSetStatus= false                                                                    
kmail(26145) FolderStorage::getMsg: reading msg= 0x3471cb0                                                                                    
kmail(26145) KMReaderWin::setMsg: Entering function  aMsg= 0x3471cb0  force= false                                                            
kmail(26145) KMReaderWin::setMsg: ( 1954229106 , last 1954229107 ) "Konsultmöte Region Norr" , readyToShow true                               
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                 
kmail(26145) KMMessage::KMMessage: Entering function                                                                                          
kmail(26145) KMMessage::init: Entering function  aMsg= 0x0                                                                                    
kmail(26145) KMMessage::init: No aMsg so new mMsg= 0x36eb000  aMsg= 0x0                                                                       
kmail(26145) KMMessage::fromDwString: Entering function  aSetStatus= false                                                                    
kmail(26145) FolderStorage::getMsg: reading msg= 0x36eaf40                                                                                    
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                    
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) KMReaderWin::setHtmlOverride: Entering function  override= true                                                                  
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) KMReaderWin::setHtmlLoadExtOverride: Entering function  override= false                                                          
kmail(26145) KMReaderWin::updateReaderWin: Entering function                                                                                  
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) KMReaderWin::displayMessage: Entering function msg= 0x3471cb0                                                                    
kmail(26145) KMReaderWin::removeTempFiles: Entering function                                                                                  
kmail(26145) KMReaderWin::parseMsg: Entering function aMsg= 0x3471cb0  mRootNode= 0x3238ba0                                                   
kmail(26145) KMReaderWin::parseMsg: mRootNode is processed  delete mRootNode                                                                  
kmail(26145) KMReaderWin::parseMsg: setting mRootNode= 0x347a250                                                                              
kmail(26145) KMReaderWin::writeMsgHeader: Entering function  aMsg= 0x3471cb0  hasVCard= false  topLevel= true                                 
kmail(26145) KMReaderWin::parseMsg: pre otp parse aMsg= 0x3471cb0 this= KMReaderWin(0x29016a0) mRootNode= 0x347a250                           
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: Entering function  node= 0x347a250  this= 0x7fffc2c9daa0                               
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: bodypartformatter if false bpf= 0x36e7ca0                                              
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: Entering function  node= 0x347a450  this= 0x7fffc2c9d6c0                               
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: bodypartformatter if false bpf= 0x296a450                                              
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: Now processed node= 0x347a450                                                          
kmail(26145) partNode::nextSibling: Entering function mNext= 0x347a550                                                                        
kmail(26145) KMFolder::getMsgBase: Enter getMsgBase= 0x3471cb0                                                                                
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) KMail::MessageListView::Core::View::slotSelectionChanged: Message selected [ Compiling your own language ]                       
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                 
kmail(26145) FolderStorage::getMsg: setting msg= 0x3471cb0                                                                                    
kmail(26145) FolderStorage::unGetMsg: Entering function                                                                                       
kmail(26145) KMMessage::fromStrip: Entering function                                                                                          
kmail(26145) KMMessage::msgId: Entering function this= 0x3471cb0  mMsg= 0x3200750                                                             
kmail(26145) KMMessage::~KMMessage: Entering function delete mMsg= 0x3200750  mFileName= "1233564842.6968.1dNsC:2,S"                                 
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) KMReaderWin::setMsg: Entering function  aMsg= 0x36eaf40  force= false                                                                   
kmail(26145) KMReaderWin::setMsg: ( 1954229107 , last 1954229106 ) "Compiling your own language" , readyToShow true                                  
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                        
kmail(26145) KMMessage::KMMessage: Entering function                                                                                                 
kmail(26145) KMMessage::init: Entering function  aMsg= 0x0                                                                                           
kmail(26145) KMMessage::init: No aMsg so new mMsg= 0x37649a0  aMsg= 0x0                                                                              
kmail(26145) KMMessage::fromDwString: Entering function  aSetStatus= false                                                                           
kmail(26145) FolderStorage::getMsg: reading msg= 0x32ea6a0                                                                                           
kmail(26145) FolderStorage::getMsg: Entering function idx=  0                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x32ea6a0                                                                                           
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) KMReaderWin::setHtmlOverride: Entering function  override= true                                                                         
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) KMReaderWin::setHtmlLoadExtOverride: Entering function  override= false                                                                 
kmail(26145) KMReaderWin::updateReaderWin: Entering function                                                                                         
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) KMReaderWin::displayMessage: Entering function msg= 0x36eaf40                                                                           
kmail(26145) KMReaderWin::removeTempFiles: Entering function                                                                                         
kmail(26145) KMReaderWin::parseMsg: Entering function aMsg= 0x36eaf40  mRootNode= 0x347a250                                                          
kmail(26145) KMReaderWin::parseMsg: The root node is not yet processed! Danger!                                                                      
kmail(26145) KMReaderWin::injectAttachments: Entering function this= KMReaderWin(0x29016a0)                                                          
kmail(26145) KMReaderWin::injectAttachments: injectionPoint.isNull                                                                                   
kmail(26145) KMFolder::getMsgBase: Enter getMsgBase= 0x36eaf40                                                                                       
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145) FolderStorage::getMsg: Entering function idx=  1                                                                                        
kmail(26145) FolderStorage::getMsg: setting msg= 0x36eaf40                                                                                           
kmail(26145): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb"                                                                  
kmail(26145): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 
kmail(26145): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 
kmail(26145): Cannot open  "/usr/share/zoneinfo/(GMT+01.00) Sarajevo/Warsaw/Zagreb" 
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: end of if bodypartformatter true
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: Now processed node= 0x347a550   
kmail(26145) partNode::nextSibling: Entering function mNext= 0x0                       
kmail(26145) KMail::ObjectTreeParser::parseObjectTree: Now processed node= 0x347a250   
kmail(26145) partNode::nextSibling: Entering function mNext= 0x0                       
kmail(26145) KMReaderWin::parseMsg: after otp parse aMsg= 0x3471cb0 this= KMReaderWin(0x29016a0) mRootNode= 0x347a250
Program received signal SIGSEGV, Segmentation fault.
Comment 16 Ed 2009-02-27 19:46:18 UTC
Two separate crashes' backtraces listed here:

Crash (A):

Application: KMail (kmail), signal SIGABRT
0x00000033d0ea86e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 20465)]

Thread 2 (Thread 0x4225f950 (LWP 20484)):
#0  0x00000033d0edf4b2 in select () from /lib/libc.so.6
#1  0x00000037b7d35006 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00000037b7c6c362 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00000033d1a073ea in start_thread () from /lib/libpthread.so.0
#4  0x00000033d0ee6cbd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f23ed2a76f0 (LWP 20465)):
[KCrash Handler]
#5  0x00000033d0e33015 in raise () from /lib/libc.so.6
#6  0x00000033d0e34b83 in abort () from /lib/libc.so.6
#7  0x00000037b7c646b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00000037b7c647fd in qFatal () from /usr/lib/libQtCore.so.4
#9  0x0000003573bff681 in ?? () from /usr/lib/libkmailprivate.so.4
#10 0x0000003573bfe111 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0x0000003573c47fe6 in ?? () from /usr/lib/libkmailprivate.so.4
#12 0x0000003573bfdb99 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0x0000003573df12c6 in ?? () from /usr/lib/libkmailprivate.so.4
#14 0x0000003573df1438 in ?? () from /usr/lib/libkmailprivate.so.4
#15 0x00000037b7d69134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0x00000037b7d63a43 in QObject::event () from /usr/lib/libQtCore.so.4
#17 0x00000037b95cac3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0x00000037b95d29ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00000037ef6065db in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#20 0x00000037b7d54d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0x00000037b7d80ab6 in ?? () from /usr/lib/libQtCore.so.4
#22 0x00000037b7d7d1fd in ?? () from /usr/lib/libQtCore.so.4
#23 0x00000037b7039d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00000037b703d50d in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00000037b703d6cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00000037b7d7d15f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#27 0x00000037b965ca6f in ?? () from /usr/lib/libQtGui.so.4
#28 0x00000037b7d53682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00000037b7d5380d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0x00000037b7d55cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#31 0x000000000040309b in _start ()


Crash (B):

Application: KMail (kmail), signal SIGABRT
0x00000033d0ea86e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 22039)]

Thread 3 (Thread 0x427fe950 (LWP 22082)):
#0  0x00000033d0edf4b2 in select () from /lib/libc.so.6
#1  0x00000037b7d35006 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00000037b7c6c362 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00000033d1a073ea in start_thread () from /lib/libpthread.so.0
#4  0x00000033d0ee6cbd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x41ffd950 (LWP 22272)):
#0  0x00000033d1a0b55d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000037b7c6d327 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00000037b7c63509 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00000037b7c6c362 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00000033d1a073ea in start_thread () from /lib/libpthread.so.0
#5  0x00000033d0ee6cbd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbc674fb6f0 (LWP 22039)):
[KCrash Handler]
#5  0x00000033d0e33015 in raise () from /lib/libc.so.6
#6  0x00000033d0e34b83 in abort () from /lib/libc.so.6
#7  0x00000037b7c646b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00000037b7c647fd in qFatal () from /usr/lib/libQtCore.so.4
#9  0x0000003573bff681 in ?? () from /usr/lib/libkmailprivate.so.4
#10 0x0000003573bfe111 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0x0000003573c47fe6 in ?? () from /usr/lib/libkmailprivate.so.4
#12 0x0000003573bfdb99 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0x0000003573df12c6 in ?? () from /usr/lib/libkmailprivate.so.4
#14 0x0000003573df1438 in ?? () from /usr/lib/libkmailprivate.so.4
#15 0x00000037b7d69134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0x00000037b7d63a43 in QObject::event () from /usr/lib/libQtCore.so.4
#17 0x00000037b95cac3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0x00000037b95d29ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00000037ef6065db in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#20 0x00000037b7d54d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0x00000037b7d80ab6 in ?? () from /usr/lib/libQtCore.so.4
#22 0x00000037b7d7d1fd in ?? () from /usr/lib/libQtCore.so.4
#23 0x00000037b7039d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00000037b703d50d in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00000037b703d6cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00000037b7d7d15f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#27 0x00000037b965ca6f in ?? () from /usr/lib/libQtGui.so.4
#28 0x00000037b7d53682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00000037b7d5380d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0x00000037b7d55cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#31 0x000000000040309b in _start ()

Crash (B):

Application: KMail (kmail), signal SIGABRT
0x00000033d0ea86e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 22039)]

Thread 3 (Thread 0x427fe950 (LWP 22082)):
#0  0x00000033d0edf4b2 in select () from /lib/libc.so.6
#1  0x00000037b7d35006 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00000037b7c6c362 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00000033d1a073ea in start_thread () from /lib/libpthread.so.0
#4  0x00000033d0ee6cbd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x41ffd950 (LWP 22272)):
#0  0x00000033d1a0b55d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00000037b7c6d327 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00000037b7c63509 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00000037b7c6c362 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00000033d1a073ea in start_thread () from /lib/libpthread.so.0
#5  0x00000033d0ee6cbd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbc674fb6f0 (LWP 22039)):
[KCrash Handler]
#5  0x00000033d0e33015 in raise () from /lib/libc.so.6
#6  0x00000033d0e34b83 in abort () from /lib/libc.so.6
#7  0x00000037b7c646b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00000037b7c647fd in qFatal () from /usr/lib/libQtCore.so.4
#9  0x0000003573bff681 in ?? () from /usr/lib/libkmailprivate.so.4
#10 0x0000003573bfe111 in ?? () from /usr/lib/libkmailprivate.so.4
#11 0x0000003573c47fe6 in ?? () from /usr/lib/libkmailprivate.so.4
#12 0x0000003573bfdb99 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0x0000003573df12c6 in ?? () from /usr/lib/libkmailprivate.so.4
#14 0x0000003573df1438 in ?? () from /usr/lib/libkmailprivate.so.4
#15 0x00000037b7d69134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0x00000037b7d63a43 in QObject::event () from /usr/lib/libQtCore.so.4
#17 0x00000037b95cac3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0x00000037b95d29ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00000037ef6065db in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#20 0x00000037b7d54d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0x00000037b7d80ab6 in ?? () from /usr/lib/libQtCore.so.4
#22 0x00000037b7d7d1fd in ?? () from /usr/lib/libQtCore.so.4
#23 0x00000037b7039d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00000037b703d50d in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00000037b703d6cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00000037b7d7d15f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#27 0x00000037b965ca6f in ?? () from /usr/lib/libQtGui.so.4
#28 0x00000037b7d53682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00000037b7d5380d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0x00000037b7d55cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#31 0x000000000040309b in _start ()
Comment 17 Dario Andres 2009-03-06 15:12:34 UTC
@Ed: your crashes are probably different issues. If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace in a NEW report? You may need to install the debug symbols package for KDEPIM/KMail Thanks :)
Comment 18 Christophe Marin 2009-03-09 11:36:40 UTC
*** Bug 185308 has been marked as a duplicate of this bug. ***
Comment 19 Dana Whicker 2009-03-12 16:36:51 UTC
Application: KMail (kmail), signal SIGSEGV
0x00000035718a7f81 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7fd63c7fc800 (LWP 7455))]

Thread 2 (Thread 0x7fd62c944950 (LWP 7469)):
#0  0x00000035718deaa2 in select () from /lib64/libc.so.6
#1  0x0000003d5e522626 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x0000003d5e459852 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00000035724073da in start_thread () from /lib64/libpthread.so.0
#4  0x00000035718e62bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd63c7fc800 (LWP 7455)):
[KCrash Handler]
#5  0x0000003d6baa35ef in ?? () from /usr/lib64/libkmailprivate.so.4
#6  0x0000003d6b983cfe in KMMainWidget::updateMessageActions () from /usr/lib64/libkmailprivate.so.4
#7  0x0000003d6b99abd5 in KMMainWidget::qt_metacall () from /usr/lib64/libkmailprivate.so.4
#8  0x0000003d5e556764 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#9  0x0000003d5e551073 in QObject::event () from /usr/lib64/libQtCore.so.4
#10 0x0000003d5f1828dd in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#11 0x0000003d5f18a68a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#12 0x0000003d60404deb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#13 0x0000003d5e542391 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#14 0x0000003d5e56e0d6 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x0000003d5e56a83d in ?? () from /usr/lib64/libQtCore.so.4
#16 0x0000003d5a43779b in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x0000003d5a43af6d in ?? () from /lib64/libglib-2.0.so.0
#18 0x0000003d5a43b12b in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x0000003d5e56a79f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#20 0x0000003d5f21328f in ?? () from /usr/lib64/libQtGui.so.4
#21 0x0000003d5e540cb2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#22 0x0000003d5e540e3d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#23 0x0000003d5e5432ed in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#24 0x0000000000402b5b in _start ()
Comment 20 Dana Whicker 2009-03-12 16:46:44 UTC
On further inspection, it looks like my dump in Comment 19 belongs in bug 41514:
   https://bugs.kde.org/show_bug.cgi?id=41514
Comment 21 Johan Thelmen 2009-03-14 13:47:09 UTC
Hi
I have just upgraded to Kubuntu jaunty with QT 4.5, KDE 4.2.1 and Kmail 1.11.1 and I'm no longer able to reproduce this bug like I did before.
Also a warning that this is an alpha release and everything is not yet working. http://www.ubuntu.com/testing/jaunty/alpha6
Comment 22 Dario Andres 2009-04-19 15:23:40 UTC
*** Bug 190043 has been marked as a duplicate of this bug. ***
Comment 23 Christophe Marin 2009-07-06 19:16:23 UTC
Neal, can you reproduce the crash with KDE >= 4.2.3 ?
Comment 24 Christophe Marin 2009-07-21 20:13:49 UTC
*** Bug 201024 has been marked as a duplicate of this bug. ***
Comment 25 Christophe Marin 2009-08-01 22:19:31 UTC
*** Bug 202204 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2009-09-02 04:27:27 UTC
*** Bug 205809 has been marked as a duplicate of this bug. ***
Comment 27 Dario Andres 2009-09-04 01:04:13 UTC
*** Bug 206180 has been marked as a duplicate of this bug. ***
Comment 28 Dario Andres 2009-09-16 04:25:14 UTC
*** Bug 207197 has been marked as a duplicate of this bug. ***
Comment 29 Dario Andres 2009-09-21 01:14:54 UTC
*** Bug 208012 has been marked as a duplicate of this bug. ***
Comment 30 Dario Andres 2009-09-23 15:38:24 UTC
*** Bug 208296 has been marked as a duplicate of this bug. ***
Comment 31 Dario Andres 2009-09-25 02:21:16 UTC
*** Bug 208314 has been marked as a duplicate of this bug. ***
Comment 32 Christophe Marin 2009-09-25 20:40:17 UTC
*** Bug 208196 has been marked as a duplicate of this bug. ***
Comment 33 Dario Andres 2009-09-30 20:12:13 UTC
*** Bug 209008 has been marked as a duplicate of this bug. ***
Comment 34 Dario Andres 2009-09-30 22:52:16 UTC
Bug 187273 got a new similar crash with different step-cases:

"
1.  Select an encrypted message (Kontact prompts for passphrase)
2.  Select another (unencrypted) message. 
3.  Passphrase dialog box remains but is unnecessary, so click "cancel" -
Kontact crashes

These steps also cause a crash:
1.  Select an encrypted message (Kontact prompts for passphrase)
2.  Select another encrypted message.  
3.  Enter passphrase - Kontact crashes.
"
Comment 35 Dario Andres 2009-09-30 22:54:38 UTC
*** Bug 187273 has been marked as a duplicate of this bug. ***
Comment 36 Dario Andres 2009-10-03 18:57:50 UTC
*** Bug 209254 has been marked as a duplicate of this bug. ***
Comment 37 Christophe Marin 2009-10-08 21:37:51 UTC
*** Bug 209913 has been marked as a duplicate of this bug. ***
Comment 38 Dario Andres 2009-10-09 01:27:47 UTC
*** Bug 209704 has been marked as a duplicate of this bug. ***
Comment 39 Dario Andres 2009-10-10 16:01:23 UTC
Updated backtrace from bug 209987:
--

#5  0x0000000000000061 in ?? ()
#6  0x00007f6d891f4f67 in KMReaderWin::parseMsg (this=0xc8ab70, aMsg=0x35aa7f0)
at /usr/src/debug/kdepim-4.3.69svn1027298/kmail/kmreaderwin.cpp:1677
#7  0x00007f6d891ea211 in KMReaderWin::displayMessage (this=0xc8ab70) at
/usr/src/debug/kdepim-4.3.69svn1027298/kmail/kmreaderwin.cpp:1599
#8  0x00007f6d891ea3fe in KMReaderWin::updateReaderWin (this=0xc8ab70) at
/usr/src/debug/kdepim-4.3.69svn1027298/kmail/kmreaderwin.cpp:1542
#9  0x00007f6d891ea96c in KMReaderWin::setMsg (this=0xc8ab70, aMsg=0x35aa7f0,
force=true) at
/usr/src/debug/kdepim-4.3.69svn1027298/kmail/kmreaderwin.cpp:1344
#10 0x00007f6d891e2524 in KMReaderWin::slotMessageArrived (this=0xc8ab70,
msg=0x35aa7f0) at
/usr/src/debug/kdepim-4.3.69svn1027298/kmail/kmreaderwin.cpp:950
#11 0x00007f6d891f8614 in KMReaderWin::qt_metacall (this=0xc8ab70,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff70204f50)
    at /usr/src/debug/kdepim-4.3.69svn1027298/build/kmail/kmreaderwin.moc:200
Comment 40 Dario Andres 2009-10-10 16:03:31 UTC
*** Bug 209987 has been marked as a duplicate of this bug. ***
Comment 41 Jose Da Silva 2009-10-14 02:24:10 UTC
There appears to be several bugs mentioned in here and I was recommended to become a duplicate of this bug. however, I see what appears to be various bugs lumped in here which makes this bug 180741 only more confusing to figure-out.

My bug 208245 has been narrowed-down to be related with the preview window. If it is enabled, then there is a seg fault, if it is turned-off then kmail operates okay and continues to operate okay.

This question is probably most related with these bug reports:
bug 206180, bug 207197, bug 208296, bug 209008, bug 209704

Question: Are you using the preview window when you reported your bug?
Did your kmail crash if you had the preview window enabled.
Did your kmail continue to work okay if the preview window was off.
If you reported your bug AND you can reproduce the bug with the preview window enabled but cannot reproduce the crash with the preview window turned-off, then you probably have the same bug as bug 208245.

Sorry to bother anybody with this strange question if your bug does not appear related to the preview window. Thanks.
Comment 42 Christophe Marin 2009-10-17 21:47:36 UTC
*** Bug 208245 has been marked as a duplicate of this bug. ***
Comment 43 Jose Da Silva 2009-10-17 22:23:06 UTC
Just want to let you know that with my bug 208245, you can create a crash if you enable preview window in the options, but if you do not enable the preview window, you do not get a crash. I'm guessing this problem is all related to the preview window and whether it is selected or not selected.
Comment 44 Dana Whicker 2009-10-18 00:16:11 UTC
With my bug, kmail crashes if you compact a folder and do not switch to another folder within 4-10 seconds: it does not matter whether the preview pane is open or not.
Comment 45 Dario Andres 2009-10-18 01:42:51 UTC
*** Bug 210751 has been marked as a duplicate of this bug. ***
Comment 46 Dario Andres 2009-10-21 15:20:46 UTC
*** Bug 211164 has been marked as a duplicate of this bug. ***
Comment 47 Dario Andres 2009-10-21 22:43:26 UTC
*** Bug 211375 has been marked as a duplicate of this bug. ***
Comment 48 Dario Andres 2009-11-06 02:22:16 UTC
*** Bug 213239 has been marked as a duplicate of this bug. ***
Comment 49 Dario Andres 2009-11-11 02:54:03 UTC
*** Bug 213454 has been marked as a duplicate of this bug. ***
Comment 50 Dario Andres 2009-11-11 22:21:28 UTC
Bug 214112 got another description:
What I was doing when the application crashed:
This is bizarre. I received an email from the Arch Linux mailing list that
somehow triggered kmail to prompt me for my gpg passphrase. The first letter of
the phrase is a 'd' which is also mapped to 'delete message'. When I typed the
'd' into the passphrase box, the message was deleted and kmail crashed and
drkonqi appeared. I'll attach the email if it didn't autoexpunge from the
deleted folder. (If it did, I think I can get a copy from thunderbird)
Comment 51 Dario Andres 2009-11-11 22:21:31 UTC
*** Bug 214112 has been marked as a duplicate of this bug. ***
Comment 52 Jose Da Silva 2009-11-11 22:37:11 UTC
Hi Dario,
Read comment#41 and comment#43.
Does it crash if you have the preview window open?
Does it crash if you have the preview window closed?
For myself, I was able to narrow my problem down to the preview pane causing the problem.
If it crashes for you regardless of preview pane, you maybe might have a different bug. I'm guessing there are probably 3 different bugs lumped-into this particular bug based on activity that caused crashes.

does anyone know what was the clues that suggested all these bugs are related?
Comment 53 Dario Andres 2009-11-11 22:39:16 UTC
The backtrace of all this crashes are the ~same~ (so they are crashing in the same(or similar) code workflows), suggesting that those reports are in fact related.
Comment 54 Christophe Marin 2009-11-14 01:09:51 UTC
*** Bug 214358 has been marked as a duplicate of this bug. ***
Comment 55 Christophe Marin 2009-11-15 01:27:04 UTC
*** Bug 210504 has been marked as a duplicate of this bug. ***
Comment 56 Dario Andres 2010-01-05 12:26:11 UTC
*** Bug 221329 has been marked as a duplicate of this bug. ***
Comment 57 Jonathan Thomas 2010-01-08 03:58:58 UTC
*** Bug 125512 has been marked as a duplicate of this bug. ***
Comment 58 LimCore 2010-01-08 04:04:08 UTC
Happens still.

Same back trace of the bug - kmail crashes under parseMsg() in parse ID or body().  That bug was makred fixed, but now it happens again, always, in identical conditions, and it crashes in identical way


My recent crash:
[KCrash Handler]
#5  0x00007fade7ff5900 in DwEntity::Headers() const () from /usr/lib/libmimelib.so.4
#6  0x00007fadeeccd4f0 in KMMessage::headerField (this=0x20d3610, aName=..., encodingMode=KMMessage::MessageCharsetEncoding) at ../../kmail/kmmessage.cpp:1990
#7  0x00007fadeecd0e75 in KMMessage::msgId (this=0x20d3610) at ../../kmail/kmmessage.cpp:1888
#8  0x00007fadeedc7db9 in KMReaderWin::parseMsg (this=0xc98680, aMsg=0x20d3610) at ../../kmail/kmreaderwin.cpp:1758
#9  0x00007fadeedb6eda in KMReaderWin::displayMessage (this=0xc98680) at ../../kmail/kmreaderwin.cpp:1605
#10 0x00007fadeedb70b4 in KMReaderWin::updateReaderWin (this=0xc98680) at ../../kmail/kmreaderwin.cpp:1545
#11 0x00007fadeedc2f9d in KMReaderWin::qt_metacall (this=0xc98680, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0ed3e730) at ./kmreaderwin.moc:168
#12 0x00007faded9fdddc in QMetaObject::activate (sender=0xc98728, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#13 0x00007faded9f7d83 in QObject::event (this=0xc98728, e=0x20d3610) at kernel/qobject.cpp:1075
#14 0x00007fadede7befc in QApplicationPrivate::notify_helper (this=0x77c680, receiver=0xc98728, e=0x7fff0ed3ed30) at kernel/qapplication.cpp:4056
#15 0x00007fadede831ce in QApplication::notify (this=0x7fff0ed3f1a0, receiver=0xc98728, e=0x7fff0ed3ed30) at kernel/qapplication.cpp:4021
#16 0x00007fadefc3eab6 in KApplication::notify (this=0x7fff0ed3f1a0, receiver=0xc98728, event=0x7fff0ed3ed30) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00007faded9e8c2c in QCoreApplication::notifyInternal (this=0x7fff0ed3f1a0, receiver=0xc98728, event=0x7fff0ed3ed30) at kernel/qcoreapplication.cpp:610
#18 0x00007fadeda13862 in QCoreApplication::sendEvent (this=0x77af80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#19 QTimerInfoList::activateTimers (this=0x77af80) at kernel/qeventdispatcher_unix.cpp:572
#20 0x00007fadeda1125d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#21 0x00007fade4c81bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007fade4c85598 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007fade4c856c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007fadeda111a6 in QEventDispatcherGlib::processEvents (this=0x743930, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#25 0x00007fadedf104be in QGuiEventDispatcherGlib::processEvents (this=0x2899d, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007faded9e7532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007faded9e7904 in QEventLoop::exec (this=0x7fff0ed3efd0, flags=) at kernel/qeventloop.cpp:201
#28 0x00007faded9e9ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x0000000000402fe9 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:146


on ubuntu 9.10 amd64
kmail Version 4.3.2 (KDE 4.3.2)

The original bug (duplicates) was first reported in 2006 year.
Would be so nice to fix it now in 2010.
Comment 59 LimCore 2010-01-08 04:23:58 UTC
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
[...]
Comment 60 Dario Andres 2010-01-13 17:34:43 UTC
*** Bug 222555 has been marked as a duplicate of this bug. ***
Comment 61 Dario Andres 2010-01-20 23:45:24 UTC
*** Bug 220271 has been marked as a duplicate of this bug. ***
Comment 62 Dario Andres 2010-01-20 23:52:03 UTC
*** Bug 218913 has been marked as a duplicate of this bug. ***
Comment 63 Dario Andres 2010-01-21 00:15:39 UTC
*** Bug 217171 has been marked as a duplicate of this bug. ***
Comment 64 Christophe Marin 2010-03-27 23:16:30 UTC
*** Bug 225204 has been marked as a duplicate of this bug. ***
Comment 65 Christophe Marin 2010-03-28 03:18:17 UTC
*** Bug 222251 has been marked as a duplicate of this bug. ***
Comment 66 Christophe Marin 2010-03-28 04:18:40 UTC
*** Bug 221574 has been marked as a duplicate of this bug. ***
Comment 67 Christophe Marin 2010-03-28 04:41:45 UTC
*** Bug 221549 has been marked as a duplicate of this bug. ***
Comment 68 Christophe Marin 2010-06-06 16:39:42 UTC
*** Bug 240027 has been marked as a duplicate of this bug. ***
Comment 69 Christophe Marin 2010-06-06 22:52:10 UTC
*** Bug 218973 has been marked as a duplicate of this bug. ***
Comment 70 Christophe Marin 2010-06-06 22:52:42 UTC
*** Bug 235893 has been marked as a duplicate of this bug. ***
Comment 71 Christophe Marin 2010-09-19 21:14:26 UTC
*** Bug 212424 has been marked as a duplicate of this bug. ***
Comment 72 Dario Andres 2010-12-14 14:55:20 UTC
*** Bug 240379 has been marked as a duplicate of this bug. ***
Comment 73 Christophe Marin 2011-02-14 16:27:15 UTC
*** Bug 218782 has been marked as a duplicate of this bug. ***
Comment 74 Christophe Marin 2011-02-14 16:28:06 UTC
*** Bug 254065 has been marked as a duplicate of this bug. ***
Comment 75 Christophe Marin 2011-02-14 20:02:09 UTC
*** Bug 230672 has been marked as a duplicate of this bug. ***
Comment 76 Christophe Marin 2011-02-14 22:43:27 UTC
*** Bug 215002 has been marked as a duplicate of this bug. ***
Comment 77 Christophe Marin 2011-08-28 23:18:28 UTC
*** Bug 280389 has been marked as a duplicate of this bug. ***
Comment 78 Myriam Schweingruber 2012-08-19 10:50:34 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