[Bug 285883] New: kmail crash if quitting while receiving mails and resolving conflicts

p92 at free.fr p92 at free.fr
Sun Nov 6 10:54:47 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=285883

           Summary: kmail crash if quitting while receiving mails and
                    resolving conflicts
           Product: kontact
           Version: 4.7.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: p92 at free.fr


Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
kmail was receiving lots of mails and for each one asking me for conflict
resolution (another bug relating to spamassassin marking)
as I cannot stop this conflict resolution, i changed the filter rule for spam
to avoid checking incoming mails
as it did not stopped all waiting conflict resolution dialog, i used file ->
quit to stop kmail and restart it later
after quiting there was a conflict resolution dialog still opened
when i pressed "keep left version"  kmail crashed

- Unusual behavior I noticed:

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f529af927a0 (LWP 2507))]

Thread 4 (Thread 0x7f5281966700 (LWP 2527)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52977e5c2c in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f529819c220) at wtf/FastMalloc.cpp:2495
#2  0x00007f52977e5d59 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f5292be4efc in start_thread (arg=0x7f5281966700) at
pthread_create.c:304
#4  0x00007f52984f389d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f528104d700 (LWP 2530)):
#0  0x00007f5292be7034 in __pthread_mutex_lock (mutex=0x1202c98) at
pthread_mutex_lock.c:61
#1  0x00007f5292115839 in g_main_context_release () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5292116f9a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5292117429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f529992ef3e in QEventDispatcherGlib::processEvents (this=0x1202370,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5299902cf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5299902ef7 in QEventLoop::exec (this=0x7f528104cde0, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007f529981a27f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#8  0x00007f529981cd05 in QThreadPrivate::start (arg=0x1202350) at
thread/qthread_unix.cpp:331
#9  0x00007f5292be4efc in start_thread (arg=0x7f528104d700) at
pthread_create.c:304
#10 0x00007f52984f389d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f522b0a9700 (LWP 2702)):
#0  0x00007f5292be7034 in __pthread_mutex_lock (mutex=0x144f698) at
pthread_mutex_lock.c:61
#1  0x00007f5292116023 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5292116dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5292117429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f529992ef3e in QEventDispatcherGlib::processEvents (this=0x3298dc0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5299902cf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5299902ef7 in QEventLoop::exec (this=0x7f522b0a8db0, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007f529981a27f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#8  0x00007f52998e5cbf in QInotifyFileSystemWatcherEngine::run (this=0x19a9840)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f529981cd05 in QThreadPrivate::start (arg=0x19a9840) at
thread/qthread_unix.cpp:331
#10 0x00007f5292be4efc in start_thread (arg=0x7f522b0a9700) at
pthread_create.c:304
#11 0x00007f52984f389d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f529af927a0 (LWP 2507)):
[KCrash Handler]
#6  ref (this=0x654e65726f6e6751) at
/usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QSharedDataPointer (o=..., this=0x7fff580b25f0) at
/usr/include/qt4/QtCore/qshareddata.h:93
#8  assignEntityPrivate (one=..., other=<optimized out>) at
../../akonadi/entity.cpp:49
#9  0x00007f5295257934 in Akonadi::Entity::Entity (this=<optimized out>,
other=<optimized out>) at ../../akonadi/entity.cpp:56
#10 0x00007f52952c0095 in Akonadi::ConflictHandler::useLocalItem
(this=0xbff57f0) at ../../akonadi/conflicthandling/conflicthandler.cpp:102
#11 0x00007f52952c0248 in Akonadi::ConflictHandler::resolve (this=0xbff57f0) at
../../akonadi/conflicthandling/conflicthandler.cpp:85
#12 0x00007f52952c096c in Akonadi::ConflictHandler::qt_metacall
(this=0xbff57f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0xbb09e30) at ./conflicthandler_p.moc:91
#13 0x00007f529991aa5e in QObject::event (this=0xbff57f0, e=<optimized out>) at
kernel/qobject.cpp:1217
#14 0x00007f5298cb4424 in notify_helper (e=0x8f13a70, receiver=0xbff57f0,
this=0x1070420) at kernel/qapplication.cpp:4486
#15 QApplicationPrivate::notify_helper (this=0x1070420, receiver=0xbff57f0,
e=0x8f13a70) at kernel/qapplication.cpp:4458
#16 0x00007f5298cb9291 in QApplication::notify (this=0x7fff580b2ed0,
receiver=0xbff57f0, e=0x8f13a70) at kernel/qapplication.cpp:4365
#17 0x00007f529a339126 in KApplication::notify (this=0x7fff580b2ed0,
receiver=0xbff57f0, event=0x8f13a70) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f5299903afc in QCoreApplication::notifyInternal
(this=0x7fff580b2ed0, receiver=0xbff57f0, event=0x8f13a70) at
kernel/qcoreapplication.cpp:787
#19 0x00007f529990751f in sendEvent (event=0x8f13a70, receiver=0xbff57f0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x103c8e0) at kernel/qcoreapplication.cpp:1428
#21 0x00007f529992ea73 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:277
#23 0x00007f5292116a5d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f5292117258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f5292117429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f529992eed6 in QEventDispatcherGlib::processEvents (this=0x103dfd0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007f5298d5c07e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f5299902cf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f5299902ef7 in QEventLoop::exec (this=0x7fff580b2e60, flags=...) at
kernel/qeventloop.cpp:201
#30 0x00007f5299907789 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#31 0x0000000000403629 in main (argc=3, argv=0x7fff580b34f8) at
../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 283341, bug 282060, bug 282036, bug 280961,
bug 280149.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list