Bug 457286 - Krusader sometimes crashes when copying files
Summary: Krusader sometimes crashes when copying files
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-29 23:05 UTC by Ben
Modified: 2022-08-14 08:27 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (3.18 KB, text/plain)
2022-08-11 16:19 UTC, Ben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2022-07-29 23:05:18 UTC
Application: krusader (2.7.2 "Peace of Mind")

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.18.11-1-default x86_64
Windowing System: Wayland
Distribution: openSUSE Tumbleweed
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
Sometimes when you copy files from one oane to another, Krusader crashes

In this case i was copying files from my /home folder (BTRFS) to my BTRFS pattition on my 64 GB Flash drive



ORIGINAL BUG REPORT:

https://bugs.kde.org/show_bug.cgi?id=448647#add_comment

The crash can be reproduced sometimes.

-- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault

[KCrash Handler]
#4  QAbstractScrollArea::viewport() const (this=0x0) at widgets/qabstractscrollarea.cpp:556
#5  0x0000561930912577 in KrViewItem::redraw() (this=0x5619332c2e70) at /usr/src/debug/krusader-2.7.2-2.1.x86_64/krusader/Panel/PanelView/krviewitem.cpp:144
#6  0x00005619308e0b55 in KrPreviewJob::slotGotPreview(KFileItem const&, QPixmap const&) (this=0x561932f97fa0, item=<optimized out>, preview=<optimized out>) at /usr/src/debug/krusader-2.7.2-2.1.x86_64/krusader/Panel/krpreviewjob.cpp:89
#7  0x00005619308cddcc in KrPreviewJob::slotFailed(KFileItem const&) (item=..., this=0x561932f97fa0) at /usr/src/debug/krusader-2.7.2-2.1.x86_64/krusader/Panel/krpreviewjob.cpp:77
#8  KrPreviewJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x561932f97fa0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/krusader-2.7.2-2.1.x86_64/build/krusader/Panel/Panel_autogen/EWIEGA46WW/moc_krpreviewjob.cpp:91
#9  0x00007fed66540e9c in doActivate<false>(QObject*, int, void**) (sender=0x5619336ce440, signal_index=26, argv=0x7ffedcf8b650) at kernel/qobject.cpp:3898
#10 0x00007fed6653a22f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7fed67ff6980 <KIO::PreviewJob::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffedcf8b650) at kernel/qobject.cpp:3946
#11 0x00007fed67f58b25 in KIO::PreviewJob::failed(KFileItem const&) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kio-5.96.0-1.1.x86_64/build/src/widgets/KF5KIOWidgets_autogen/include/moc_previewjob.cpp:205
#12 0x00007fed67f53b63 in KIO::PreviewJobPrivate::determineNextFile() (this=0x561933700a00) at /usr/src/debug/kio-5.96.0-1.1.x86_64/src/widgets/previewjob.cpp:537
#13 0x00007fed66540e6f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffedcf8b7a0, r=0x5619336ce440, this=0x5619337fbd90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false>(QObject*, int, void**) (sender=0x5619335da4d0, signal_index=6, argv=0x7ffedcf8b7a0) at kernel/qobject.cpp:3886
#15 0x00007fed6653a22f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5619335da4d0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffedcf8b7a0) at kernel/qobject.cpp:3946
#16 0x00007fed6787b615 in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x5619335da4d0, _t1=<optimized out>, _t1@entry=0x5619335da4d0, _t2=...) at /usr/src/debug/kcoreaddons-5.96.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#17 0x00007fed6787f7cb in KJob::finishJob(bool) (this=0x5619335da4d0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.96.0-1.1.x86_64/src/lib/jobs/kjob.cpp:98
#18 0x00007fed66540e6f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffedcf8b8c0, r=0x5619335da4d0, this=0x5619336f0c90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false>(QObject*, int, void**) (sender=0x561931fc1be0, signal_index=5, argv=0x7ffedcf8b8c0) at kernel/qobject.cpp:3886
#20 0x00007fed6653a22f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x561931fc1be0, m=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffedcf8b8c0) at kernel/qobject.cpp:3946
#21 0x00007fed67b20f16 in KIO::SlaveInterface::error(int, QString const&) (this=this@entry=0x561931fc1be0, _t1=<optimized out>, _t2=...) at /usr/src/debug/kio-5.96.0-1.1.x86_64/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:452
#22 0x00007fed67b25cf8 in KIO::SlaveInterface::dispatch(int, QByteArray const&) (this=0x561931fc1be0, _cmd=102, rawdata=...) at /usr/src/debug/kio-5.96.0-1.1.x86_64/src/core/slaveinterface.cpp:181
#23 0x00007fed67b20dc6 in KIO::SlaveInterface::dispatch() (this=0x561931fc1be0) at /usr/src/debug/kio-5.96.0-1.1.x86_64/src/core/slaveinterface.cpp:78
#24 0x00007fed67b23369 in KIO::Slave::gotInput() (this=0x561931fc1be0) at /usr/src/debug/kio-5.96.0-1.1.x86_64/src/core/slave.cpp:346
#25 0x00007fed66540e6f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffedcf8bad0, r=0x561931fc1be0, this=0x561933424a20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#26 doActivate<false>(QObject*, int, void**) (sender=0x5619329d8420, signal_index=3, argv=0x7ffedcf8bad0) at kernel/qobject.cpp:3886
#27 0x00007fed66535760 in QObject::event(QEvent*) (this=0x5619329d8420, e=0x7fed54008540) at kernel/qobject.cpp:1314
#28 0x00007fed670ec41e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5619329d8420, e=0x7fed54008540) at kernel/qapplication.cpp:3637
#29 0x00007fed66509fb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5619329d8420, event=0x7fed54008540) at kernel/qcoreapplication.cpp:1064
#30 0x00007fed6650cf51 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x561931b1aa30) at kernel/qcoreapplication.cpp:1821
#31 0x00007fed66561c53 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x561931b8c830) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007fed64ab1ea0 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#33 0x00007fed64ab2258 in  () at /lib64/libglib-2.0.so.0
#34 0x00007fed64ab22ec in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#35 0x00007fed66561456 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x561931b92ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007fed66508a2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffedcf8bec0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x00007fed66510b96 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x00005619308b043c in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/krusader-2.7.2-2.1.x86_64/krusader/main.cpp:316
[Inferior 1 (process 31775) detached]

The reporter indicates this bug may be a duplicate of or related to bug 310834.

Reported using DrKonqi
Comment 1 Ben 2022-08-11 16:19:19 UTC
Created attachment 151256 [details]
New crash information added by DrKonqi

krusader (2.7.2 "Peace of Mind") using Qt 5.15.5

I was copying files form my BTRFS 64 GB Flash drive to my exFAT formatted USB HDD
After approxx half way through - Krusader crashed with Dr Konqi

-- Backtrace (Reduced):
#4  0x00007fb8cb456530 in QAbstractScrollArea::viewport() const () at /lib64/libQt5Widgets.so.5
#5  0x000055c169c55577 in KrViewItem::redraw() (this=0x55c16d2a75c0) at /usr/src/debug/krusader-2.7.2-2.1.x86_64/krusader/Panel/PanelView/krviewitem.cpp:144
#6  0x000055c169c23b55 in KrPreviewJob::slotGotPreview(KFileItem const&, QPixmap const&) (this=0x55c16cfa76e0, item=<optimized out>, preview=<optimized out>) at /usr/src/debug/krusader-2.7.2-2.1.x86_64/krusader/Panel/krpreviewjob.cpp:89
[...]
#8  0x00007fb8cc1d3ac7 in KIO::PreviewJob::gotPreview(KFileItem const&, QPixmap const&) () at /lib64/libKF5KIOWidgets.so.5
[...]
#12 0x00007fb8cbdb57e4 in KIO::TransferJob::data(KIO::Job*, QByteArray const&) () at /lib64/libKF5KIOCore.so.5