Bug 345517 - KMail crashes on exit
Summary: KMail crashes on exit
Status: RESOLVED DUPLICATE of bug 329496
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.14.1
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-03-25 17:18 UTC by Robert Scott
Modified: 2016-09-10 09:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Scott 2015-03-25 17:18:56 UTC
Application: kmail (4.14.1)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-4-amd64 x86_64
Distribution: Debian GNU/Linux 8.0 (jessie)

-- Information about the crash:
- What I was doing when the application crashed:
Closing KMail.
- Unusual behavior I noticed:
KMail had been continually complaining that the "KMail folders" were "broken" because it couldn't write to one of the directories. I couldn't see why it couldn't write to the directory.
- Custom settings of the application:
Had just upgraded an old kmail1 setup with disconnected imap folders.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8952207800 (LWP 6549))]

Thread 5 (Thread 0x7f892a1b1700 (LWP 6556)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f894382006f in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f89438200a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f894cd2c0a4 in start_thread (arg=0x7f892a1b1700) at pthread_create.c:309
#4  0x00007f894f47704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f88e8990700 (LWP 6559)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8943542973 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f894384f7f6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f894cd2c0a4 in start_thread (arg=0x7f88e8990700) at pthread_create.c:309
#4  0x00007f894f47704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f88e7c88700 (LWP 6560)):
#0  0x00007ffd937a3a32 in clock_gettime ()
#1  0x00007f894f483c9d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f894fd2ea05 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f894fe11789 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f88d80030d0) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00007f894fe10667 in timerSourceCheckHelper (src=0x7f88d8003070) at kernel/qeventdispatcher_glib.cpp:150
#6  0x00007f89471588c1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8947158e83 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f8947158ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f894fe10d37 in QEventDispatcherGlib::processEvents (this=0x7f88d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#10 0x00007f894fde0271 in QEventLoop::processEvents (this=this@entry=0x7f88e7c87dd0, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f894fde05d5 in QEventLoop::exec (this=this@entry=0x7f88e7c87dd0, flags=...) at kernel/qeventloop.cpp:204
#12 0x00007f894fcd4e99 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#13 0x00007f894fcd770f in QThreadPrivate::start (arg=0x2617290) at thread/qthread_unix.cpp:349
#14 0x00007f894cd2c0a4 in start_thread (arg=0x7f88e7c88700) at pthread_create.c:309
#15 0x00007f894f47704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f88e6533700 (LWP 6566)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f893a3d8dea in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f893a3d8e19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f894cd2c0a4 in start_thread (arg=0x7f88e6533700) at pthread_create.c:309
#4  0x00007f894f47704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8952207800 (LWP 6549)):
[KCrash Handler]
#6  ref (this=0xfffffffffffffff8) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QVector (v=..., this=0x3f4a990) at ../../include/QtCore/../../src/corelib/tools/qvector.h:123
#8  QVector<QVector<QPersistentModelIndexData*> >::realloc (this=this@entry=0x24fd788, asize=59957040, aalloc=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:532
#9  0x00007f894fdd699a in detach_helper (this=0x24fd788) at ../../include/QtCore/../../src/corelib/tools/qvector.h:337
#10 detach (this=0x24fd788) at ../../include/QtCore/../../src/corelib/tools/qvector.h:147
#11 data (this=0x24fd788) at ../../include/QtCore/../../src/corelib/tools/qvector.h:152
#12 operator[] (i=<optimized out>, this=0x24fd788) at ../../include/QtCore/../../src/corelib/tools/qvector.h:360
#13 QAbstractItemModelPrivate::removePersistentIndexData (this=0x24fd6f0, data=data@entry=0x2b92e10) at kernel/qabstractitemmodel.cpp:551
#14 0x00007f894fdd6cf9 in QPersistentModelIndexData::destroy (data=0x2b92e10) at kernel/qabstractitemmodel.cpp:83
#15 0x00007f8950701df5 in ~QItemSelectionRange (this=0x44e5c10, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/itemviews/qitemselectionmodel.h:58
#16 node_destruct (this=<optimized out>, to=0x3cc6d40, from=0x3cc6d40) at ../../include/QtCore/../../src/corelib/tools/qlist.h:431
#17 free (this=<optimized out>, data=0x3cc6d20) at ../../include/QtCore/../../src/corelib/tools/qlist.h:757
#18 QList<QItemSelectionRange>::~QList (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:732
#19 0x00007f895089789f in ~QItemSelection (this=0x28f65f0, __in_chrg=<optimized out>) at itemviews/qitemselectionmodel.h:231
#20 ~QItemSelectionModelPrivate (this=0x28f6560, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qitemselectionmodel_p.h:61
#21 QItemSelectionModelPrivate::~QItemSelectionModelPrivate (this=0x28f6560, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qitemselectionmodel_p.h:61
#22 0x00007f894fdfbac7 in cleanup (pointer=0x28f6560) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#23 ~QScopedPointer (this=0x28f02e8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#24 QObject::~QObject (this=0x28f02e0, __in_chrg=<optimized out>) at kernel/qobject.cpp:844
#25 0x00007f895088ea89 in QItemSelectionModel::~QItemSelectionModel (this=0x28f02e0, __in_chrg=<optimized out>) at itemviews/qitemselectionmodel.cpp:974
#26 0x00007f894fdf9248 in QObjectPrivate::deleteChildren (this=this@entry=0x2488800) at kernel/qobject.cpp:1935
#27 0x00007f8950364173 in QWidget::~QWidget (this=0x2488540, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#28 0x00007f8950f2223c in KMMainWidget::~KMMainWidget (this=0x2488540, __in_chrg=<optimized out>) at ../../kmail/kmmainwidget.cpp:385
#29 0x00007f8950f22479 in KMMainWidget::~KMMainWidget (this=0x2488540, __in_chrg=<optimized out>) at ../../kmail/kmmainwidget.cpp:390
#30 0x00007f894fdf9248 in QObjectPrivate::deleteChildren (this=this@entry=0x2486790) at kernel/qobject.cpp:1935
#31 0x00007f8950364173 in QWidget::~QWidget (this=0x20b6070, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#32 0x00007f8951ccdb36 in KMainWindow::~KMainWindow (this=0x20b6070, __in_chrg=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:467
#33 0x00007f8950edcf1b in KMMainWin::~KMMainWin (this=this@entry=0x20b6070, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:105
#34 0x00007f8950edd009 in KMMainWin::~KMMainWin (this=0x20b6070, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:109
#35 0x00007f8950eecda6 in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#36 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#37 KMKernel::closeAllKMailWindows (this=this@entry=0x7ffd9367df00) at ../../kmail/kmkernel.cpp:1278
#38 0x00007f8950eeeed2 in KMKernel::cleanup (this=this@entry=0x7ffd9367df00) at ../../kmail/kmkernel.cpp:1294
#39 0x0000000000402daa in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:148

Possible duplicates by query: bug 272453.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-10 09:13:24 UTC

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