Bug 295520 - Crash on entering an (disconnected) IMAP folder
Summary: Crash on entering an (disconnected) IMAP folder
Status: RESOLVED DUPLICATE of bug 295474
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 4.8
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 11:47 UTC by itsef-admin
Modified: 2012-03-12 10:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
CORRECT BACKTRACE for crash on opening IMAP folder (4.93 KB, application/octet-stream)
2012-03-08 12:18 UTC, itsef-admin
Details
Second backtrace (15.04 KB, application/octet-stream)
2012-03-08 12:32 UTC, itsef-admin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description itsef-admin 2012-03-08 11:47:16 UTC
User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build Identifier: 

One of our users just reported that KMail2 crashed when he clicked on one of his IMAP folders. Backtrace attached.

Reproducible: Didn't try

Actual Results:  
Crash the moment the IMAP folder was clicked.


Kubuntu 11.10, Kubuntu-ppa packages for KDE 4.8.1.
Disconnected IMAP account on Kolab server.

Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78b7730 (LWP 1840))]

Backtrace:
Thread 6 (Thread 0xb5dc9b70 (LWP 1842)):
#0  0x001d8416 in __kernel_vsyscall ()
#1  0x004c1a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00bf2cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x038e4883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x038e499f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x004bdd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x00be50ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xb54a0b70 (LWP 1844)):
#0  0x0054ad10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x026a2e35 in do_gettime (frac=0xb54a0030, sec=0xb54a0028) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0278cb06 in QTimerInfoList::updateCurrentTime (this=0x8e21cb4) at kernel/qeventdispatcher_unix.cpp:343
#4  0x0278ce5a in QTimerInfoList::timerWait (this=0x8e21cb4, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x0278b673 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb54a011c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x019d488c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x019d5637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x019d5c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x0278c1c7 in QEventDispatcherGlib::processEvents (this=0x8d0a638, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x02757d1d in QEventLoop::processEvents (this=0xb54a02b0, flags=...) at kernel/qeventloop.cpp:149
#11 0x02757fb9 in QEventLoop::exec (this=0xb54a02b0, flags=...) at kernel/qeventloop.cpp:204
#12 0x026419dc in QThread::exec (this=0x8e3ac38) at thread/qthread.cpp:501
#13 0x02641acb in QThread::run (this=0x8e3ac38) at thread/qthread.cpp:568
#14 0x02644e70 in QThreadPrivate::start (arg=0x8e3ac38) at thread/qthread_unix.cpp:298
#15 0x004bdd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x00be50ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb45d6b70 (LWP 1937)):
#0  0x001d8416 in __kernel_vsyscall ()
#1  0x00bd640e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x019e434b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x019d5896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x019d5c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0278c1c7 in QEventDispatcherGlib::processEvents (this=0x978f680, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x02757d1d in QEventLoop::processEvents (this=0xb45d6280, flags=...) at kernel/qeventloop.cpp:149
#7  0x02757fb9 in QEventLoop::exec (this=0xb45d6280, flags=...) at kernel/qeventloop.cpp:204
#8  0x026419dc in QThread::exec (this=0x9367900) at thread/qthread.cpp:501
#9  0x027352dd in QInotifyFileSystemWatcherEngine::run (this=0x9367900) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x02644e70 in QThreadPrivate::start (arg=0x9367900) at thread/qthread_unix.cpp:298
#11 0x004bdd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x00be50ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb33b5b70 (LWP 2824)):
#0  0x001d8416 in __kernel_vsyscall ()
#1  0x00bf3063 in ?? () from /lib/i386-linux-gnu/libc.so.6
#2  0x00b87135 in ?? () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0xb2bb4b70 (LWP 2828)):
[KCrash Handler]
#7  0x00b81f1d in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x00b82eac in ?? () from /lib/i386-linux-gnu/libc.so.6
#9  0x00b85498 in malloc () from /lib/i386-linux-gnu/libc.so.6
#10 0x0263d1cb in qMalloc (size=65536) at global/qmalloc.cpp:55
#11 0x0264705a in QByteArray::realloc (this=0xb3c1f82c, alloc=65516) at tools/qbytearray.cpp:1452
#12 0x02647177 in QByteArray::resize (this=0xb3c1f82c, size=32768) at tools/qbytearray.cpp:1420
#13 0x057ddf82 in reserve (bytes=2, this=0xb3c29ae0) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:158
#14 QAbstractSocket::writeData (this=0xb3c156b4, data=0xb2bb3ecc "\021", size=2) at socket/qabstractsocket.cpp:2315
#15 0x057ead9b in writeData (maxSize=2, data=0xb2bb3ecc "\021", this=<optimized out>) at socket/qlocalsocket_p.h:109
#16 QLocalSocket::writeData (this=0xb3c22090, data=0xb2bb3ecc "\021", c=2) at socket/qlocalsocket_unix.cpp:406
#17 0x026e26f9 in QIODevice::write (this=0xb3c22090, data=0xb2bb3ecc "\021", maxSize=2) at io/qiodevice.cpp:1370
#18 0x0207d88e in ?? () from /usr/lib/libsopranoclient.so.1
#19 0x02084a54 in ?? () from /usr/lib/libsopranoclient.so.1
#20 0x02086618 in ?? () from /usr/lib/libsopranoclient.so.1
#21 0x0438e2c1 in Nepomuk::MainModel::executeQuery (this=0x91f1890, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212
#22 0x0437c362 in Nepomuk::ResourceData::load (this=0x981f2b0) at ../../nepomuk/core/resourcedata.cpp:417
#23 0x0437ccc0 in Nepomuk::ResourceData::property (this=0x981f2b0, uri=...) at ../../nepomuk/core/resourcedata.cpp:265
#24 0x04393441 in Nepomuk::Resource::property (this=0xb2bb427c, uri=...) at ../../nepomuk/core/resource.cpp:301
#25 0x04f8c6f1 in MessageCore::NepomukResourceRetrieverRunnable::run (this=0x96887e0) at ../../messagecore/asyncnepomukresourceretriever.cpp:47
#26 0x0263742b in QThreadPoolThread::run (this=0x97b9e08) at concurrent/qthreadpool.cpp:107
#27 0x02644e70 in QThreadPrivate::start (arg=0x97b9e08) at thread/qthread_unix.cpp:298
#28 0x004bdd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#29 0x00be50ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb78b7730 (LWP 1840)):
#0  0x001d8416 in __kernel_vsyscall ()
#1  0x00bf3063 in ?? () from /lib/i386-linux-gnu/libc.so.6
#2  0x00b87135 in ?? () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Comment 1 itsef-admin 2012-03-08 12:18:45 UTC
Created attachment 69367 [details]
CORRECT BACKTRACE for crash on opening IMAP folder

The original comment contains the WRONG BACKTRACE - the one that is attached here is the correct one.

Sorry, we had KMail2 crash so often over the past few hours that I lost track a bit...
Comment 2 itsef-admin 2012-03-08 12:32:49 UTC
Created attachment 69369 [details]
Second backtrace

The same user just ran into this again - again, KMail2 crashed when clicking on an IMAP folder. In the meantime, I have installed more -dbg packages, hence a new backtrace.
Comment 3 itsef-admin 2012-03-08 12:40:10 UTC
The same user just exerienced a third crash when clicking on an IMAP folder - unfortunately, this one did not result in a backtrace.
Comment 4 Will Stephenson 2012-03-12 10:47:16 UTC

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