Bug 436389 - Dolphin crashes inKIO::WidgetsAskUserActionHandler::askUserRename() while copying large amounts of data.
Summary: Dolphin crashes inKIO::WidgetsAskUserActionHandler::askUserRename() while cop...
Status: RESOLVED DUPLICATE of bug 364039
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Overwrite dialog (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-04-30 05:36 UTC by Tony
Modified: 2022-05-28 21:55 UTC (History)
7 users (show)

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


Attachments
kcrash (5.80 KB, text/plain)
2021-08-19 17:45 UTC, Nikolaj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2021-04-30 05:36:13 UTC
Application: dolphin (21.07.70)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.11.16-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.80
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I was copying ~90GB of data from and to a NTFS formated internal HDD drive.

- Custom settings of the application:

I have tuned running using "latency-performance" profile as well as vm.dirty_ratio=30
vm.dirty_background_ratio=15, otherwise i get hit with plasma getting slow as  a turtle carrying the weight of the world.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f5fe2e0ab33 in qobject_cast<QWidget*>(QObject*) (o=0x556becaff7c0) at /usr/include/qt5/QtWidgets/qwidget.h:755
#5  QtPrivate::QVariantValueHelper<QWidget*>::object(QVariant const&) (v=...) at /usr/include/qt5/QtCore/qvariant.h:753
#6  QtPrivate::ObjectInvoker<QtPrivate::QVariantValueHelper<QWidget*>, QVariant const&, QWidget*>::invoke(QVariant const&) (a=...) at /usr/include/qt5/QtCore/qvariant.h:107
#7  qvariant_cast<QWidget*>(QVariant const&) (v=...) at /usr/include/qt5/QtCore/qvariant.h:879
#8  QVariant::value<QWidget*>() const (this=0x7fffa4fb3fc0) at /usr/include/qt5/QtCore/qvariant.h:367
#9  KJobWidgets::window(KJob*) (job=<optimized out>) at /usr/src/debug/kjobwidgets-5.82.0git.20210411T122214~c5781ab-ku.3.3.x86_64/src/kjobwidgets.cpp:22
#10 0x00007f5fe2f4926c in KIO::WidgetsAskUserActionHandler::askUserRename(KJob*, QString const&, QUrl const&, QUrl const&, QFlags<KIO::RenameDialog_Option>, unsigned long long, unsigned long long, QDateTime const&, QDateTime const&, QDateTime const&, QDateTime const&) (this=0x556bed0a95e0, job=0x556becf70580, caption=..., src=..., dest=..., options=..., sizeSrc=3674735029, sizeDest=3674735029, ctimeSrc=..., ctimeDest=..., mtimeSrc=..., mtimeDest=...) at /usr/src/debug/kio-5.82.0git.20210426T150057~f33201bcb-ku.17.1.x86_64/src/widgets/widgetsaskuseractionhandler.cpp:63
#11 0x00007f5fe2ca26e1 in KIO::CopyJobPrivate::slotResultErrorCopyingFiles(KJob*) (this=<optimized out>, job=0x7fffa4fb4168) at /usr/src/debug/kio-5.82.0git.20210426T150057~f33201bcb-ku.17.1.x86_64/src/core/copyjob.cpp:1546
#12 0x00007f5fe1300c17 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffa4fb4340, r=0x556becf70580, this=0x556becf872e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false>(QObject*, int, void**) (sender=0x556bed1df320, signal_index=6, argv=argv@entry=0x7fffa4fb4340) at kernel/qobject.cpp:3886
#14 0x00007f5fe12f9f60 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x556bed1df320, m=m@entry=0x7f5fe25af640, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffa4fb4340) at kernel/qobject.cpp:3946
#15 0x00007f5fe255970c in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x556bed1df320, _t1=<optimized out>, _t1@entry=0x556bed1df320, _t2=...) at /usr/src/debug/kcoreaddons-5.82.0git.20210422T161517~583525b2-ku.5.2.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:636
#16 0x00007f5fe255e423 in KJob::finishJob(bool) (this=0x556bed1df320, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.82.0git.20210422T161517~583525b2-ku.5.2.x86_64/src/lib/jobs/kjob.cpp:94
#17 0x00007f5fe1300c17 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffa4fb4420, r=0x556bed1df320, this=0x556becf88fc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x556bece0d880, signal_index=7, argv=0x7fffa4fb4420) at kernel/qobject.cpp:3886
#19 0x00007f5fe2cc054d in KIO::SlaveInterface::dispatch(int, QByteArray const&) (this=0x556bece0d880, _cmd=104, rawdata=...) at /usr/src/debug/kio-5.82.0git.20210426T150057~f33201bcb-ku.17.1.x86_64/src/core/slaveinterface.cpp:149
#20 0x00007f5fe2cb8f49 in KIO::SlaveInterface::dispatch() (this=0x556bece0d880) at /usr/src/debug/kio-5.82.0git.20210426T150057~f33201bcb-ku.17.1.x86_64/src/core/slaveinterface.cpp:78
#21 0x00007f5fe2cc260a in KIO::Slave::gotInput() (this=0x556bece0d880) at /usr/src/debug/kio-5.82.0git.20210426T150057~f33201bcb-ku.17.1.x86_64/src/core/slave.cpp:392
#22 0x00007f5fe1300c17 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffa4fb4670, r=0x556bece0d880, this=0x556becddd0b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false>(QObject*, int, void**) (sender=0x556becbaca10, signal_index=3, argv=0x7fffa4fb4670) at kernel/qobject.cpp:3886
#24 0x00007f5fe12f6a2c in QObject::event(QEvent*) (this=0x556becbaca10, e=0x556bed63cb10) at kernel/qobject.cpp:1314
#25 0x00007f5fe1f53aff in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x556becbaca10, e=0x556bed63cb10) at kernel/qapplication.cpp:3632
#26 0x00007f5fe12ca13a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x556becbaca10, event=0x556bed63cb10) at kernel/qcoreapplication.cpp:1063
#27 0x00007f5fe12cd0b1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x556bec36eb60) at kernel/qcoreapplication.cpp:1817
#28 0x00007f5fe13226b3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=s@entry=0x556bec44a570) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f5fdee4a8b7 in g_main_dispatch (context=0x7f5fd4005000) at ../glib/gmain.c:3337
#30 g_main_context_dispatch (context=0x7f5fd4005000) at ../glib/gmain.c:4055
#31 0x00007f5fdee4ac38 in g_main_context_iterate (context=context@entry=0x7f5fd4005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#32 0x00007f5fdee4acef in g_main_context_iteration (context=0x7f5fd4005000, may_block=may_block@entry=1) at ../glib/gmain.c:4196
#33 0x00007f5fe1321d30 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x556bec45d180, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f5fe12c8b7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffa4fb4a60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#35 0x00007f5fe12d0db0 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x0000556bec06153b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-21.07.70git.20210425T063858~ccb29c603-ku.7.2.x86_64/src/main.cpp:204
[Inferior 1 (process 13176) detached]

Possible duplicates by query: bug 433252, bug 431077, bug 429973, bug 429504, bug 429344.

Reported using DrKonqi
Comment 1 Nate Graham 2021-04-30 17:47:50 UTC
#9  KJobWidgets::window(KJob*) (job=<optimized out>) at /usr/src/debug/kjobwidgets-5.82.0git.20210411T122214~c5781ab-ku.3.3.x86_64/src/kjobwidgets.cpp:22
#10 0x00007f5fe2f4926c in KIO::WidgetsAskUserActionHandler::askUserRename(KJob*, QString const&, QUrl const&, QUrl const&, QFlags<KIO::RenameDialog_Option>, unsigned long long, unsigned long long, QDateTime const&, QDateTime const&, QDateTime const&, QDateTime const&) (this=0x556bed0a95e0, job=0x556becf70580, caption=..., src=..., dest=..., options=..., sizeSrc=3674735029, sizeDest=3674735029, ctimeSrc=..., ctimeDest=..., mtimeSrc=..., mtimeDest=...) at /usr/src/debug/kio-5.82.0git.20210426T150057~f33201bcb-ku.17.1.x86_64/src/widgets/widgetsaskuseractionhandler.cpp:63
#11 0x00007f5fe2ca26e1 in KIO::CopyJobPrivate::slotResultErrorCopyingFiles(KJob*) (this=<optimized out>, job=0x7fffa4fb4168) at /usr/src/debug/kio-5.82.0git.20210426T150057~f33201bcb-ku.17.1.x86_64/src/core/copyjob.cpp:1546
Comment 2 Nikolaj 2021-08-19 17:45:57 UTC
Created attachment 140849 [details]
kcrash

My dolphin crashes when copying from webdav to a local machine.
Uploading saw a reproduction of the problem.
https://disk.yandex.ru/i/6D62TqrgvdaNug
Comment 3 Nikolaj 2021-08-19 17:46:40 UTC
(In reply to Nikolaj from comment #2)
> Created attachment 140849 [details]
> kcrash
> 
> My dolphin crashes when copying from webdav to a local machine.
> Uploading saw a reproduction of the problem.
> https://disk.yandex.ru/i/6D62TqrgvdaNug

Operating System: ALT 9.2
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.10.54-std-def-alt2 (64-bit)
Graphics Platform: X11
Processors: 6 × AMD FX(tm)-6300 Six-Core Processor
Memory: 7.7 ГиБ of RAM
Graphics Processor: GeForce GT 630/PCIe/SSE2
Comment 4 Yaroslav Sidlovsky 2021-08-19 17:49:14 UTC
I see suspicious sizeSrc (KIO::filesize_t) value in call to KIO::WidgetsAskUserActionHandler::askUserRename.
It's exactly equal to (2^64)-1.
Comment 5 Nikolaj 2021-08-19 17:52:15 UTC
(In reply to Yaroslav Sidlovsky from comment #4)
> I see suspicious sizeSrc (KIO::filesize_t) value in call to
> KIO::WidgetsAskUserActionHandler::askUserRename.
> It's exactly equal to (2^64)-1.

I will give a link to the folder that I copy from webdav.
https://disk.yandex.ru/d/xBFkgoPpnEgscg
Comment 6 postix 2022-05-28 21:55:11 UTC

*** This bug has been marked as a duplicate of bug 364039 ***