Bug 417184 - Crash when deleting imported folder
Summary: Crash when deleting imported folder
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-05 09:46 UTC by Christophe Marin
Modified: 2022-11-02 05:06 UTC (History)
0 users

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 Christophe Marin 2020-02-05 09:46:01 UTC
Using master (a few days old):

What I did: File / import messages
and I chose "Import KMail Maildirs and Folder Structure" to import an old maildir folder.
Import went mostly fine. Just an akonadiserver crash at the end of the process, however:

After deleting the imported folders, KMail crashes:

#5  0x00007f39dd9b4aef in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1894
#6  0x00007f39dd9b4aef in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffe42cdd100, msg=msg@entry=0x7f39ddca1ea0 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:893
#7  0x00007f39dd9b3f2f in qt_assert(char const*, char const*, int) (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qlogging.h:90
#8  0x00007f39dcfd45ab in MessageList::Core::StorageModel::savePreSelectedMessage(unsigned long) (this=0x740df60, uniqueIdOfMessage=427330) at /data/kde/src/messagelib/messagelist/src/core/storagemodelbase.cpp:58
#9  0x00007f39dcfec1fd in MessageList::Core::Widget::saveCurrentSelection() (this=0x199ce90) at /data/kde/src/messagelib/messagelist/src/core/widgetbase.cpp:328
#10 0x00007f39dd028199 in MessageList::Pane::Private::setCurrentFolder(QModelIndex const&) (this=0x191cf60, etmIndex=...) at /data/kde/src/messagelib/messagelist/src/pane.cpp:490
#11 0x00007f39dd029ef7 in MessageList::Pane::setCurrentFolder(Akonadi::Collection const&, QModelIndex const&, bool, MessageList::Core::PreSelectionMode, QString const&)
    (this=0x190dce0, collection=..., etmIndex=..., preSelectionMode=MessageList::Core::PreSelectNewestCentered, overrideLabel=...) at /data/kde/src/messagelib/messagelist/src/pane.cpp:742
#12 0x00007f39defd1dba in KMMainWidget::slotShowSelectedFolderInPane() (this=0x153a1a0) at /data/kde/src/kmail/src/kmmainwidget.cpp:561
#13 0x00007f39deff9094 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KMMainWidget::*)()>::call(void (KMMainWidget::*)(), KMMainWidget*, void**)
    (f=(void (KMMainWidget::*)(class KMMainWidget * const)) 0x7f39defd1d10 <KMMainWidget::slotShowSelectedFolderInPane()>, o=0x153a1a0, arg=0x6ddf588) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#14 0x00007f39deff9008 in QtPrivate::FunctionPointer<void (KMMainWidget::*)()>::call<QtPrivate::List<>, void>(void (KMMainWidget::*)(), KMMainWidget*, void**)
    (f=(void (KMMainWidget::*)(class KMMainWidget * const)) 0x7f39defd1d10 <KMMainWidget::slotShowSelectedFolderInPane()>, o=0x153a1a0, arg=0x6ddf588) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#15 0x00007f39deff8f35 in QtPrivate::QSlotObject<void (KMMainWidget::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x8083090, r=0x153a1a0, a=0x6dd
    at /usr/include/qt5/QtCore/qobjectdefs_impl.h:414
#16 0x00007f39ddbefa79 in QObject::event(QEvent*) (this=this@entry=0x153a1a0, e=e@entry=0x6ddf540) at kernel/qobject.cpp:1339
#17 0x00007f39de70d565 in QWidget::event(QEvent*) (this=0x153a1a0, event=0x6ddf540) at kernel/qwidget.cpp:9092
#18 0x00007f39de6cacaf in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x113d000, receiver=receiver@entry=0x153a1a0, e=e@entry=0x6ddf540) at kernel/qapplication.cpp:3684
Comment 1 Justin Zobel 2022-10-03 10:37:45 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-18 04:58:10 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 3 Bug Janitor Service 2022-11-02 05:06:23 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!