Bug 500147 - Dolphin crashed on closing somwhere around KFilePlacesItem::~KFilePlacesItem KBookmark::~KBookmark
Summary: Dolphin crashed on closing somwhere around KFilePlacesItem::~KFilePlacesItem ...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-15 21:01 UTC by postix
Modified: 2025-03-03 12:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2025-02-15 21:01:14 UTC
SUMMARY

I've closed Dolphin, when it crashed:

```
#0  0x00007f82fabff45b in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kf6-kcrash-6.11.0-1.fc41.x86_64/src/kcrash.cpp:538
#1  0x00007f82f8027050 in <signal handler called> () at /lib64/libc.so.6
#2  unlink_chunk (p=p@entry=0x5633eeb74ba0, av=0x7f82f81f6ac0 <main_arena>) at malloc.c:1623
#3  0x00007f82f808c3f6 in _int_free_merge_chunk (av=av@entry=0x7f82f81f6ac0 <main_arena>, p=0x5633eeb74ba0, size=3520) at malloc.c:4696
#4  0x00007f82f808c7a2 in _int_free (av=0x7f82f81f6ac0 <main_arena>, p=p@entry=0x5633eeb75350, have_lock=<optimized out>, have_lock@entry=0) at malloc.c:4646
#5  0x00007f82f808f00e in __GI___libc_free (mem=0x5633eeb75360) at malloc.c:3398
#6  0x00007f82fa70e918 in QHashPrivate::Span<QHashPrivate::MultiNode<QString, QDomNodePrivate*> >::freeData (this=0x5633eeb6ddf8)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qhash.h:275
#7  QHashPrivate::Span<QHashPrivate::MultiNode<QString, QDomNodePrivate*> >::~Span (this=0x5633eeb6ddf8, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qhash.h:264
#8  QHashPrivate::Data<QHashPrivate::MultiNode<QString, QDomNodePrivate*> >::~Data (this=0x5633eeb6d490, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qhash.h:777
#9  QMultiHash<QString, QDomNodePrivate*>::clear (this=0x5633eeb6ccc8) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qhash.h:1642
#10 QDomNamedNodeMapPrivate::clearMap (this=this@entry=0x5633eeb6ccc0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/xml/dom/qdom.cpp:2564
#11 0x00007f82fa70ec52 in QDomNamedNodeMapPrivate::~QDomNamedNodeMapPrivate (this=0x5633eeb6ccc0, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/xml/dom/qdom.cpp:2534
#12 QDomElementPrivate::~QDomElementPrivate (this=0x5633eeb6cc00, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/xml/dom/qdom.cpp:3891
#13 0x00007f82fa70edd5 in QDomElementPrivate::~QDomElementPrivate (this=0x5633eeb6cc00, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/xml/dom/qdom.cpp:3892
#14 0x00007f82fb0e95bb in QDomElement::~QDomElement (this=0x5633eeb71678, this=<optimized out>) at /usr/include/qt6/QtXml/qdom.h:469
#15 KBookmark::~KBookmark (this=0x5633eeb71678, this=<optimized out>) at /usr/include/KF6/KBookmarks/kbookmark.h:26
#16 KFilePlacesItem::~KFilePlacesItem (this=0x5633eeb71660, this=<optimized out>) at /usr/src/debug/kf6-kio-6.11.0-1.fc41.x86_64/src/filewidgets/kfileplacesitem.cpp:85
#17 0x00007f82fb0e9755 in KFilePlacesItem::~KFilePlacesItem (this=0x5633eeb71660, this=<optimized out>)
    at /usr/src/debug/kf6-kio-6.11.0-1.fc41.x86_64/src/filewidgets/kfileplacesitem.cpp:85
#18 0x00007f82f8751e1d in QObjectPrivate::deleteChildren (this=this@entry=0x5633ee29c720) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:2210
#19 0x00007f82f8756b14 in QObject::~QObject (this=this@entry=0x5633ee298b40, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:1138
#20 0x00007f82f896cfc4 in QAbstractItemModel::~QAbstractItemModel (this=this@entry=0x5633ee298b40, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/itemmodels/qabstractitemmodel.cpp:1727
#21 0x00007f82fb0f29b6 in KFilePlacesModel::~KFilePlacesModel (this=this@entry=0x5633ee298b40, this=<optimized out>)
    at /usr/src/debug/kf6-kio-6.11.0-1.fc41.x86_64/src/filewidgets/kfileplacesmodel.cpp:464
#22 0x00005633b792187a in DolphinPlacesModel::~DolphinPlacesModel (this=0x5633ee298b40, this=<optimized out>)
    at /usr/src/debug/dolphin-24.12.2-1.fc41.x86_64/src/dolphinplacesmodelsingleton.cpp:22
#23 DolphinPlacesModel::~DolphinPlacesModel (this=0x5633ee298b40, this=<optimized out>) at /usr/src/debug/dolphin-24.12.2-1.fc41.x86_64/src/dolphinplacesmodelsingleton.cpp:22
#24 QScopedPointerDeleter<DolphinPlacesModel>::cleanup (pointer=0x5633ee298b40) at /usr/include/qt6/QtCore/qscopedpointer.h:24
#25 QScopedPointer<DolphinPlacesModel, QScopedPointerDeleter<DolphinPlacesModel> >::~QScopedPointer (this=<optimized out>, this=<optimized out>)
    at /usr/include/qt6/QtCore/qscopedpointer.h:81
#26 DolphinPlacesModelSingleton::~DolphinPlacesModelSingleton (this=<optimized out>, this=<optimized out>)
    at /usr/src/debug/dolphin-24.12.2-1.fc41.x86_64/src/dolphinplacesmodelsingleton.h:51
#27 0x00007f82f80296c1 in __run_exit_handlers (status=0, listp=0x7f82f81f6680 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#28 0x00007f82f802978e in __GI_exit (status=<optimized out>) at exit.c:138
#29 0x00007f82f801024f in __libc_start_call_main (main=main@entry=0x5633b78f0e30 <main(int, char**)>, argc=argc@entry=2, argv=argv@entry=0x7ffd070bfca8)
    at ../sysdeps/nptl/libc_start_call_main.h:74
#30 0x00007f82f801030b in __libc_start_main_impl
    (main=0x5633b78f0e30 <main(int, char**)>, argc=2, argv=0x7ffd070bfca8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd070bfc98)
    at ../csu/libc-start.c:360
#31 0x00005633b78f3f55 in _start ()
```

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.13-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Akseli Lahtinen 2025-02-19 12:40:28 UTC
Do you remember what you were doing before closing dolphin in this case?
Comment 2 postix 2025-02-19 12:42:58 UTC
(In reply to Akseli Lahtinen from comment #1)
> Do you remember what you were doing before closing dolphin in this case?

Only roughly: I had a cryptomator vault mounted and open in a tab, opened/closed/deleted some files there. Otherwise, nothing specific.
Comment 3 Akseli Lahtinen 2025-02-19 16:38:34 UTC
(In reply to postix from comment #2)
> (In reply to Akseli Lahtinen from comment #1)
> > Do you remember what you were doing before closing dolphin in this case?
> 
> Only roughly: I had a cryptomator vault mounted and open in a tab,
> opened/closed/deleted some files there. Otherwise, nothing specific.

Thanks, do you also have any Bookmarks? You can find them in:
Dolphin hamburger menu -> More -> Go -> Bookmarks -> Edit bookmarks

Asking because the crash seems to have been somewhere in the bookmarks destructor.
Comment 4 postix 2025-02-19 16:46:56 UTC
> Thanks, do you also have any Bookmarks? You can find them in:
Yes quiet a few. None which are pointing to the mounted folder though.
Comment 5 Akseli Lahtinen 2025-02-20 09:42:55 UTC
Thanks, I will add some bookmarks myself and see if I can get the crash happen too.
Comment 6 postix 2025-02-25 11:32:39 UTC
Yeah just happened again, now w/o any mount. Just opened Dolphin and closed it.
Comment 7 Akseli Lahtinen 2025-03-03 12:18:52 UTC
Can you tell me how many bookmarks do you have?
Comment 8 postix 2025-03-03 12:34:22 UTC
Currently three: 

* /home/$user/Downloads
* /run/media/$user/$id1
* /run/media/$user/$id2/foo

The last two are volatile usb drives. I think I had created these bookmarks by accident once.