Bug 336868 - crash on deleting mixed-maildir ressource folder
Summary: crash on deleting mixed-maildir ressource folder
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mixed Maildir resource (show other bugs)
Version: GIT (master)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-29 13:12 UTC by Christoph Thielecke
Modified: 2018-12-01 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.34 KB, text/plain)
2016-05-07 12:28 UTC, Antonio García
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Thielecke 2014-06-29 13:12:21 UTC
Application: kmail (4.13.2)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-30-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
I have a bigger mixed maildir ressource (~1.8G) and deleted some folders. Mostly this wiorks but on latest one I deleted I got a crash.

-- 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 0x7f821880f800 (LWP 5422))]

Thread 7 (Thread 0x7f81ef47d700 (LWP 5425)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f820a10f81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f820a10f859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f821342f182 in start_thread (arg=0x7f81ef47d700) at pthread_create.c:312
#4  0x00007f8215b6e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f81ae2eb700 (LWP 5426)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8209e5020d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f820a13efd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f821342f182 in start_thread (arg=0x7f81ae2eb700) at pthread_create.c:312
#4  0x00007f8215b6e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f81ad382700 (LWP 5429)):
#0  0x00007f8215b60fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f820dbf0fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f820dbf10ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f82164fd7be in QEventDispatcherGlib::processEvents (this=0x7f81a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f82164cf0af in QEventLoop::processEvents (this=this@entry=0x7f81ad381de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f82164cf3a5 in QEventLoop::exec (this=this@entry=0x7f81ad381de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f82163cbc5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#7  0x00007f82163ce32f in QThreadPrivate::start (arg=0x169d340) at thread/qthread_unix.cpp:349
#8  0x00007f821342f182 in start_thread (arg=0x7f81ad382700) at pthread_create.c:312
#9  0x00007f8215b6e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f81a734e700 (LWP 5430)):
#0  0x00007f8215b5f6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f820dc31c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f820dbf0b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f820dbf0f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f820dbf10ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f82164fd7be in QEventDispatcherGlib::processEvents (this=0x7f819c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f82164cf0af in QEventLoop::processEvents (this=this@entry=0x7f81a734dda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f82164cf3a5 in QEventLoop::exec (this=this@entry=0x7f81a734dda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f82163cbc5f in QThread::exec (this=this@entry=0x199bd70) at thread/qthread.cpp:537
#9  0x00007f82164b0823 in QInotifyFileSystemWatcherEngine::run (this=0x199bd70) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f82163ce32f in QThreadPrivate::start (arg=0x199bd70) at thread/qthread_unix.cpp:349
#11 0x00007f821342f182 in start_thread (arg=0x7f81a734e700) at pthread_create.c:312
#12 0x00007f8215b6e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f8197975700 (LWP 8005)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f820005bffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f820005c039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f821342f182 in start_thread (arg=0x7f8197975700) at pthread_create.c:312
#4  0x00007f8215b6e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f81958ed700 (LWP 8561)):
#0  0x00007f8215b5f6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f820dc31c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f820dbf0b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f820dbf0f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f820dbf10ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f82164fd7be in QEventDispatcherGlib::processEvents (this=0x7f8108005690, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f82164cf0af in QEventLoop::processEvents (this=this@entry=0x7f81958ecda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f82164cf3a5 in QEventLoop::exec (this=this@entry=0x7f81958ecda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f82163cbc5f in QThread::exec (this=this@entry=0x8c8e1f0) at thread/qthread.cpp:537
#9  0x00007f82164b0823 in QInotifyFileSystemWatcherEngine::run (this=0x8c8e1f0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f82163ce32f in QThreadPrivate::start (arg=0x8c8e1f0) at thread/qthread_unix.cpp:349
#11 0x00007f821342f182 in start_thread (arg=0x7f81958ed700) at pthread_create.c:312
#12 0x00007f8215b6e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f821880f800 (LWP 5422)):
[KCrash Handler]
#6  QSharedDataPointer (o=..., this=0x7fff0d531290) at /usr/include/qt4/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at ../../akonadi/entity.cpp:49
#8  0x00007f82124846c5 in Akonadi::Entity::Entity (this=0x7fff0d5312f0, other=...) at ../../akonadi/entity.cpp:55
#9  0x00007f82113219dd in MailCommon::FolderCollection::collection (this=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:151
#10 0x00007f82175bae28 in KMMainWidget::slotMessageSelected (this=0xb7dba0, item=...) at ../../kmail/kmmainwidget.cpp:4466
#11 0x00007f82176a1595 in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:378
#12 0x00007f82164e487a in QMetaObject::activate (sender=0x124ddc0, m=m@entry=0x7f8211c4c820 <MessageList::Pane::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0d531480) at kernel/qobject.cpp:3539
#13 0x00007f8211a0df52 in MessageList::Pane::messageSelected (this=<optimized out>, _t1=...) at ./moc_pane.cpp:165
#14 0x00007f82164e487a in QMetaObject::activate (sender=sender@entry=0x12236d0, m=m@entry=0x7f8211c4e7a0 <MessageList::Widget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0d5315a0) at kernel/qobject.cpp:3539
#15 0x00007f8211a1f662 in MessageList::Widget::messageSelected (this=this@entry=0x12236d0, _t1=...) at moc_widget.cpp:120
#16 0x00007f8211a1600e in MessageList::Widget::viewMessageSelected (this=0x12236d0, msg=<optimized out>) at ../../messagelist/widget.cpp:270
#17 0x00007f82119f0380 in MessageList::Core::View::slotSelectionChanged (this=0x13825c0) at ../../messagelist/core/view.cpp:1964
#18 0x00007f82164e487a in QMetaObject::activate (sender=sender@entry=0x1396e60, m=m@entry=0x7f82174c8fc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0d531760) at kernel/qobject.cpp:3539
#19 0x00007f8216f4a857 in QItemSelectionModel::selectionChanged (this=this@entry=0x1396e60, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#20 0x00007f8216f4feb1 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x1396e60, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#21 0x00007f8216f50683 in QItemSelectionModel::select (this=0x1396e60, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#22 0x00007f8216f4b6c8 in QItemSelectionModel::select (this=this@entry=0x1396e60, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#23 0x00007f8216f4aa87 in QItemSelectionModel::setCurrentIndex (this=0x1396e60, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#24 0x00007f82119f00d9 in MessageList::Core::View::setCurrentMessageItem (this=0x13825c0, it=0x82d4de0, center=center@entry=true) at ../../messagelist/core/view.cpp:890
#25 0x00007f82119d1ed8 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x13950d0) at ../../messagelist/core/model.cpp:3970
#26 0x00007f82164e487a in QMetaObject::activate (sender=0x1395108, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#27 0x00007f82164e8a31 in QObject::event (this=0x1395108, e=<optimized out>) at kernel/qobject.cpp:1156
#28 0x00007f8216a01e2c in QApplicationPrivate::notify_helper (this=this@entry=0xb7e770, receiver=receiver@entry=0x1395108, e=e@entry=0x7fff0d531ff0) at kernel/qapplication.cpp:4567
#29 0x00007f8216a084a0 in QApplication::notify (this=this@entry=0x7fff0d532610, receiver=receiver@entry=0x1395108, e=e@entry=0x7fff0d531ff0) at kernel/qapplication.cpp:4353
#30 0x00007f821823cd1a in KApplication::notify (this=0x7fff0d532610, receiver=0x1395108, event=0x7fff0d531ff0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f82164d04dd in QCoreApplication::notifyInternal (this=0x7fff0d532610, receiver=0x1395108, event=0x7fff0d531ff0) at kernel/qcoreapplication.cpp:953
#32 0x00007f8216500323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QTimerInfoList::activateTimers (this=0xb5fa10) at kernel/qeventdispatcher_unix.cpp:621
#34 0x00007f82164fd5f1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#35 0x00007f820dbf0e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f820dbf1048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f820dbf10ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f82164fd7a1 in QEventDispatcherGlib::processEvents (this=0xaaab20, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#39 0x00007f8216aa3bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f82164cf0af in QEventLoop::processEvents (this=this@entry=0x7fff0d532260, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f82164cf3a5 in QEventLoop::exec (this=this@entry=0x7fff0d532260, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f82164d4b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#43 0x00007f8216a0037c in QApplication::exec () at kernel/qapplication.cpp:3828
#44 0x0000000000402d18 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146

Possible duplicates by query: bug 331678, bug 331499, bug 329805, bug 327704, bug 325911.

Reported using DrKonqi
Comment 1 Antonio García 2016-05-07 12:28:14 UTC
Created attachment 98829 [details]
New crash information added by DrKonqi

kmail (4.14.5) on KDE Platform 4.14.5 using Qt 4.8.6

- What I was doing when the application crashed:
I was deleting an imported folder when Kmail crashed.

-- Backtrace (Reduced):
#5  0x00007f8fd529ce55 in assignEntityPrivate(QSharedDataPointer<Akonadi::EntityPrivate>&, QSharedDataPointer<Akonadi::EntityPrivate> const&) () at /lib64/libakonadi-kde.so.4
#6  0x00007f8fd529cf55 in Akonadi::Entity::Entity(Akonadi::Entity const&) () at /lib64/libakonadi-kde.so.4
#7  0x00007f8fd40bf87d in MailCommon::FolderCollection::collection() const () at /lib64/libmailcommon.so.4
#8  0x00007f8fda6b0837 in RemoveCollectionJob::slotDelayedRemoveFolder(KJob*) () at /lib64/libkmailprivate.so.4
[...]
#10 0x00007f8fdad59b52 in KJob::result(KJob*) () at /lib64/libkdecore.so.5
Comment 2 Andrew Crouthamel 2018-11-01 13:50:54 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-16 11:33:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-12-01 03:47:52 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!