Bug 295681 - kmail crashes when opening IMAP emails
Summary: kmail crashes when opening IMAP emails
Status: RESOLVED DUPLICATE of bug 295474
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 14:21 UTC by David
Modified: 2012-03-12 10:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
debug output of the crash (6.47 KB, text/plain)
2012-03-10 14:22 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2012-03-10 14:21:10 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I wanted to read my emails but kmail only displays an empty mail - no matter what 
mail I select, but when I try my pop3 account - everythign works
it has something to do with IMAP or googlemail

- Custom settings of the application:
IMAP features enabled

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f8ad84007c0 (LWP 14929))]

Thread 5 (Thread 0x7f8ab7226700 (LWP 14933)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f8ad5fd24ff in wait (time=30000, this=0x21e1e10) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x21e1d88, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f8ad5fc567f in QThreadPoolThread::run (this=0x21f6530) at concurrent/qthreadpool.cpp:141
#4  0x00007f8ad5fd208b in QThreadPrivate::start (arg=0x21f6530) at thread/qthread_unix.cpp:298
#5  0x00007f8ad3310efc in start_thread (arg=0x7f8ab7226700) at pthread_create.c:304
#6  0x00007f8ad577b59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8ab5bca700 (LWP 14935)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f8ad571862f in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f8ad57169c1 in __GI___libc_free (mem=0x7f8ad5a341c0) at malloc.c:3736
#3  0x00007f8ad47d4feb in QAbstractSocket::disconnectFromHostImplementation (this=0x2112108) at socket/qabstractsocket.cpp:2510
#4  0x00007f8ad47d567d in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qabstractsocket.cpp:168
#5  QAbstractSocket::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qabstractsocket.cpp:152
#6  0x00007f8ad60d8661 in QMetaMethod::invoke (this=0x7f8ab5bc9300, object=0x2112108, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1641
#7  0x00007f8ad60da970 in QMetaObject::invokeMethod (obj=0x2112108, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#8  0x00007f8ad47d08b4 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7f8ad480b820 "disconnectFromHostImplementation", obj=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:418
#9  QAbstractSocket::disconnectFromHost (this=<optimized out>) at socket/qabstractsocket.cpp:2474
#10 0x00007f8ad47d09e7 in QAbstractSocket::close (this=0x2112108) at socket/qabstractsocket.cpp:2452
#11 0x00007f8ad47d6761 in QAbstractSocket::waitForReadyRead (this=0x2112108, msecs=600000) at socket/qabstractsocket.cpp:1897
#12 0x00007f8ac7d57019 in ?? () from /usr/lib/libsopranoclient.so.1
#13 0x00007f8ac7d5b296 in ?? () from /usr/lib/libsopranoclient.so.1
#14 0x00007f8ac7d5ac95 in ?? () from /usr/lib/libsopranoclient.so.1
#15 0x00007f8acee0bd37 in Soprano::QueryResultIterator::binding(QString const&) const () from /usr/lib/libsoprano.so.4
#16 0x00007f8acee0bec9 in Soprano::QueryResultIterator::operator[](QString) const () from /usr/lib/libsoprano.so.4
#17 0x00007f8aceb3c17c in Nepomuk::ResourceData::load (this=0x7f8ab0400640) at ../../nepomuk/core/resourcedata.cpp:419
#18 0x00007f8aceb3c95c in Nepomuk::ResourceData::property (this=0x7f8ab0400640, uri=...) at ../../nepomuk/core/resourcedata.cpp:265
#19 0x00007f8aceb50893 in Nepomuk::Resource::property (this=0x7f8ab5bc9cc0, uri=...) at ../../nepomuk/core/resource.cpp:301
#20 0x00007f8ad1eaf7da in MessageCore::NepomukResourceRetrieverRunnable::run (this=0x7f8ab03fe5e0) at ../../messagecore/asyncnepomukresourceretriever.cpp:47
#21 0x00007f8ad5fc55b2 in QThreadPoolThread::run (this=0x35da930) at concurrent/qthreadpool.cpp:107
#22 0x00007f8ad5fd208b in QThreadPrivate::start (arg=0x35da930) at thread/qthread_unix.cpp:298
#23 0x00007f8ad3310efc in start_thread (arg=0x7f8ab5bca700) at pthread_create.c:304
#24 0x00007f8ad577b59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8aaafa8700 (LWP 14937)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8aca822c2c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f8acb1d9220) at wtf/FastMalloc.cpp:2495
#2  0x00007f8aca822d59 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f8ad3310efc in start_thread (arg=0x7f8aaafa8700) at pthread_create.c:304
#4  0x00007f8ad577b59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8aaa7a7700 (LWP 14938)):
#0  0x00007f8ad576f473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8ace10af68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8ace10b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8ad60ffc06 in QEventDispatcherGlib::processEvents (this=0x4206430, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f8ad60cf3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8ad60cf637 in QEventLoop::exec (this=0x7f8aaa7a6dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f8ad5fcf067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f8ad5fd208b in QThreadPrivate::start (arg=0x4205900) at thread/qthread_unix.cpp:298
#8  0x00007f8ad3310efc in start_thread (arg=0x7f8aaa7a7700) at pthread_create.c:304
#9  0x00007f8ad577b59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8ad84007c0 (LWP 14929)):
[KCrash Handler]
#6  0x00007f8ad56ce3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f8ad56d1b0b in __GI_abort () at abort.c:92
#8  0x00007f8ad5707d63 in __libc_message (do_abort=2, fmt=0x7f8ad57f8e58 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f8ad57126e6 in malloc_printerr (action=3, str=0x7f8ad57f8ff8 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f8ad571522b in _int_realloc (av=0x7f8ad5a341c0, oldp=0x51e5190, oldsize=8208, nb=<optimized out>) at malloc.c:5341
#11 0x00007f8ad5716b39 in __GI___libc_realloc (oldmem=0x51e51a0, bytes=16384) at malloc.c:3821
#12 0x00007f8ad5fefac6 in QListData::realloc (this=0x21513d8, alloc=2045) at tools/qlist.cpp:221
#13 0x00007f8ad5fefb75 in QListData::append (this=<optimized out>, n=1) at tools/qlist.cpp:243
#14 0x00007f8aceb5830c in append (t=..., this=0x21513d8) at /usr/include/qt4/QtCore/qlist.h:517
#15 operator<< (t=..., this=0x21513d8) at /usr/include/qt4/QtCore/qlist.h:321
#16 operator<< (t=..., this=0x21513d8) at ../../nepomuk/core/resourcewatcher.cpp:139
#17 Nepomuk::ResourceWatcher::addResource (this=0x2152a30, res=...) at ../../nepomuk/core/resourcewatcher.cpp:141
#18 0x00007f8aceb3bf9b in Nepomuk::ResourceData::load (this=0x7f8aa41e8800) at ../../nepomuk/core/resourcedata.cpp:405
#19 0x00007f8aceb3c95c in Nepomuk::ResourceData::property (this=0x7f8aa41e8800, uri=...) at ../../nepomuk/core/resourcedata.cpp:265
#20 0x00007f8aceb50893 in Nepomuk::Resource::property (this=0x7f8aa41eafd0, uri=...) at ../../nepomuk/core/resource.cpp:301
#21 0x00007f8aceb52d14 in Nepomuk::Resource::tags (this=0x7f8aa41eafd0) at ../../nepomuk/core/resource.cpp:656
#22 0x00007f8ad1921db7 in MessageList::Core::MessageItemPrivate::fillTagList (this=0x501de00, resource=...) at ../../messagelist/core/messageitem.cpp:190
#23 0x00007f8ad192272d in MessageList::Core::MessageItemPrivate::resourceReceived (this=0x501de00, resource=...) at ../../messagelist/core/messageitem.cpp:244
#24 0x00007f8ad1eae74b in resourceRetrievalDone (res=..., url=..., this=0x35d7af0) at ../../messagecore/asyncnepomukresourceretriever.cpp:92
#25 MessageCore::AsyncNepomukResourceRetriever::qt_metacall (this=<optimized out>, _c=<optimized out>, _id=1, _a=<optimized out>) at ./asyncnepomukresourceretriever.moc:78
#26 0x00007f8ad60e9ba6 in QObject::event (this=0x35d5e00, e=<optimized out>) at kernel/qobject.cpp:1195
#27 0x00007f8ad65f3104 in notify_helper (e=0x7f8aa41ecd50, receiver=0x35d5e00, this=0x1b71e90) at kernel/qapplication.cpp:4555
#28 QApplicationPrivate::notify_helper (this=0x1b71e90, receiver=0x35d5e00, e=0x7f8aa41ecd50) at kernel/qapplication.cpp:4527
#29 0x00007f8ad65f7f83 in QApplication::notify (this=0x7fff664dec10, receiver=0x35d5e00, e=0x7f8aa41ecd50) at kernel/qapplication.cpp:4416
#30 0x00007f8ad7e219a6 in KApplication::notify (this=0x7fff664dec10, receiver=0x35d5e00, event=0x7f8aa41ecd50) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f8ad60d05fc in QCoreApplication::notifyInternal (this=0x7fff664dec10, receiver=0x35d5e00, event=0x7f8aa41ecd50) at kernel/qcoreapplication.cpp:876
#32 0x00007f8ad60d43ca in sendEvent (event=0x7f8aa41ecd50, receiver=0x35d5e00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b21220) at kernel/qcoreapplication.cpp:1500
#34 0x00007f8ad60ff773 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007f8ace10aa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f8ace10b258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f8ace10b429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f8ad60ffb9f in QEventDispatcherGlib::processEvents (this=0x1b22b00, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007f8ad669821e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f8ad60cf3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f8ad60cf637 in QEventLoop::exec (this=0x7fff664deaf0, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f8ad60d46c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#44 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

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

Possible duplicates by query: bug 295474, bug 294766, bug 294028, bug 292022, bug 290830.

Reported using DrKonqi
Comment 1 David 2012-03-10 14:22:58 UTC
Created attachment 69456 [details]
debug output of the crash
Comment 2 Will Stephenson 2012-03-12 10:49:52 UTC

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