<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>442750</bug_id>
          
          <creation_ts>2021-09-20 18:29:29 +0000</creation_ts>
          <short_desc>Dolphin crashed when I closed one instance and immediately pressed ctrl+n</short_desc>
          <delta_ts>2023-05-08 15:48:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Patrick Silva">bugseforuns</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>dolphin-bugs-null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2062505</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2021-09-20 18:29:29 +0000</bug_when>
    <thetext>SUMMARY
I launched two instances of Dolphin via apps launcher, closed the second one
and immediately pressed ctrl+n, then Plasma displayed a crash notification.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Graphics Platform: Wayland

Application: dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr&lt;char []&gt; = {get() = 0x0}
[New LWP 26904]
[New LWP 26897]
[Thread debugging using libthread_db enabled]
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
Core was generated by `/usr/bin/dolphin&apos;.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f26f5ffb700 (LWP 26904))]
__preamble__

[Current thread is 1 (Thread 0x7f26f5ffb700 (LWP 26904))]

Thread 2 (Thread 0x7f26ffdfb9c0 (LWP 26897)):
#0  0x00007f27047c1b56 in malloc_consolidate (av=av@entry=0x7f2704914b80 &lt;main_arena&gt;) at malloc.c:4500
#1  0x00007f27047c3160 in _int_free (av=0x7f2704914b80 &lt;main_arena&gt;, p=0x5577eaed7a40, have_lock=&lt;optimized out&gt;) at malloc.c:4400
#2  0x00007f2706aa9520 in KZoneAllocator::~KZoneAllocator (this=0x5577eac8e330, __in_chrg=&lt;optimized out&gt;) at ./src/kzoneallocator.cpp:123
#3  0x00007f2706a96d06 in QtSharedPointer::CustomDeleter&lt;KZoneAllocator, QtSharedPointer::NormalDeleter&gt;::execute (this=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:187
#4  QtSharedPointer::ExternalRefCountWithCustomDeleter&lt;KZoneAllocator, QtSharedPointer::NormalDeleter&gt;::deleter (self=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:205
#5  0x00007f2706a96d3b in QtSharedPointer::ExternalRefCountData::destroy (this=0x5577eac8e390) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:149
#6  QSharedPointer&lt;KZoneAllocator&gt;::deref (dd=0x5577eac8e390) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:458
#7  QSharedPointer&lt;KZoneAllocator&gt;::deref (dd=0x5577eac8e390) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:454
#8  QSharedPointer&lt;KZoneAllocator&gt;::deref (this=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:453
#9  QSharedPointer&lt;KZoneAllocator&gt;::~QSharedPointer (this=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:310
#10 0x00007f270477315e in __cxa_finalize (d=0x7f2706ab69f0) at cxa_finalize.c:83
#11 0x00007f2706a90937 in __do_global_dtors_aux () at /usr/include/c++/9/bits/atomic_base.h:390
#12 0x00007ffdea236a40 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f26f5ffb700 (LWP 26904)):
[KCrash Handler]
#3  QHash&lt;QByteArray, QTextCodec*&gt;::value (akey=..., this=0x20) at ../../include/QtCore/../../src/corelib/tools/qhash.h:653
#4  QIcuCodec::codecForNameUnlocked (name=&lt;optimized out&gt;) at codecs/qicucodec.cpp:499
#5  0x00007f2704e17b0d in QIcuCodec::defaultCodecUnlocked () at codecs/qicucodec.cpp:451
#6  0x00007f2704e13fda in QTextCodec::codecForLocale () at codecs/qtextcodec.cpp:719
#7  0x00007f2704c50f61 in QString::toLocal8Bit_helper (data=0x7f26e4002418, size=138) at text/qstring.cpp:5326
#8  0x00007f2706fa9e96 in QString::toLocal8Bit() const &amp; (this=0x7f26f5ff9828) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:208
#9  walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e4056ce0, dirEntry@entry=0x7f26e404d6c0, allowedRecursiveLevel=allowedRecursiveLevel@entry=1) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:70
#10 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e404d6c0, dirEntry@entry=0x7f26e4045220, allowedRecursiveLevel=allowedRecursiveLevel@entry=2) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#11 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e4045220, dirEntry@entry=0x7f26e403d2a0, allowedRecursiveLevel=allowedRecursiveLevel@entry=3) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#12 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e403d2a0, dirEntry@entry=0x7f26e4035948, allowedRecursiveLevel=allowedRecursiveLevel@entry=4) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#13 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e4035948, dirEntry@entry=0x7f26e402d330, allowedRecursiveLevel=allowedRecursiveLevel@entry=5) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#14 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e402d330, dirEntry@entry=0x7f26e4025838, allowedRecursiveLevel=allowedRecursiveLevel@entry=6) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#15 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e4025838, dirEntry@entry=0x7f26e401d2b0, allowedRecursiveLevel=allowedRecursiveLevel@entry=7) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#16 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e401d2b0, dirEntry@entry=0x7f26e40157b8, allowedRecursiveLevel=allowedRecursiveLevel@entry=8) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#17 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=countHiddenFiles@entry=false, countDirectoriesOnly=countDirectoriesOnly@entry=false, dirEntry=0x7f26e40157b8, dirEntry@entry=0x7f26e400d230, allowedRecursiveLevel=allowedRecursiveLevel@entry=9) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#18 0x00007f2706faa006 in walkDir (dirPath=..., countHiddenFiles=false, countDirectoriesOnly=false, dirEntry=0x7f26e400d230, dirEntry@entry=0x0, allowedRecursiveLevel=10) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:80
#19 0x00007f2706faa0cc in KDirectoryContentsCounterWorker::subItemsCount (path=..., options=...) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:113
#20 0x00007f2706faa0fb in KDirectoryContentsCounterWorker::countDirectoryContents (this=0x5577eb284800, path=..., options=...) at ./src/kitemviews/private/kdirectorycontentscounterworker.cpp:121
#21 0x00007f2704ddf919 in QObject::event (this=0x5577eb284800, e=0x7f26e4004780) at kernel/qobject.cpp:1314
#22 0x00007f270588ddc3 in QApplicationPrivate::notify_helper (this=this@entry=0x5577eac988b0, receiver=receiver@entry=0x5577eb284800, e=e@entry=0x7f26e4004780) at kernel/qapplication.cpp:3632
#23 0x00007f2705896bb8 in QApplication::notify (this=0x7ffdea2369f0, receiver=0x5577eb284800, e=0x7f26e4004780) at kernel/qapplication.cpp:3156
#24 0x00007f2704db1d7a in QCoreApplication::notifyInternal2 (receiver=0x5577eb284800, event=0x7f26e4004780) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#25 0x00007f2704db4681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5577eb2727d0) at kernel/qcoreapplication.cpp:1821
#26 0x00007f2704e0cf77 in postEventSourceDispatch (s=0x7f26e4004bb0) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f27028d117d in g_main_dispatch (context=0x7f26e4000c20) at ../../../glib/gmain.c:3309
#28 g_main_context_dispatch (context=context@entry=0x7f26e4000c20) at ../../../glib/gmain.c:3974
#29 0x00007f27028d1400 in g_main_context_iterate (context=context@entry=0x7f26e4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../../../glib/gmain.c:4047
#30 0x00007f27028d14a3 in g_main_context_iteration (context=0x7f26e4000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#31 0x00007f2704e0c5d2 in QEventDispatcherGlib::processEvents (this=0x7f26e4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f2704db087b in QEventLoop::exec (this=this@entry=0x7f26f5ffabe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#33 0x00007f2704bca292 in QThread::exec (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x00007f2704bcb42c in QThreadPrivate::start (arg=0x5577eb282ea0) at thread/qthread_unix.cpp:329
#35 0x00007f270334f609 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:477
#36 0x00007f270484b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>