Bug 306017

Summary: Kmail crasht after trying to open an e-mail with double-click
Product: [Applications] kmail2 Reporter: pranaxama
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pranaxama 2012-08-30 05:37:25 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Have sorted out spam from non-spam on recently installed system. This has taken a long time and Kmail is working very hard on this simple task. (Spam-detecting definitely is not the favorite thing for this programme.)

Few minutes later tried to open one mail by double-click. Took a long time to open but succeded. 
Closed every open mail-window after had read it.

Same procedure with the fifth e-mail led to nirvana. After five minutes waiting closed Kmail, which then crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6cec68c7c0 (LWP 7302))]

Thread 3 (Thread 0x7f6cc3da0700 (LWP 7316)):
#0  0x00007f6ce97bcb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6ce1e64036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6ce1e64164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6cea153426 in QEventDispatcherGlib::processEvents (this=0x7f6cbc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6cea122c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6cea122ed7 in QEventLoop::exec (this=0x7f6cc3d9fd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6cea021fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6cea1029ff in QInotifyFileSystemWatcherEngine::run (this=0x14fad60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6cea024fcb in QThreadPrivate::start (arg=0x14fad60) at thread/qthread_unix.cpp:298
#9  0x00007f6ce7093e9a in start_thread (arg=0x7f6cc3da0700) at pthread_create.c:308
#10 0x00007f6ce97c84bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6cc0be8700 (LWP 22062)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6cde75bdec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6cde75bf19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6ce7093e9a in start_thread (arg=0x7f6cc0be8700) at pthread_create.c:308
#4  0x00007f6ce97c84bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6cec68c7c0 (LWP 7302)):
[KCrash Handler]
#6  malloc_consolidate (av=0x7f6c68000020) at malloc.c:4240
#7  0x00007f6ce97555a9 in malloc_consolidate (av=0x7f6c68000020) at malloc.c:4215
#8  _int_free (av=0x7f6c68000020, p=<optimized out>, have_lock=0) at malloc.c:4146
#9  0x00007f6cea0d7a0c in ~QByteArray (this=0x7f6c6803d6e0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:401
#10 ~QUrlPrivate (this=0x7f6c6803d660, __in_chrg=<optimized out>) at io/qurl.cpp:309
#11 ~QUrl (this=<optimized out>, __in_chrg=<optimized out>) at io/qurl.cpp:4251
#12 QUrl::~QUrl (this=<optimized out>, __in_chrg=<optimized out>) at io/qurl.cpp:4248
#13 0x00007f6cea040aca in QHashData::free_helper (this=0x529d840, node_delete=0x7f6ce2898530 <QHash<KUrl, QHashDummyValue>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#14 0x00007f6ce2893e30 in freeData (x=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:570
#15 operator= (other=..., this=0x55ce138) at /usr/include/qt4/QtCore/qhash.h:597
#16 clear (this=0x55ce138) at /usr/include/qt4/QtCore/qhash.h:576
#17 clear (this=0x55ce138) at /usr/include/qt4/QtCore/qset.h:87
#18 Nepomuk::ResourceData::resetAll (this=0x55ce130, isDelete=true) at ../../nepomuk/core/resourcedata.cpp:197
#19 0x00007f6ce28948be in Nepomuk::ResourceData::~ResourceData (this=0x55ce130, __in_chrg=<optimized out>) at ../../nepomuk/core/resourcedata.cpp:106
#20 0x00007f6ce289c8a6 in Nepomuk::ResourceManagerPrivate::cleanupCache (this=<optimized out>, num=-1) at ../../nepomuk/core/resourcemanager.cpp:194
#21 0x00007f6ce289caec in Nepomuk::ResourceManager::~ResourceManager (this=0x11de910, __in_chrg=<optimized out>) at ../../nepomuk/core/resourcemanager.cpp:292
#22 0x00007f6ce289cbb9 in Nepomuk::ResourceManager::~ResourceManager (this=0x11de910, __in_chrg=<optimized out>) at ../../nepomuk/core/resourcemanager.cpp:299
#23 0x00007f6cea136935 in QObjectPrivate::deleteChildren (this=0xcc86b0) at kernel/qobject.cpp:1908
#24 0x00007f6cea13cb9c in QObject::~QObject (this=0x7fff32b39f20, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#25 0x00007f6cea65044e in QApplication::~QApplication (this=0x7fff32b39f20, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1103
#26 0x0000000000402bfb in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:149

Possible duplicates by query: bug 277138.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-09-02 06:44:05 UTC
The crash is with Nepomuk and already fixed in Soprano 2.8

*** This bug has been marked as a duplicate of bug 286627 ***