Bug 290793

Summary: Crash on closing Kmail
Product: [Applications] kmail2 Reporter: m.wege
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description m.wege 2012-01-06 12:49:03 UTC
Application: kmail (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-7-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: The crash occured when I closed Kmail because Kmail was not working correctly. It did not show the content of the Inbox folder (IMAP) while it was able to show the content of all other folders of that account.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f60843747a0 (LWP 29499))]

Thread 5 (Thread 0x7f607cbf8700 (LWP 29665)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003196786c2c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x319713d220) at wtf/FastMalloc.cpp:2495
#2  0x0000003196786d59 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00000030c2407efc in start_thread (arg=0x7f607cbf8700) at pthread_create.c:304
#4  0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f607c2f7700 (LWP 29666)):
#0  0x00000030c1cd5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000030c5044f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000030c5045429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00000030ca597f3e in QEventDispatcherGlib::processEvents (this=0x2231d30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00000030ca56bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000030ca56bef7 in QEventLoop::exec (this=0x7f607c2f6de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00000030ca48327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00000030ca485d05 in QThreadPrivate::start (arg=0x206ddd0) at thread/qthread_unix.cpp:331
#8  0x00000030c2407efc in start_thread (arg=0x7f607c2f7700) at pthread_create.c:304
#9  0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6033834700 (LWP 29729)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00000030c1c7e9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00000030c1c7cd71 in __GI___libc_free (mem=0x30c1f9a1c0) at malloc.c:3736
#3  0x00000030ca597665 in socketNotifierSourceCheck (source=0x3376ed0) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00000030c5044734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00000030c5044f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00000030c5045429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00000030ca597ed6 in QEventDispatcherGlib::processEvents (this=0x22474a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00000030ca56bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00000030ca56bef7 in QEventLoop::exec (this=0x7f6033833db0, flags=...) at kernel/qeventloop.cpp:201
#10 0x00000030ca48327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#11 0x00000030ca54ecbf in QInotifyFileSystemWatcherEngine::run (this=0x1e8a9d0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00000030ca485d05 in QThreadPrivate::start (arg=0x1e8a9d0) at thread/qthread_unix.cpp:331
#13 0x00000030c2407efc in start_thread (arg=0x7f6033834700) at pthread_create.c:304
#14 0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f607a7e0700 (LWP 11534)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00000030c1c7e9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00000030c1c7cd71 in __GI___libc_free (mem=0x30c1f9a1c0) at malloc.c:3736
#3  0x00000030c50404e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00000030ca597c37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2ec78c0, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00000030ca597e49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2ec78c0, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00000030ca484e34 in QThreadPrivate::finish (arg=0x31e32b0) at thread/qthread_unix.cpp:367
#7  0x00000030ca485d0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#9  QThreadPrivate::start (arg=0x31e32b0) at thread/qthread_unix.cpp:290
#10 0x00000030c2407efc in start_thread (arg=0x7f607a7e0700) at pthread_create.c:304
#11 0x00000030c1ce189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f60843747a0 (LWP 29499)):
[KCrash Handler]
#6  malloc_consolidate (av=0x30c1f9a1c0) at malloc.c:5155
#7  0x00000030c1c79659 in malloc_consolidate (av=0x30c1f9a1c0) at malloc.c:5115
#8  _int_free (av=0x30c1f9a1c0, p=<optimized out>) at malloc.c:5034
#9  0x00000030c1c7cd7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#10 0x00000030ca4a14da in QHashData::free_helper (this=0x337c510, node_delete=0x34118fc5b0 <QHash<long long, QList<Node*> >::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:271
#11 0x00000034118fe310 in freeData (x=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:568
#12 ~QHash (this=0x16695e8, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:284
#13 ~QHash (this=0x16695e8, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel_p.cpp:92
#14 Akonadi::EntityTreeModelPrivate::~EntityTreeModelPrivate (this=0x16695d0, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel_p.cpp:92
#15 0x00000034118f5911 in Akonadi::EntityTreeModel::~EntityTreeModel (this=0x16f5b80, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel.cpp:82
#16 0x00000034118f59f9 in Akonadi::EntityTreeModel::~EntityTreeModel (this=0x16f5b80, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel.cpp:83
#17 0x00000030ca57ed75 in QObjectPrivate::deleteChildren (this=0x1972980) at kernel/qobject.cpp:1955
#18 0x00000030ca584349 in QObject::~QObject (this=0x7fff4aa15400, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#19 0x00007f60853ce3ad in KMKernel::~KMKernel (this=0x7fff4aa15400, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:226
#20 0x0000000000402bee in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:128

Possible duplicates by query: bug 234468, bug 234223.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-06 17:41:06 UTC

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