Bug 501269

Summary: Segfault on closing Dolphin
Product: [Applications] dolphin Reporter: postix <postix>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: NEEDSINFO WAITINGFORINFO    
Severity: crash CC: anhollander516, kfm-devel
Priority: NOR    
Version: 24.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description postix 2025-03-09 18:26:17 UTC
SUMMARY


```
dolphin[47051]: kf.kio.core.connection: Socket not connected QLocalSocket::PeerClosedError
dolphin[47051]: kf.kio.core: Connection::send() called with connection not inited
```


```
#0  0x00007f9a698dc45b in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kf6-kcrash-6.11.0-1.fc41.x86_64/src/kcrash.cpp:538
        disp = <optimized out>
        display = 0x0
        data = {<KCrash::MetadataWriter> = {_vptr.MetadataWriter = 0x7f9a698e5810 <vtable for KCrash::Metadata+16>}, argv = {_M_elems = {0x0, 0x7f9a698e370d "--qtversion", 0x555cbd04a0f0 "6.8.2", 0x7f9a698e3720 "--kdeframeworksversion", 0x7f9a698e3719 "6.11.0", 0x7f9a698e3758 "--platform", 0x555cbd2f9b70 "xcb", 0x0 <repeats 31 times>}}, argc = 7, m_writer = 0x7ffc0bfdc9f0}
        platformName = {d = {d = 0x555cbd2f9b60, ptr = 0x555cbd2f9b70 "xcb", size = 3}, static _empty = 0 '\000'}
        about = <optimized out>
        argv = <optimized out>
        ini = {<KCrash::MetadataWriter> = {_vptr.MetadataWriter = 0x7f9a698e5840 <vtable for KCrash::MetadataINIWriter+16>}, writable = true, fd = 3}
        sigtxt = "\000\000\030+\375\274\\U\000"
        pidtxt = "\000\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\360", <incomplete sequence \375\274>
        argc = <optimized out>
        crashRecursionCounter = 2
#1  0x00007f9a66e27050 in <signal handler called> () at /lib64/libc.so.6
#2  unlink_chunk (p=0x555cbdb4d830, av=<optimized out>) at malloc.c:1623
        fd = 0x555cbdb00df0
        bk = 0x555cbdbc0890
#3  0x00007f9a66e8aed3 in malloc_consolidate (av=av@entry=0x7f9a66ff6ac0 <main_arena>) at malloc.c:4876
        fb = 0x7f9a66ff6ad8 <main_arena+24>
        maxfb = 0x7f9a66ff6b18 <main_arena+88>
        p = 0x555cbdb4d7b0
        nextp = <optimized out>
        unsorted_bin = 0x7f9a66ff6b20 <main_arena+96>
        first_unsorted = <optimized out>
        nextchunk = <optimized out>
        size = 2512
        nextsize = <optimized out>
        prevsize = <optimized out>
        nextinuse = <optimized out>
#4  0x00007f9a66e8c120 in _int_free_maybe_consolidate (av=av@entry=0x7f9a66ff6ac0 <main_arena>, size=<optimized out>) at malloc.c:4779
#5  0x00007f9a66e8c43e in _int_free_maybe_consolidate (av=0x7f9a66ff6ac0 <main_arena>, size=<optimized out>) at malloc.c:4702
        heap = <optimized out>
#6  0x00007f9a66e8c7a2 in _int_free (av=0x7f9a66ff6ac0 <main_arena>, p=p@entry=0x555cbdbb2fc0, have_lock=<optimized out>, have_lock@entry=0) at malloc.c:4646
        size = <optimized out>
        fb = <optimized out>
#7  0x00007f9a66e8f00e in __GI___libc_free (mem=0x555cbdbb2fd0) at malloc.c:3398
        ar_ptr = <optimized out>
        p = 0x555cbdbb2fc0
        err = 9
#8  0x00007f9a67741ed9 in QArrayDataPointer<char>::~QArrayDataPointer (this=0x555cbdb8c628, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qarraydataops.h:96
#9  QByteArray::~QByteArray (this=0x555cbdb8c628, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/text/qbytearray.h:602
#10 std::pair<QSettingsKey const, QByteArray>::~pair (this=0x555cbdb8c610, __in_chrg=<optimized out>) at /usr/include/c++/14/bits/stl_pair.h:284
#11 std::__new_allocator<std::_Rb_tree_node<std::pair<QSettingsKey const, QByteArray> > >::destroy<std::pair<QSettingsKey const, QByteArray> > (this=<optimized out>, __p=0x555cbdb8c610)
    at /usr/include/c++/14/bits/new_allocator.h:198
#12 std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<QSettingsKey const, QByteArray> > > >::destroy<std::pair<QSettingsKey const, QByteArray> >
--Type <RET> for more, q to quit, c to continue without paging--c
    (__a=<optimized out>, __p=0x555cbdb8c610) at /usr/include/c++/14/bits/alloc_traits.h:597
#13 std::_Rb_tree<QSettingsKey, std::pair<QSettingsKey const, QByteArray>, std::_Select1st<std::pair<QSettingsKey const, QByteArray> >, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > >::_M_destroy_node (this=<optimized out>, __p=0x555cbdb8c5f0) at /usr/include/c++/14/bits/stl_tree.h:621
#14 std::_Rb_tree<QSettingsKey, std::pair<QSettingsKey const, QByteArray>, std::_Select1st<std::pair<QSettingsKey const, QByteArray> >, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > >::_M_drop_node (this=<optimized out>, __p=0x555cbdb8c5f0) at /usr/include/c++/14/bits/stl_tree.h:629
#15 std::_Rb_tree<QSettingsKey, std::pair<QSettingsKey const, QByteArray>, std::_Select1st<std::pair<QSettingsKey const, QByteArray> >, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > >::_M_erase (__x=0x555cbdb8c5f0, this=<optimized out>) at /usr/include/c++/14/bits/stl_tree.h:1934
        __y = 0x555cbdb8d020
#16 0x00007f9a67741ebb in std::_Rb_tree<QSettingsKey, std::pair<QSettingsKey const, QByteArray>, std::_Select1st<std::pair<QSettingsKey const, QByteArray> >, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > >::_M_erase (__x=0x555cbd30dc40, this=<optimized out>) at /usr/include/c++/14/bits/stl_tree.h:785
        __y = <optimized out>
#17 0x00007f9a67741ebb in std::_Rb_tree<QSettingsKey, std::pair<QSettingsKey const, QByteArray>, std::_Select1st<std::pair<QSettingsKey const, QByteArray> >, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > >::_M_erase (__x=0x555cbda0faa0, this=0x555cbdbbf818) at /usr/include/c++/14/bits/stl_tree.h:785
        __y = <optimized out>
#18 0x00007f9a6774b3fd in std::_Rb_tree<QSettingsKey, std::pair<QSettingsKey const, QByteArray>, std::_Select1st<std::pair<QSettingsKey const, QByteArray> >, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > >::~_Rb_tree (this=0x555cbdbbf818, __in_chrg=<optimized out>) at /usr/include/c++/14/bits/stl_tree.h:732
#19 std::map<QSettingsKey, QByteArray, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > >::~map (this=0x555cbdbbf818, __in_chrg=<optimized out>)
    at /usr/include/c++/14/bits/stl_map.h:314
#20 QMapData<std::map<QSettingsKey, QByteArray, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > > >::~QMapData
    (this=0x555cbdbbf810, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qmap.h:26
#21 QtPrivate::QExplicitlySharedDataPointerV2<QMapData<std::map<QSettingsKey, QByteArray, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > > > >::~QExplicitlySharedDataPointerV2 (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qshareddata_impl.h:68
#22 QtPrivate::QExplicitlySharedDataPointerV2<QMapData<std::map<QSettingsKey, QByteArray, std::less<QSettingsKey>, std::allocator<std::pair<QSettingsKey const, QByteArray> > > > >::~QExplicitlySharedDataPointerV2 (this=0x555cbdb8a078, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qshareddata_impl.h:65
#23 QMap<QSettingsKey, QByteArray>::~QMap (this=0x555cbdb8a078, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qmap.h:187
#24 QConfFile::~QConfFile (this=0x555cbdb8a050, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/io/qsettings.cpp:115
#25 0x00007f9a6774b820 in QCache<QString, QConfFile>::Value::~Value (this=0x555cbd9f0eb8, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qcache.h:35
#26 QCache<QString, QConfFile>::Node::~Node (this=0x555cbd9f0e90, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qcache.h:48
#27 QHashPrivate::Span<QCache<QString, QConfFile>::Node>::freeData (this=0x555cbd37ea18) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qhash.h:272
        o = <optimized out>
#28 QHashPrivate::Span<QCache<QString, QConfFile>::Node>::~Span (this=0x555cbd37ea18, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qhash.h:264
#29 QHashPrivate::Data<QCache<QString, QConfFile>::Node>::clear
    (this=0x7f9a67a9ad90 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_unusedCacheFunc> >::instance()::holder+16>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qhash.h:616
#30 QCache<QString, QConfFile>::clear (this=0x7f9a67a9ad80 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_unusedCacheFunc> >::instance()::holder>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qcache.h:178
#31 QCache<QString, QConfFile>::~QCache
    (this=0x7f9a67a9ad80 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_unusedCacheFunc> >::instance()::holder>, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qcache.h:150
#32 QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_unusedCacheFunc>::~Holder
    (this=0x7f9a67a9ad80 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_unusedCacheFunc> >::instance()::holder>, __in_chrg=<optimized out>)
    at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qglobalstatic.h:53
#33 0x00007f9a66e296c1 in __run_exit_handlers (status=0, listp=0x7f9a66ff6680 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        arg = <optimized out>
        f = <optimized out>
        new_exitfn_called = 3141
        cur = 0x555cbd0f13d0
        restart = <optimized out>
#34 0x00007f9a66e2978e in __GI_exit (status=<optimized out>) at exit.c:138
#35 0x00007f9a66e1024f in __libc_start_call_main (main=main@entry=0x555cac2bfe30 <main(int, char**)>, argc=argc@entry=2, argv=argv@entry=0x7ffc0bfddb98)
    at ../sysdeps/nptl/libc_start_call_main.h:74
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140720509672344, -8662775002808251478, 2, 0, 140301180805120, 93856515058488, -8662775002760016982, -8715733900872840278}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x2, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 2}}}
        not_first_call = <optimized out>
#36 0x00007f9a66e1030b in __libc_start_main_impl
    (main=0x555cac2bfe30 <main(int, char**)>, argc=2, argv=0x7ffc0bfddb98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc0bfddb88)
    at ../csu/libc-start.c:360
#37 0x0000555cac2c2f55 in _start ()
```


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Avraham Hollander 2025-03-16 00:45:24 UTC
Do you have a coredump you can upload? Please do if so.
Comment 2 Bug Janitor Service 2025-03-31 03:46:51 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

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