Bug 442750 - Dolphin crashed when I closed one instance and immediately pressed ctrl+n
Summary: Dolphin crashed when I closed one instance and immediately pressed ctrl+n
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-20 18:29 UTC by Patrick Silva
Modified: 2023-05-08 15:48 UTC (History)
1 user (show)

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 Patrick Silva 2021-09-20 18:29:29 UTC
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<char []> = {get() = 0x0}
[New LWP 26904]
[New LWP 26897]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/dolphin'.
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 <main_arena>) at malloc.c:4500
#1  0x00007f27047c3160 in _int_free (av=0x7f2704914b80 <main_arena>, p=0x5577eaed7a40, have_lock=<optimized out>) at malloc.c:4400
#2  0x00007f2706aa9520 in KZoneAllocator::~KZoneAllocator (this=0x5577eac8e330, __in_chrg=<optimized out>) at ./src/kzoneallocator.cpp:123
#3  0x00007f2706a96d06 in QtSharedPointer::CustomDeleter<KZoneAllocator, QtSharedPointer::NormalDeleter>::execute (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:187
#4  QtSharedPointer::ExternalRefCountWithCustomDeleter<KZoneAllocator, QtSharedPointer::NormalDeleter>::deleter (self=<optimized out>) 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<KZoneAllocator>::deref (dd=0x5577eac8e390) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:458
#7  QSharedPointer<KZoneAllocator>::deref (dd=0x5577eac8e390) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:454
#8  QSharedPointer<KZoneAllocator>::deref (this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:453
#9  QSharedPointer<KZoneAllocator>::~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) 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<QByteArray, QTextCodec*>::value (akey=..., this=0x20) at ../../include/QtCore/../../src/corelib/tools/qhash.h:653
#4  QIcuCodec::codecForNameUnlocked (name=<optimized out>) 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 & (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=<optimized out>) 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=<optimized out>) 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=<optimized out>) at pthread_create.c:477
#36 0x00007f270484b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95