Bug 296216

Summary: Crash when changing folder or folder view
Product: [Applications] kontact Reporter: kuede <kurvoe>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andreas.karrenbauer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description kuede 2012-03-17 16:08:58 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1) "release 481"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

kontact is crashing after upgrade from 4.8.0 to 4.8.1 every now and then. It is not only switching folders but also selecting e-mails (mostly unread) or also changing sorting (received, importance etc.). It seems to happen more often when contacting the remote inboxes (pop or IMAP) is slow. Backtrace below should be from switching sorting (where the importance sorting doesn't seem to work.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f4c66042760 (LWP 15354))]

Thread 5 (Thread 0x7f4c4db4b700 (LWP 15355)):
#0  0x00007f4c5ded3e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4c62862c12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f4c62862c49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f4c5decff05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f4c6355410d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f4c4d232700 (LWP 15356)):
#0  0x00007f4c5ded201e in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f4c5d9c0f44 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4c63cc1956 in QEventDispatcherGlib::processEvents (this=0x7f4c480008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007f4c63c91682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f4c63c918d7 in QEventLoop::exec (this=0x7f4c4d231e20, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f4c63b92537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x00007f4c63b9555b in QThreadPrivate::start (arg=0x830ca0) at thread/qthread_unix.cpp:298
#7  0x00007f4c5decff05 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f4c6355410d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f4bf2321700 (LWP 17711)):
#0  0x00007f4c5ded41eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4c63b959cf in wait (time=30000, this=0xe92c10) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xe92b88, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4c63b88ddf in QThreadPoolThread::run (this=0xea6230) at concurrent/qthreadpool.cpp:141
#4  0x00007f4c63b9555b in QThreadPrivate::start (arg=0xea6230) at thread/qthread_unix.cpp:298
#5  0x00007f4c5decff05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f4c6355410d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f4bf303b700 (LWP 17717)):
[KCrash Handler]
#10 0x00007f4c634efa38 in malloc_consolidate () from /lib64/libc.so.6
#11 0x00007f4c634f0bf3 in _int_malloc () from /lib64/libc.so.6
#12 0x00007f4c634f383e in malloc () from /lib64/libc.so.6
#13 0x00007f4c63b97558 in QByteArray::realloc (this=0x7f4be8001c58, alloc=65504) at tools/qbytearray.cpp:1452
#14 0x00007f4c63b97679 in QByteArray::resize (this=0x7f4be8001c58, size=32768) at tools/qbytearray.cpp:1420
#15 0x00007f4c5ee6e986 in reserve (bytes=2, this=0x7f4be8002e70) at ../../src/corelib/tools/qringbuffer_p.h:158
#16 QAbstractSocket::writeData (this=<optimized out>, data=0x7f4bf303a64c "\021", size=2) at socket/qabstractsocket.cpp:2315
#17 0x00007f4c63c2582f in QIODevice::write (this=0x7f4be8005600, data=0x7f4bf303a64c "\021", maxSize=<optimized out>) at io/qiodevice.cpp:1370
#18 0x00007f4c571afb25 in ?? () from /usr/lib64/libsopranoclient.so.1
#19 0x00007f4c571b6cba in ?? () from /usr/lib64/libsopranoclient.so.1
#20 0x00007f4c571b8803 in ?? () from /usr/lib64/libsopranoclient.so.1
#21 0x00007f4c5b72764c in ?? () from /usr/lib64/libnepomuk.so.4
#22 0x00007f4c5b713eb3 in ?? () from /usr/lib64/libnepomuk.so.4
#23 0x00007f4c5b7147bc in ?? () from /usr/lib64/libnepomuk.so.4
#24 0x00007f4c5b72a7e3 in Nepomuk::Resource::property(QUrl const&) const () from /usr/lib64/libnepomuk.so.4
#25 0x00007f4c0495b0ca in ?? () from /usr/lib64/libmessagecore.so.4
#26 0x00007f4c63b88d12 in QThreadPoolThread::run (this=0x1d83550) at concurrent/qthreadpool.cpp:107
#27 0x00007f4c63b9555b in QThreadPrivate::start (arg=0x1d83550) at thread/qthread_unix.cpp:298
#28 0x00007f4c5decff05 in start_thread () from /lib64/libpthread.so.0
#29 0x00007f4c6355410d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f4c66042760 (LWP 15354)):
[KCrash Handler]
#6  0x00007f4c634add95 in raise () from /lib64/libc.so.6
#7  0x00007f4c634af2ab in abort () from /lib64/libc.so.6
#8  0x00007f4c634e999e in __libc_message () from /lib64/libc.so.6
#9  0x00007f4c634ef6d6 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f4c606c954e in qMetaTypeDeleteHelper<QDBusMessage> (t=0x2bc9df0) at ../../src/corelib/kernel/qmetatype.h:134
#11 0x00007f4c63ca2d79 in QMetaCallEvent::~QMetaCallEvent (this=0x30a5400, __in_chrg=<optimized out>) at kernel/qobject.cpp:509
#12 0x00007f4c63ca2dd9 in QMetaCallEvent::~QMetaCallEvent (this=0x30a5400, __in_chrg=<optimized out>) at kernel/qobject.cpp:518
#13 0x00007f4c63c96143 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60da60) at kernel/qcoreapplication.cpp:1516
#14 0x00007f4c63cc14c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#15 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#16 0x00007f4c5d9c058d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f4c5d9c0d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f4c5d9c0f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f4c63cc18ef in QEventDispatcherGlib::processEvents (this=0x60d320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007f4c647492de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f4c63c91682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f4c63c918d7 in QEventLoop::exec (this=0x7fff1eb1f810, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f4c63c96435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#24 0x0000000000403919 in main (argc=1, argv=0x7fff1eb1fea8) at /usr/src/debug/kdepim-4.8.1/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 296034.

Possible duplicates by query: bug 296034, bug 295984, bug 295963, bug 295832, bug 295805.

Reported using DrKonqi
Comment 1 Andreas Karrenbauer 2012-03-17 21:24:01 UTC
Created attachment 69696 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) "release 481" using Qt 4.8.0

- What I was doing when the application crashed:
Advancing to the next unread feed in Akregator

-- Backtrace (Reduced):
#13 0x00007f1fb2bee558 in QByteArray::realloc (this=0x7f1f38002188, alloc=65504) at tools/qbytearray.cpp:1452
#14 0x00007f1fb2bee679 in QByteArray::resize (this=0x7f1f38002188, size=32768) at tools/qbytearray.cpp:1420
#15 0x00007f1fadea5986 in reserve (bytes=2, this=0x7f1f38006c20) at ../../src/corelib/tools/qringbuffer_p.h:158
#16 QAbstractSocket::writeData (this=<optimized out>, data=0x7f1f2c2f164c "\021", size=2) at socket/qabstractsocket.cpp:2315
#17 0x00007f1fb2c7c82f in QIODevice::write (this=0x7f1f38001f00, data=0x7f1f2c2f164c "\021", maxSize=<optimized out>) at io/qiodevice.cpp:1370
Comment 2 kuede 2012-03-22 21:51:02 UTC
No crashes anymore after deleting the recent searches folder (or latest searches...).  Also responsiveness seems to be better than before after deleting the folder.
Comment 3 Christophe Marin 2012-03-30 13:48:43 UTC

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