Bug 175861 - kmail crashes when selecting a folder in the folder list
Summary: kmail crashes when selecting a folder in the folder list
Status: RESOLVED DUPLICATE of bug 174065
Alias: None
Product: kmail
Classification: Applications
Component: new folder tree (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Szymon Stefanek
URL:
Keywords:
: 175989 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-23 04:12 UTC by David Bitseff
Modified: 2008-11-27 04:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Bitseff 2008-11-23 04:12:49 UTC
Version:           Version 1.10.90
(KDE 4.1.80 (KDE 4.2 Beta1)) (using Devel)
Compiler:          gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1) 
OS:                Linux
Installed from:    Compiled sources

When choosing a folder to open from the folder selection list kmail will sometimes crash.  It doesn't always happen, and it's not specific to a particular folder.  If I restart kmail, choosing the same folder will again cause a crash.  If I restart kmail, create a new tab, and then open that same folder in the new tab, then kmail behaves as expected.

The backtrace makes me think that this may be a QT related thing.  I'm using Qt-4.4.2


Application: Kontact (kontact), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007f5b862e37e1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 527)]

Thread 2 (Thread 0x41ad9950 (LWP 530)):
#0  0x00007f5b86d24887 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5b86f948e3 in QWaitCondition::wait (this=<value optimized out>, mutex=0x15a2550, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f5b86f8a0ea in QThreadPoolThread::run (this=0x12b8590) at concurrent/qthreadpool.cpp:141
#3  0x00007f5b86f9391a in QThreadPrivate::start (arg=0x12b8590) at thread/qthread_unix.cpp:191
#4  0x00007f5b86d20037 in start_thread () from /lib/libpthread.so.0
#5  0x00007f5b8631128d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5b8d4ce760 (LWP 527)):
[KCrash Handler]
#5  0x00007f5b87f03cb3 in QPainter::isActive (this=0x13b6c80) at painting/qpainter.cpp:1426
#6  0x00007f5b87e74678 in QWidgetPrivate::drawWidget (this=0x112d090, pdev=0xca34d8, rgn=@0x7fff95510d90, offset=@0x7fff95510dc0, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4571
#7  0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0x112a590, pdev=0xca34d8, siblings=@0x7fff955112a0, index=3, rgn=@0x7fff95510e90, offset=@0x7fff95511420, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#8  0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x112a590, pdev=0xca34d8, siblings=@0x7fff955112a0, index=7, rgn=@0x7fff95510f90, offset=@0x7fff95511420, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#9  0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x112a590, pdev=0xca34d8, siblings=@0x7fff955112a0, index=8, rgn=@0x7fff95511090, offset=@0x7fff95511420, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#10 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x112a590, pdev=0xca34d8, siblings=@0x7fff955112a0, index=10, rgn=@0x7fff955113f0, offset=@0x7fff95511420, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#11 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0x112a590, pdev=0xca34d8, rgn=@0x7fff955113f0, offset=@0x7fff95511420, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#12 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0x10f0e00, pdev=0xca34d8, siblings=@0x7fff95511600, index=11, rgn=@0x7fff95511750, offset=@0x7fff95511780, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#13 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0x10f0e00, pdev=0xca34d8, rgn=@0x7fff95511750, offset=@0x7fff95511780, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#14 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0x111ba80, pdev=0xca34d8, siblings=@0x7fff95511960, index=17960368, rgn=@0x7fff95511ab0, offset=@0x7fff95511ae0, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#15 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0x111ba80, pdev=0xca34d8, rgn=@0x7fff95511ab0, offset=@0x7fff95511ae0, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#16 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0x10f0950, pdev=0xca34d8, siblings=@0x7fff95511fc0, index=17308208, rgn=@0x7fff95511bb0, offset=@0x7fff95512140, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#17 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x10f0950, pdev=0xca34d8, siblings=@0x7fff95511fc0, index=1, rgn=@0x7fff95511cb0, offset=@0x7fff95512140, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#18 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x10f0950, pdev=0xca34d8, siblings=@0x7fff95511fc0, index=2, rgn=@0x7fff95511db0, offset=@0x7fff95512140, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#19 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x10f0950, pdev=0xca34d8, siblings=@0x7fff95511fc0, index=3, rgn=@0x7fff95512110, offset=@0x7fff95512140, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#20 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0x10f0950, pdev=0xca34d8, rgn=@0x7fff95512110, offset=@0x7fff95512140, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#21 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0x12825c0, pdev=0xca34d8, siblings=@0x7fff95512520, index=17782432, rgn=@0x7fff95512210, offset=@0x7fff955126a0, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#22 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x12825c0, pdev=0xca34d8, siblings=@0x7fff95512520, index=2, rgn=@0x7fff95512310, offset=@0x7fff955126a0, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#23 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x12825c0, pdev=0xca34d8, siblings=@0x7fff95512520, index=3, rgn=@0x7fff95512670, offset=@0x7fff955126a0, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#24 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0x12825c0, pdev=0xca34d8, rgn=@0x7fff95512670, offset=@0x7fff955126a0, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#25 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0x12822f0, pdev=0xca34d8, siblings=@0x7fff95512a80, index=20607264, rgn=@0x7fff95512770, offset=@0x7fff95512c00, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#26 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x12822f0, pdev=0xca34d8, siblings=@0x7fff95512a80, index=1, rgn=@0x7fff95512870, offset=@0x7fff95512c00, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#27 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0x12822f0, pdev=0xca34d8, siblings=@0x7fff95512a80, index=2, rgn=@0x7fff95512bd0, offset=@0x7fff95512c00, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#28 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0x12822f0, pdev=0xca34d8, rgn=@0x7fff95512bd0, offset=@0x7fff95512c00, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#29 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0x10f7190, pdev=0xca34d8, siblings=@0x7fff95512de0, index=20607776, rgn=@0x7fff95512f30, offset=@0x7fff95512f60, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#30 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0x10f7190, pdev=0xca34d8, rgn=@0x7fff95512f30, offset=@0x7fff95512f60, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#31 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0x106fa00, pdev=0xca34d8, siblings=@0x7fff95513140, index=20605552, rgn=@0x7fff95513290, offset=@0x7fff955132c0, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#32 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0x106fa00, pdev=0xca34d8, rgn=@0x7fff95513290, offset=@0x7fff955132c0, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#33 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0xc218f0, pdev=0xca34d8, siblings=@0x7fff955134a0, index=19691632, rgn=@0x7fff955135f0, offset=@0x7fff95513620, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#34 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0xc218f0, pdev=0xca34d8, rgn=@0x7fff955135f0, offset=@0x7fff95513620, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#35 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0xc665e0, pdev=0xca34d8, siblings=@0x7fff95513800, index=20605376, rgn=@0x7fff95513950, offset=@0x7fff95513980, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#36 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0xc665e0, pdev=0xca34d8, rgn=@0x7fff95513950, offset=@0x7fff95513980, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#37 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0xc7bba0, pdev=0xca34d8, siblings=@0x7fff95513b60, index=20608640, rgn=@0x7fff95513cb0, offset=@0x7fff95513ce0, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#38 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0xc7bba0, pdev=0xca34d8, rgn=@0x7fff95513cb0, offset=@0x7fff95513ce0, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#39 0x00007f5b87e7532c in QWidgetPrivate::paintSiblingsRecursive (this=0xaf49d0, pdev=0xca34d8, siblings=@0x7fff955140c0, index=20225904, rgn=@0x7fff95513db0, offset=@0xca0778, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4741
#40 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0xaf49d0, pdev=0xca34d8, siblings=@0x7fff955140c0, index=20, rgn=@0x7fff95513eb0, offset=@0xca0778, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#41 0x00007f5b87e75211 in QWidgetPrivate::paintSiblingsRecursive (this=0xaf49d0, pdev=0xca34d8, siblings=@0x7fff955140c0, index=21, rgn=@0x7fff95514230, offset=@0xca0778, flags=4, 
    sharedPainter=0x13b6c80) at kernel/qwidget.cpp:4731
#42 0x00007f5b87e747bd in QWidgetPrivate::drawWidget (this=0xaf49d0, pdev=0xca34d8, rgn=@0x7fff95514230, offset=@0xca0778, flags=<value optimized out>, sharedPainter=0x13b6c80)
    at kernel/qwidget.cpp:4683
#43 0x00007f5b87fc7794 in QWidgetBackingStore::cleanRegion (this=0xca0760, rgn=<value optimized out>, widget=0xae2f80, recursiveCopyToScreen=true) at painting/qbackingstore.cpp:1040
#44 0x00007f5b87fc831b in qt_syncBackingStore (widget=0xae2f80) at painting/qbackingstore.cpp:319
#45 0x00007f5b87e70920 in QWidget::event (this=0xae2f80, event=0x15e9460) at kernel/qwidget.cpp:7453
#46 0x00007f5b881a0b19 in QMainWindow::event (this=0xae2f80, event=0x15e9460) at widgets/qmainwindow.cpp:1274
#47 0x00007f5b88cbaa06 in KMainWindow::event (this=0xae2f80, ev=0x15e9460) at /tmp/paludis-build/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/widgets/kmainwindow.cpp:1081
#48 0x00007f5b88cef3cb in KXmlGuiWindow::event (this=0x13b6c80, ev=0xca34d8) at /tmp/paludis-build/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/xmlgui/kxmlguiwindow.cpp:131
#49 0x00007f5b87e26c40 in QApplicationPrivate::notify_helper (this=0xa92720, receiver=0xae2f80, e=0x15e9460) at kernel/qapplication.cpp:3809
#50 0x00007f5b87e2882b in QApplication::notify (this=0x7fff95514d10, receiver=0xae2f80, e=0x15e9460) at kernel/qapplication.cpp:3774
#51 0x00007f5b88c0183c in KApplication::notify (this=0x7fff95514d10, receiver=0xae2f80, event=0x15e9460) at /tmp/paludis-build/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/kernel/kapplication.cpp:307
#52 0x00007f5b8707463d in QCoreApplication::notifyInternal (this=0x7fff95514d10, receiver=0xae2f80, event=0x15e9460) at kernel/qcoreapplication.cpp:593
#53 0x00007f5b870756c8 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa74040) at kernel/qcoreapplication.h:215
#54 0x00007f5b8709d6e9 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:220
#55 0x00007f5b82894b3f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0x00007f5b82897a5d in ?? () from /usr/lib/libglib-2.0.so.0
#57 0x00007f5b82897fa7 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0x00007f5b8709ddf0 in QEventDispatcherGlib::processEvents (this=0xa91ec0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#59 0x00007f5b87eaa448 in QGuiEventDispatcherGlib::processEvents (this=0x13b6c80, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f5b87073b2b in QEventLoop::processEvents (this=<value optimized out>, flags=@0x7fff95514c40) at kernel/qeventloop.cpp:149
#61 0x00007f5b87073c81 in QEventLoop::exec (this=0x7fff95514c80, flags=@0x7fff95514c90) at kernel/qeventloop.cpp:200
#62 0x00007f5b87075a80 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#63 0x0000000000404216 in main (argc=1, argv=0x7fff95515318) at /tmp/paludis-build/kde-base-kontact-scm/work/kontact/kontact/src/main.cpp:218
#64 0x00007f5b8626eb74 in __libc_start_main () from /lib/libc.so.6
#65 0x0000000000403029 in _start ()
Comment 1 Christophe Marin 2008-11-24 09:21:03 UTC
Reassign. I believe this is the qbackingstore issue in Qt and this bug may be closed/upstream.

Comment 2 Szymon Stefanek 2008-11-24 13:55:57 UTC
Yes, it really looks like bug 174065 .
Have you tried the current patched qt-copy ?
This should be gone since patch 0256 has been applied...
Comment 3 Thomas McGuire 2008-11-24 21:54:04 UTC

*** This bug has been marked as a duplicate of bug 174065 ***
Comment 4 Jaime Torres 2008-11-25 11:52:47 UTC
*** Bug 175989 has been marked as a duplicate of this bug. ***
Comment 5 David Bitseff 2008-11-27 04:36:14 UTC
I applied the qt-copy patches to qt-4.4.2 a couple of days ago, and it appears to have solved the problem.  thanks everyone.