Bug 184151 - crash clicking on mail folder in kmail
Summary: crash clicking on mail folder in kmail
Status: RESOLVED UPSTREAM
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-12 15:38 UTC by Heiko Nardmann
Modified: 2009-03-14 23:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Nardmann 2009-02-12 15:38:44 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    SuSE RPMs

Sometimes kontact crashes when selecting a mail folder inside kmail.

Normally i start kontact by klicking on its icon in the taskbar.

Currently it seems to happen with every folder.

Here is the backtrace:

Anwendung: Kontact (kontact), Signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
0x00007faec2fb2221 in nanosleep () from /lib64/libc.so.6
[Current thread is 0 (LWP 5251)]

Thread 2 (Thread 0x41c7a950 (LWP 12945)):
#0  0x00007faec4a4d05d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007faec4cbdfb7 in QWaitCondition::wait (this=0x24df3a8, mutex=0x24df3a0, time=30000) at thread/qwaitcondition_unix.cpp:80
#2  0x00007faec4cb41ba in QThreadPoolThread::run (this=0x24de5b0) at concurrent/qthreadpool.cpp:135
#3  0x00007faec4cbd022 in QThreadPrivate::start (arg=0x24de5b0) at thread/qthread_unix.cpp:185
#4  0x00007faec4a49040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007faec2fe308d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faec93b0700 (LWP 5251)):
[KCrash Handler]
#5  0x00007faec3c6b233 in QPainter::worldMatrixEnabled () from /usr/lib64/libQtGui.so.4
#6  0x00007faec3bca01a in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#7  0x00007faec3bca8a2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#8  0x00007faec3bca7cb in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#9  0x00007faec3bca7cb in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#10 0x00007faec3bc9e78 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#11 0x00007faec3bca8a2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#12 0x00007faec3bc9e78 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#13 0x00007faec3d22e01 in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007faec3d23267 in ?? () from /usr/lib64/libQtGui.so.4
#15 0x00007faec3bcb5a5 in QWidget::event () from /usr/lib64/libQtGui.so.4
#16 0x00007faec3ee416b in QMainWindow::event () from /usr/lib64/libQtGui.so.4
#17 0x00007faec5ca0d78 in KXmlGuiWindow::event (this=0x1580630, ev=0x3e) at /usr/src/debug/kdelibs-4.2.0/kdeui/xmlgui/kxmlguiwindow.cpp:131
#18 0x00007faec3b7917d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#19 0x00007faec3b80f2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#20 0x00007faec5b9dd4b in KApplication::notify (this=0x7fffd13ffd30, receiver=0x644d30, event=0x41c4440) at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#21 0x00007faec4da5e81 in QCoreApplication::notifyInternal (this=0x7fffd13ffd30, receiver=0x644d30, event=0x41c4440) at kernel/qcoreapplication.cpp:587
#22 0x00007faec4da6b3a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x609130) at kernel/qcoreapplication.h:209
#23 0x00007faec4dce723 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:214
#24 0x00007faebe69193a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007faebe695040 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x00007faebe6951dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007faec4dce3af in QEventDispatcherGlib::processEvents (this=0x63d4c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#28 0x00007faec3c09ccf in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007faec4da4782 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -784335808}) at kernel/qeventloop.cpp:143
#30 0x00007faec4da490d in QEventLoop::exec (this=0x7fffd13ffc80, flags={i = -784335728}) at kernel/qeventloop.cpp:194
#31 0x00007faec4da6dfd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#32 0x000000000040488b in main (argc=1, argv=0x7fffd1400418) at /usr/src/debug/kdepim-4.2.0/kontact/src/main.cpp:218

Starting it from konsole results in the following output; but now it does not crash (probably no depencies):

Calling appendChild() on a null node does nothing.                          
[snip]
Calling appendChild() on a null node does nothing.                          
kontact(13307)/kmail KMMsgDict::readFolderIds: Found serial number zero [snip]
kontact(13307)/kmail KMMsgDict::readFolderIds: Found serial number zero at index 20119 in folder "/home/nardmann.heiko/Mail/.SuSE.directory/.OpenSuSE.index.ids"
kontact(13307) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().

Then I click on multiple folders without being able to reproduce crashing. Inside one folder I select all mails and press <Shift>-<Del> to delete them (really delete them; not move them to trash folder). The I get the following output:

kontact(13307)/kmail KMail::MessageListView::StorageModel::releaseMessage: Trying to release a message at row  10  that no longer exists in the folder

Here is the output of 'rpm -qif /usr/bin/kontact':

Name        : kde4-kontact                 Relocations: (not relocatable)
Version     : 4.2.0                             Vendor: openSUSE Build Service
Release     : 89.2                          Build Date: Mo 09 Feb 2009 22:21:36 CET
Install Date: Mi 11 Feb 2009 09:38:50 CET      Build Host: build20
Group       : Productivity/Other            Source RPM: kdepim4-4.2.0-89.2.src.rpm
Size        : 1660159                          License: LGPL v2.1 or later
Signature   : DSA/SHA1, Mo 09 Feb 2009 22:24:22 CET, Key ID 58d8ff412e1efa87
URL         : http://www.kde.org
Summary     : Personal Information Manager
Description :
Kontact combines the individual applications KMail, KAddressBook and
KOrganizer under one GUI.



Authors:
--------
    The KDE Team <kde@kde.org>
Distribution: KDE:KDE4:Factory:Desktop / openSUSE_11.0
Comment 1 Dario Andres 2009-02-12 22:33:43 UTC
This is a Qt bug (alredy fixed in qt-copy, Qt4.4.4 and 4.5)
Is your Qt package up-to-date ? (I think OpenSUSE includes the qt-copy patches in its Qt package

Look at bug 175989 and bug 174065
Comment 2 Dario Andres 2009-03-14 23:01:40 UTC
No response from reporter. Closing as REMIND.