Bug 295846

Summary: Intermittent crash
Product: [Applications] kmail2 Reporter: John Veitch <john>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: wstephenson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John Veitch 2012-03-12 15:09:56 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:

Scrolling up and down the mail list causes Kmail to crash. The problem keeps occurring but it doesn't seem to be related to a particular email.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7fba7c61b7c0 (LWP 9637))]

Thread 6 (Thread 0x7fba5bcf7700 (LWP 9641)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fba6ea23c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fba6ea23d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fba77511efc in start_thread (arg=0x7fba5bcf7700) at pthread_create.c:304
#4  0x00007fba7997a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fba5b3f6700 (LWP 9642)):
#0  0x00007fba7996e773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fba7230bf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba7230c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba7a2fec06 in QEventDispatcherGlib::processEvents (this=0x149b890, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fba7a2ce3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fba7a2ce637 in QEventLoop::exec (this=0x7fba5b3f5dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fba7a1ce067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fba7a1d108b in QThreadPrivate::start (arg=0x149b410) at thread/qthread_unix.cpp:298
#8  0x00007fba77511efc in start_thread (arg=0x7fba5b3f6700) at pthread_create.c:304
#9  0x00007fba7997a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fba598db700 (LWP 9643)):
[KCrash Handler]
#6  malloc_consolidate (av=0x7fba54000020) at malloc.c:5153
#7  0x00007fba79912dff in malloc_consolidate (av=0x7fba54000020) at malloc.c:5115
#8  _int_malloc (av=0x7fba54000020, bytes=65536) at malloc.c:4373
#9  0x00007fba7991577d in __GI___libc_malloc (bytes=65536) at malloc.c:3660
#10 0x00007fba7a1d3088 in QByteArray::realloc (this=0x7fba540011d8, alloc=65504) at tools/qbytearray.cpp:1452
#11 0x00007fba7a1d31a9 in QByteArray::resize (this=0x7fba540011d8, size=32768) at tools/qbytearray.cpp:1420
#12 0x00007fba789d7a06 in reserve (bytes=2, this=0x7fba54003360) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:158
#13 QAbstractSocket::writeData (this=<optimized out>, data=0x7fba598da5ec "\021", size=2) at socket/qabstractsocket.cpp:2315
#14 0x00007fba7a2624af in QIODevice::write (this=0x7fba54000c60, data=0x7fba598da5ec "\021", maxSize=<optimized out>) at io/qiodevice.cpp:1370
#15 0x00007fba6bf53095 in ?? () from /usr/lib/libsopranoclient.so.1
#16 0x00007fba6bf5928a in ?? () from /usr/lib/libsopranoclient.so.1
#17 0x00007fba6bf5aa03 in ?? () from /usr/lib/libsopranoclient.so.1
#18 0x00007fba72d4d0b2 in Nepomuk::MainModel::executeQuery (this=0x142e360, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212
#19 0x00007fba72d3d083 in Nepomuk::ResourceData::load (this=0x7fba5406f650) at ../../nepomuk/core/resourcedata.cpp:417
#20 0x00007fba72d3d95c in Nepomuk::ResourceData::property (this=0x7fba5406f650, uri=...) at ../../nepomuk/core/resourcedata.cpp:265
#21 0x00007fba72d51893 in Nepomuk::Resource::property (this=0x7fba598dacc0, uri=...) at ../../nepomuk/core/resource.cpp:301
#22 0x00007fba760b07da in MessageCore::NepomukResourceRetrieverRunnable::run (this=0x20d7f80) at ../../messagecore/asyncnepomukresourceretriever.cpp:47
#23 0x00007fba7a1c45b2 in QThreadPoolThread::run (this=0x154c1a0) at concurrent/qthreadpool.cpp:107
#24 0x00007fba7a1d108b in QThreadPrivate::start (arg=0x154c1a0) at thread/qthread_unix.cpp:298
#25 0x00007fba77511efc in start_thread (arg=0x7fba598db700) at pthread_create.c:304
#26 0x00007fba7997a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fba13fff700 (LWP 9645)):
#0  0x00007fba7996e773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fba7230bf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba7230c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba7a2fec06 in QEventDispatcherGlib::processEvents (this=0x18d5300, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fba7a2ce3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fba7a2ce637 in QEventLoop::exec (this=0x7fba13ffed90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fba7a1ce067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fba7a2ae17f in QInotifyFileSystemWatcherEngine::run (this=0x18d2830) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fba7a1d108b in QThreadPrivate::start (arg=0x18d2830) at thread/qthread_unix.cpp:298
#9  0x00007fba77511efc in start_thread (arg=0x7fba13fff700) at pthread_create.c:304
#10 0x00007fba7997a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fba137fe700 (LWP 9646)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fba7a1d14ff in wait (time=30000, this=0x1dbb190) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1dcd388, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fba7a1c467f in QThreadPoolThread::run (this=0x1dd4690) at concurrent/qthreadpool.cpp:141
#4  0x00007fba7a1d108b in QThreadPrivate::start (arg=0x1dd4690) at thread/qthread_unix.cpp:298
#5  0x00007fba77511efc in start_thread (arg=0x7fba137fe700) at pthread_create.c:304
#6  0x00007fba7997a89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fba7c61b7c0 (LWP 9637)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fba799179df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fba79915d71 in __GI___libc_free (mem=0x7fba54000020) at malloc.c:3736
#3  0x00007fba7804d91e in qMetaTypeDeleteHelper<QDBusMessage> (t=0x1dadc90) at ../../include/QtCore/../../src/corelib/kernel/qmetatype.h:134
#4  0x00007fba7a2e0009 in QMetaCallEvent::~QMetaCallEvent (this=0x1dadbc0, __in_chrg=<optimized out>) at kernel/qobject.cpp:509
#5  0x00007fba7a2e0069 in QMetaCallEvent::~QMetaCallEvent (this=0x1dadbc0, __in_chrg=<optimized out>) at kernel/qobject.cpp:518
#6  0x00007fba7a2d33d3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xeef220) at kernel/qcoreapplication.cpp:1516
#7  0x00007fba7a2fe773 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#8  postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#9  0x00007fba7230ba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fba7230c258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fba7230c429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fba7a2feb9f in QEventDispatcherGlib::processEvents (this=0xef0b00, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007fba7a89721e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#14 0x00007fba7a2ce3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#15 0x00007fba7a2ce637 in QEventLoop::exec (this=0x7fff58940100, flags=...) at kernel/qeventloop.cpp:204
#16 0x00007fba7a2d36c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#17 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 295725, bug 294698, bug 293075, bug 284552.

Reported using DrKonqi
Comment 1 Will Stephenson 2012-03-12 18:09:20 UTC

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