[dolphin] [Bug 474521] New: Dolphin crashes when overwriting file

Trần Nam Tuấn bugzilla_noreply at kde.org
Thu Sep 14 13:31:12 BST 2023


https://bugs.kde.org/show_bug.cgi?id=474521

            Bug ID: 474521
           Summary: Dolphin crashes when overwriting file
    Classification: Applications
           Product: dolphin
           Version: 23.08.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: tuantran1632001 at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

Application: dolphin (23.08.0)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.3-273-tkg-bore x86_64
Windowing System: X11
Distribution: EndeavourOS
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
Dolphin crashed when ever I attempted to overwrite a file, either by moving or
copying. Normal copying and moving without overwriting is fine, however.

Note: This is on EndeavourOS, which is Arch-based. I could not find the distro
in the "distribution method" so I chose the closest one.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  QString::QString(QString const&) (other=<error reading variable: Cannot
access memory at address 0x8>, this=0x7fa949b7a980, this=<optimized out>,
other=<optimized out>) at /usr/include/qt/QtCore/qstring.h:1093
#5  KMountPoint::mountType() const (this=0x0) at
/usr/src/debug/kio/kio-5.110.0/src/core/kmountpoint.cpp:411
#6  0x00007fa953f6287d in isOnCifsMount (filePath=...) at
/usr/include/qt/QtCore/qshareddata.h:161
#7  FileProtocol::copy(QUrl const&, QUrl const&, int, QFlags<KIO::JobFlag>)
(this=0x7fa9300012d0, srcUrl=..., destUrl=<optimized out>, _mode=420,
_flags=...) at
/usr/src/debug/kio/kio-5.110.0/src/ioslaves/file/file_unix.cpp:743
#8  0x00007fa9685be8db in KIO::SlaveBase::dispatch(int, QByteArray const&)
(this=0x7fa9300012e0, command=<optimized out>, data=...) at
/usr/src/debug/kio/kio-5.110.0/src/core/slavebase.cpp:1364
#9  0x00007fa9685b720e in KIO::SlaveBase::dispatchLoop() (this=0x7fa9300012e0)
at /usr/src/debug/kio/kio-5.110.0/src/core/slavebase.cpp:342
#10 0x00007fa968637e87 in KIO::WorkerThread::run() (this=0x56087657bcd0) at
/usr/src/debug/kio/kio-5.110.0/src/core/workerthread.cpp:62
#11 0x00007fa9666f35da in operator() (__closure=<optimized out>) at
thread/qthread_unix.cpp:350
#12 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at thread/qthread_unix.cpp:287
#13 QThreadPrivate::start(void*) (arg=0x56087657bcd0) at
thread/qthread_unix.cpp:310
#14 0x00007fa965e8c9eb in  () at /usr/lib/libc.so.6
#15 0x00007fa965f10dfc in  () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fa94a3fc6c0 (LWP 27551) "KDirectoryConte"):
#1  0x00007fa96476c206 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fa96470c112 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#3  0x00007fa9668eb53f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fa92c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa96689b404 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa94a3fbcc0,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007fa9666f73b6 in QThread::exec() (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa9666f35da in operator() (__closure=<optimized out>) at
thread/qthread_unix.cpp:350
#7  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at thread/qthread_unix.cpp:287
#8  QThreadPrivate::start(void*) (arg=0x5608764552e0) at
thread/qthread_unix.cpp:310
#9  0x00007fa965e8c9eb in  () at /usr/lib/libc.so.6
#10 0x00007fa965f10dfc in  () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fa9509ff6c0 (LWP 27546) "dolphin"):
#1  0x00007fa9645076f9 in usbmuxd_listen_inotify () at
/usr/src/debug/libusbmuxd/libusbmuxd-2.0.2/src/libusbmuxd.c:923
#2  0x00007fa9645083cc in usbmuxd_listen () at
/usr/src/debug/libusbmuxd/libusbmuxd-2.0.2/src/libusbmuxd.c:979
#3  device_monitor (data=<optimized out>) at
/usr/src/debug/libusbmuxd/libusbmuxd-2.0.2/src/libusbmuxd.c:1107
#4  0x00007fa965e8c9eb in  () at /usr/lib/libc.so.6
#5  0x00007fa965f10dfc in  () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fa96098b6c0 (LWP 27544) "QDBusConnection"):
#1  0x00007fa96476c206 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fa96470c112 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#3  0x00007fa9668eb51c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fa95c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fa96689b404 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa96098ac90,
flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007fa9666f73b6 in QThread::exec() (this=this at entry=0x7fa967d14660
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fa967caca9a in QDBusConnectionManager::run() (this=0x7fa967d14660
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179
#7  0x00007fa9666f35da in operator() (__closure=<optimized out>) at
thread/qthread_unix.cpp:350
#8  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=<optimized out>) at thread/qthread_unix.cpp:287
#9  QThreadPrivate::start(void*) (arg=0x7fa967d14660 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:310
#10 0x00007fa965e8c9eb in  () at /usr/lib/libc.so.6
#11 0x00007fa965f10dfc in  () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fa960e99040 (LWP 27542) "dolphin"):
#1  0x00007fa9666ef97c in QtLinuxFutex::_q_futex(int*, int, int, unsigned long
long, int*, int) (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0,
addr=<optimized out>, addr=<optimized out>, op=<optimized out>, val=<optimized
out>, val2=<optimized out>, addr2=<optimized out>, val3=<optimized out>) at
thread/qfutex_p.h:114
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int>
>(QBasicAtomicInteger<unsigned int>&, QBasicAtomicInteger<unsigned int>::Type)
(expectedValue=<optimized out>, futex=<optimized out>) at thread/qfutex_p.h:133
#3  futexSemaphoreTryAcquire_loop<false>(QBasicAtomicInteger<unsigned long
long>&, unsigned long long, unsigned long long, int) (timeout=-1,
nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false>(QBasicAtomicInteger<unsigned long long>&,
int, int) (timeout=-1, n=<optimized out>, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire(int) (this=0x7ffcebc23be0, n=<optimized out>) at
thread/qsemaphore.cpp:326
#6  0x00007fa9668d1746 in doActivate<false>(QObject*, int, void**)
(sender=0x560876a52430, signal_index=0, argv=0x7ffcebc23c60) at
kernel/qobject.cpp:3906
#7  0x00007fa9668d1a34 in QObject::destroyed(QObject*) (this=<optimized out>,
_t1=<optimized out>) at .moc/moc_qobject.cpp:219
#8  0x00007fa9668c7b4c in QObject::~QObject() (this=0x560876a52430,
this=<optimized out>) at kernel/qobject.cpp:1010
#9  0x00007fa967cf1a5e in QDBusServiceWatcher::~QDBusServiceWatcher()
(this=0x560876a52430, this=<optimized out>) at
/usr/src/debug/qt5-base/qtbase/src/dbus/qdbusservicewatcher.cpp:260
#10 0x00007fa9668c73bd in QObjectPrivate::deleteChildren()
(this=this at entry=0x5608769d79c0) at kernel/qobject.cpp:2137
#11 0x00007fa9668c7b39 in QObject::~QObject() (this=this at entry=0x5608767f2ce0,
this=<optimized out>) at kernel/qobject.cpp:1115
#12 0x00007fa967cc2468 in
QDBusAbstractInterfaceBase::~QDBusAbstractInterfaceBase() (this=0x5608767f2ce0,
this=<optimized out>) at
/usr/src/debug/qt5-base/qtbase/src/dbus/qdbusabstractinterface.h:68
#13 0x00007fa968733d67 in
OrgKdeJobViewServerV2Interface::~OrgKdeJobViewServerV2Interface()
(this=0x5608767f2ce0, this=<optimized out>) at
/usr/src/debug/kjobwidgets/build/src/jobviewserverv2interface.cpp:25
#14 OrgKdeJobViewServerV2Interface::~OrgKdeJobViewServerV2Interface()
(this=0x5608767f2ce0, this=<optimized out>) at
/usr/src/debug/kjobwidgets/build/src/jobviewserverv2interface.cpp:25
#15
std::default_delete<OrgKdeJobViewServerV2Interface>::operator()(OrgKdeJobViewServerV2Interface*)
const (__ptr=0x5608767f2ce0, this=<optimized out>) at
/usr/include/c++/13.2.1/bits/unique_ptr.h:99
#16 std::unique_ptr<OrgKdeJobViewServerV2Interface,
std::default_delete<OrgKdeJobViewServerV2Interface> >::~unique_ptr()
(this=0x7fa96874a070
<_ZZN12_GLOBAL__N_117Q_QGS_serverProxy13innerFunctionEvE6holder.lto_priv.1+16>,
this=<optimized out>) at /usr/include/c++/13.2.1/bits/unique_ptr.h:404
#17 KSharedUiServerV2Proxy::~KSharedUiServerV2Proxy() (this=0x7fa96874a060
<_ZZN12_GLOBAL__N_117Q_QGS_serverProxy13innerFunctionEvE6holder.lto_priv.1>,
this=<optimized out>) at
/usr/src/debug/kjobwidgets/kjobwidgets-5.110.0/src/kuiserverv2jobtracker.cpp:416
#18 0x00007fa968733dad in (anonymous
namespace)::Q_QGS_serverProxy::innerFunction()::Holder::~Holder() [clone
.lto_priv.1] () at
/usr/src/debug/kjobwidgets/kjobwidgets-5.110.0/src/kuiserverv2jobtracker.cpp:25
#19 0x00007fa965e40cc6 in  () at /usr/lib/libc.so.6
#20 0x00007fa965e40e10 in  () at /usr/lib/libc.so.6
#21 0x00007fa960d64066 in
QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x560875b47e90, flags=...) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1047
#22 0x00007fa960d943d8 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=<optimized out>) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:103
#23 0x00007fa96470df19 in  () at /usr/lib/libglib-2.0.so.0
#24 0x00007fa96476c2b7 in  () at /usr/lib/libglib-2.0.so.0
#25 0x00007fa96470c112 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#26 0x00007fa9668eb51c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x560875bfe860, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007fa96689b404 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7ffcebc24190, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x00007fa96689c8a3 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x00007fa966d3bef2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#30 0x00007fa967576cda in QApplication::exec() () at
kernel/qapplication.cpp:2832
#31 0x00005608740f0db8 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/dolphin/dolphin-23.08.0/src/main.cpp:255
[Inferior 1 (process 27542) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list