Bug 295709

Summary: Kontac crash when I open e-mail in Inbox
Product: [Applications] kontact Reporter: RussianNeuroMancer <russianneuromancer>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ab4bd, bhonermann, dmitriy.simonchik, dominik, pjunker, russianneuromancer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description RussianNeuroMancer 2012-03-10 19:28:54 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-18-generic x86_64
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Kontac crash when I open e-mail in Inbox. Content of this e-mail is simple - new message forum notification (plain text) with two links.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f19b83477c0 (LWP 2583))]

Thread 5 (Thread 0x7f199b61c700 (LWP 2602)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f19b4b44ddc in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f19b4b44f09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f19b000be9a in start_thread (arg=0x7f199b61c700) at pthread_create.c:308
#4  0x00007f19b587474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f199ad03700 (LWP 2609)):
#0  QTimerInfoList::timerWait (this=0x7f1994002860, tm=...) at kernel/qeventdispatcher_unix.cpp:449
#1  0x00007f19b5fe7fcc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f199ad02c5c) at kernel/qeventdispatcher_glib.cpp:136
#2  0x00007f19afb3e85e in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f19afb3f05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f19afb3f264 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f19b5fe8a76 in QEventDispatcherGlib::processEvents (this=0x7f19940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f19b5fb82d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f19b5fb8527 in QEventLoop::exec (this=0x7f199ad02dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f19b5eb7f97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f19b5ebafbb in QThreadPrivate::start (arg=0xb6e7f0) at thread/qthread_unix.cpp:298
#10 0x00007f19b000be9a in start_thread (arg=0x7f199ad03700) at pthread_create.c:308
#11 0x00007f19b587474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1942d9d700 (LWP 2957)):
#0  0x00007f19afb3e1eb in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f19afb3f004 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f19afb3f264 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f19b5fe8a76 in QEventDispatcherGlib::processEvents (this=0x7f193c002df0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f19b5fb82d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f19b5fb8527 in QEventLoop::exec (this=0x7f1942d9cd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f19b5eb7f97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f19b5f9806f in QInotifyFileSystemWatcherEngine::run (this=0x15b7180) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f19b5ebafbb in QThreadPrivate::start (arg=0x15b7180) at thread/qthread_unix.cpp:298
#9  0x00007f19b000be9a in start_thread (arg=0x7f1942d9d700) at pthread_create.c:308
#10 0x00007f19b587474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f193aa79700 (LWP 7641)):
[KCrash Handler]
#10 malloc_consolidate (av=0x7f1930000020) at malloc.c:4246
#11 0x00007f19b5802156 in malloc_consolidate (av=0x7f1930000020) at malloc.c:4215
#12 _int_malloc (av=0x7f1930000020, bytes=65536) at malloc.c:3532
#13 0x00007f19b5804cd5 in __GI___libc_malloc (bytes=65536) at malloc.c:2924
#14 0x00007f19b5ebcfb8 in QByteArray::realloc (this=0x7f19300058f8, alloc=65504) at tools/qbytearray.cpp:1452
#15 0x00007f19b5ebd0d9 in QByteArray::resize (this=0x7f19300058f8, size=32768) at tools/qbytearray.cpp:1420
#16 0x00007f19b0eb58c6 in reserve (bytes=2, this=0x7f19300014d0) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:158
#17 QAbstractSocket::writeData (this=<optimized out>, data=0x7f193aa785ec "\021", size=2) at socket/qabstractsocket.cpp:2315
#18 0x00007f19b5f4c3cf in QIODevice::write (this=0x7f1930006c00, data=0x7f193aa785ec "\021", maxSize=<optimized out>) at io/qiodevice.cpp:1370
#19 0x00007f19a99392f5 in Soprano::DataStream::writeUnsignedInt16 (this=0x7f193aa78610, v=17) at ../../server/datastream.cpp:95
#20 0x00007f19a993f74a in Soprano::Client::ClientConnection::executeQuery (this=0x1916320, modelId=330481008, query=..., type=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../client/clientconnection.cpp:263
#21 0x00007f19a99411c3 in Soprano::Client::ClientModel::executeQuery (this=<optimized out>, query=..., language=<optimized out>, userQueryLanguage=...) at ../../client/clientmodel.cpp:101
#22 0x00007f19ae0e11bc in Nepomuk::MainModel::executeQuery (this=0x117e010, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212
#23 0x00007f19ae0d5843 in Nepomuk::ResourceData::load (this=0x7f192c0111b0) at ../../nepomuk/core/resourcedata.cpp:417
#24 0x00007f19ae0d614c in Nepomuk::ResourceData::property (this=0x7f192c0111b0, uri=...) at ../../nepomuk/core/resourcedata.cpp:265
#25 0x00007f19ae0ec533 in Nepomuk::Resource::property (this=0x7f193aa78cc0, uri=...) at ../../nepomuk/core/resource.cpp:301
#26 0x00007f1951c0dc5a in MessageCore::NepomukResourceRetrieverRunnable::run (this=0x863a400) at ../../messagecore/asyncnepomukresourceretriever.cpp:47
#27 0x00007f19b5eae4e2 in QThreadPoolThread::run (this=0x12a1100) at concurrent/qthreadpool.cpp:107
#28 0x00007f19b5ebafbb in QThreadPrivate::start (arg=0x12a1100) at thread/qthread_unix.cpp:298
#29 0x00007f19b000be9a in start_thread (arg=0x7f193aa79700) at pthread_create.c:308
#30 0x00007f19b587474d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#31 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f19b83477c0 (LWP 2583)):
[KCrash Handler]
#6  0x00007f19b57ba445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f19b57bdbab in __GI_abort () at abort.c:91
#8  0x00007f19b57f60be in __libc_message (do_abort=2, fmt=0x7f19b58fe250 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f19b58008b6 in malloc_printerr (action=3, str=0x7f19b58fe440 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f19b277392e in qMetaTypeDeleteHelper<QDBusMessage> (t=0x3f88c20) at ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:134
#11 0x00007f19b5fc9ef9 in QMetaCallEvent::~QMetaCallEvent (this=0x12108c0, __in_chrg=<optimized out>) at kernel/qobject.cpp:509
#12 0x00007f19b5fc9f59 in QMetaCallEvent::~QMetaCallEvent (this=0x12108c0, __in_chrg=<optimized out>) at kernel/qobject.cpp:518
#13 0x00007f19b5fbd2c3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9f6380) at kernel/qcoreapplication.cpp:1516
#14 0x00007f19b5fe85e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#15 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#16 0x00007f19afb3edda in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f19afb3f1a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f19afb3f264 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f19b5fe8a0f in QEventDispatcherGlib::processEvents (this=0x9f7c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007f19b6a56aae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f19b5fb82d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f19b5fb8527 in QEventLoop::exec (this=0x7fffb3b450d0, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f19b5fbd5b7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#24 0x0000000000403629 in main (argc=1, argv=0x7fffb3b45768) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 295686, bug 295054, bug 284552.

Reported using DrKonqi
Comment 1 RussianNeuroMancer 2012-03-10 19:35:24 UTC
Created attachment 69467 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

Probably same crash. This crash reproduced in few minutes after first crash. So this crash in indeed reproducable (at least at this moment).

-- Backtrace (Reduced):
#10 0x00007f87e22ceb40 in malloc_consolidate (av=0x7f8768000020) at malloc.c:4246
#11 0x00007f87e22d0156 in malloc_consolidate (av=0x7f8768000020) at malloc.c:4215
#12 _int_malloc (av=0x7f8768000020, bytes=65536) at malloc.c:3532
#13 0x00007f87e22d2cd5 in __GI___libc_malloc (bytes=65536) at malloc.c:2924
#14 0x00007f87e298afb8 in QByteArray::realloc (this=0x7f8768001368, alloc=65504) at tools/qbytearray.cpp:1452
Comment 2 Dmitry Simonchik 2012-03-12 14:25:00 UTC
Created attachment 69537 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:
navigating in emails, opening letters, switching folders

-- Backtrace (Reduced):
#6  malloc_consolidate (av=0x7fc108000020) at malloc.c:5161
#7  0x00007fc128f3ca4f in malloc_consolidate (av=0x7fc108000020) at malloc.c:5115
#8  _int_malloc (av=0x7fc108000020, bytes=65536) at malloc.c:4373
#9  0x00007fc128f3f3cd in __GI___libc_malloc (bytes=65536) at malloc.c:3660
#10 0x00007fc1295e7088 in QByteArray::realloc (this=0x7fc0bc009858, alloc=65504) at tools/qbytearray.cpp:1452
Comment 3 Dominik Steenken 2012-03-14 08:44:17 UTC
Created attachment 69603 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

  I was opening mails in my inbox. After expanding one of the days and clicking on a mail, Kontact crashed.

-- Backtrace (Reduced):
#6  0x00007f51fdf863a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f51fdf89b0b in __GI_abort () at abort.c:92
[...]
#9  0x00007f51fdfca6e6 in malloc_printerr (action=3, str=0x7f51fe0ade52 "corrupted double-linked list", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f51fdfcaab8 in malloc_consolidate (av=0x7f5194000020) at malloc.c:5161
#11 0x00007f51fdfcba4f in malloc_consolidate (av=0x7f5194000020) at malloc.c:5115
Comment 4 bhonermann 2012-03-15 13:14:22 UTC
Created attachment 69640 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:
Opening e-mails after switching folders. Can't find any pattern in the e-mails causing Kontact to crash. After restarting Kontact, the e-mails will open fine.

-- Backtrace (Reduced):
#6  0x00007fbb5e6593a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fbb5e65cb0b in __GI_abort () at abort.c:92
[...]
#9  0x00007fbb5e69d6e6 in malloc_printerr (action=3, str=0x7fbb5e783ff8 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007fbb5e6a022b in _int_realloc (av=0x7fbb5e9bf1c0, oldp=0x3ff3030, oldsize=8208, nb=<optimized out>) at malloc.c:5341
#11 0x00007fbb5e6a1b39 in __GI___libc_realloc (oldmem=0x3ff3040, bytes=16384) at malloc.c:3821
Comment 5 pjunker 2012-03-16 19:59:35 UTC
Created attachment 69679 [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:
It either happens upon opening unread messages or while marking messages in a folder as read.

-- Backtrace (Reduced):
#13 0x00007f64bc668558 in QByteArray::realloc (this=0x7f644c0028f8, alloc=65504) at tools/qbytearray.cpp:1452
#14 0x00007f64bc668679 in QByteArray::resize (this=0x7f644c0028f8, size=32768) at tools/qbytearray.cpp:1420
#15 0x00007f64b793f986 in reserve (bytes=2, this=0x7f644c002d80) at ../../src/corelib/tools/qringbuffer_p.h:158
#16 QAbstractSocket::writeData (this=<optimized out>, data=0x7f64538a164c "\021", size=2) at socket/qabstractsocket.cpp:2315
#17 0x00007f64bc6f682f in QIODevice::write (this=0x7f644c0023f0, data=0x7f64538a164c "\021", maxSize=<optimized out>) at io/qiodevice.cpp:1370
Comment 6 Christophe Marin 2012-03-30 13:38:29 UTC

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