Bug 311810 - imap segfault
Summary: imap segfault
Status: RESOLVED DUPLICATE of bug 301825
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.9
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-16 23:02 UTC by l.mierzwa
Modified: 2013-02-26 03:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.02 KB, text/plain)
2013-01-28 10:38 UTC, Benoit Leffray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description l.mierzwa 2012-12-16 23:02:33 UTC
Application: akonadi_imap_resource (4.9)
KDE Platform Version: 4.9.90
Qt Version: 4.8.3
Operating System: Linux 3.5.0-19-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
I moved messages from source folder to another and then I removed the source IMAP folder. Progress bar at the bottom right corner was showing that removing this folder took a while and finally it segfaulted.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Redefine.pl typu Serwer poczty IMAP (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb67aeee780 (LWP 2287))]

Thread 4 (Thread 0x7fb66796f700 (LWP 11653)):
#0  0x00007fb67691f303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb67546bd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb67546bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb67a310c16 in QEventDispatcherGlib::processEvents (this=0x7fb6600b2c50, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb67a2e12bf in QEventLoop::processEvents (this=this@entry=0x7fb66796ede0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb67a2e1548 in QEventLoop::exec (this=0x7fb66796ede0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb67a1e2b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fb678f46ad7 in KIMAP::SessionThread::run (this=0xfe39b0) at ../../kimap/sessionthread.cpp:182
#8  0x00007fb67a1e5aec in QThreadPrivate::start (arg=0xfe39b0) at thread/qthread_unix.cpp:338
#9  0x00007fb675f89e9a in start_thread (arg=0x7fb66796f700) at pthread_create.c:308
#10 0x00007fb67692acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb657fff700 (LWP 5018)):
#0  0x00007fb6754a8c48 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb67546b996 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb67546bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb67546bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb67a310c16 in QEventDispatcherGlib::processEvents (this=0x7fb6500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fb67a2e12bf in QEventLoop::processEvents (this=this@entry=0x7fb657ffede0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb67a2e1548 in QEventLoop::exec (this=0x7fb657ffede0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fb67a1e2b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fb678f46ad7 in KIMAP::SessionThread::run (this=0xb3a630) at ../../kimap/sessionthread.cpp:182
#9  0x00007fb67a1e5aec in QThreadPrivate::start (arg=0xb3a630) at thread/qthread_unix.cpp:338
#10 0x00007fb675f89e9a in start_thread (arg=0x7fb657fff700) at pthread_create.c:308
#11 0x00007fb67692acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb66716e700 (LWP 5019)):
#0  0x00007fb6754a89ba in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb6754a8c59 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb67546b60b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb67546bcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb67546bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb67a310c16 in QEventDispatcherGlib::processEvents (this=0x7fb658007c20, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb67a2e12bf in QEventLoop::processEvents (this=this@entry=0x7fb66716dde0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb67a2e1548 in QEventLoop::exec (this=0x7fb66716dde0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb67a1e2b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fb678f46ad7 in KIMAP::SessionThread::run (this=0xaf7ad0) at ../../kimap/sessionthread.cpp:182
#10 0x00007fb67a1e5aec in QThreadPrivate::start (arg=0xaf7ad0) at thread/qthread_unix.cpp:338
#11 0x00007fb675f89e9a in start_thread (arg=0x7fb66716e700) at pthread_create.c:308
#12 0x00007fb67692acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb67aeee780 (LWP 2287)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fb678f42a7e in qDeleteAll<QList<KIMAP::Job*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QQueue<KIMAP::Job*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KIMAP::SessionPrivate::clearJobQueue (this=0x8981e0) at ../../kimap/session.cpp:407
#10 0x00007fb67a2f743e in QObject::event (this=0xa68d90, e=<optimized out>) at kernel/qobject.cpp:1195
#11 0x00007fb679689e9c in QApplicationPrivate::notify_helper (this=this@entry=0x833540, receiver=receiver@entry=0xa68d90, e=e@entry=0x7fb6601fc460) at kernel/qapplication.cpp:4562
#12 0x00007fb67968e30a in QApplication::notify (this=0x7fff34109240, receiver=0xa68d90, e=0x7fb6601fc460) at kernel/qapplication.cpp:4423
#13 0x00007fb6777f53a6 in KApplication::notify (this=0x7fff34109240, receiver=0xa68d90, event=0x7fb6601fc460) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007fb67a2e256e in QCoreApplication::notifyInternal (this=0x7fff34109240, receiver=receiver@entry=0xa68d90, event=event@entry=0x7fb6601fc460) at kernel/qcoreapplication.cpp:915
#15 0x00007fb67a2e63f1 in sendEvent (event=0x7fb6601fc460, receiver=0xa68d90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x7f44d0) at kernel/qcoreapplication.cpp:1539
#17 0x00007fb67a310a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0x8242d0) at kernel/qeventdispatcher_glib.cpp:279
#19 0x00007fb67546bab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fb67546bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fb67546bea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb67a310bf6 in QEventDispatcherGlib::processEvents (this=0x7f5cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007fb67972ec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007fb67a2e12bf in QEventLoop::processEvents (this=this@entry=0x7fff341091c0, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007fb67a2e1548 in QEventLoop::exec (this=0x7fff341091c0, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007fb67a2e6708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#27 0x00007fb67aa00ee3 in Akonadi::ResourceBase::init (r=0x9e5e80) at ../../akonadi/resourcebase.cpp:451
#28 0x000000000041bfb3 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#29 0x00007fb67685876d in __libc_start_main (main=0x415600 <main(int, char**)>, argc=3, ubp_av=0x7fff34109358, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff34109348) at libc-start.c:226
#30 0x00000000004157b5 in _start ()

Possible duplicates by query: bug 306041, bug 305858, bug 305613, bug 303087, bug 301825.

Reported using DrKonqi
Comment 1 Benoit Leffray 2013-01-28 10:38:38 UTC
Created attachment 76770 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.9) on KDE Platform 4.9.98 using Qt 4.8.3

- What I was doing when the application crashed:
I mistakenly deleted the 'Trash' folder that's located on the remote IMAP server.
(What I wanted to do actually was to empty the 'Trash' folder.)

-- Backtrace (Reduced):
#7  0x00007f2834d3da1e in qDeleteAll<QList<KIMAP::Job*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QQueue<KIMAP::Job*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KIMAP::SessionPrivate::clearJobQueue (this=0x8cf9d0) at ../../kimap/session.cpp:407
#10 0x00007f28360f243e in QObject::event (this=0x97f170, e=<optimized out>) at kernel/qobject.cpp:1195
#11 0x00007f2835484e9c in QApplicationPrivate::notify_helper (this=this@entry=0x6cebb0, receiver=receiver@entry=0x97f170, e=e@entry=0x7f28180048c0) at kernel/qapplication.cpp:4562
Comment 2 Jekyll Wu 2013-02-26 03:34:39 UTC

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