Bug 448647

Summary: Krusader sometimes crashes when copying or moving files
Product: [Applications] krusader Reporter: Ben <globalunity>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: REOPENED ---    
Severity: crash CC: davide, globalunity, kde, krusader-bugs-null, rayw, wolfgang.kubuntu, zawertun
Priority: NOR Keywords: drkonqi
Version: 2.8.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Ben 2022-01-17 10:12:03 UTC
Application: krusader (2.7.2 "Peace of Mind")

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.0-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.23.5 [KCrashBackend]

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

INFO:

1 single file and 1 single folder were being copied from the /home downloads folder to an External USB NTFS partition HDD drive
Using KDE Plasma under Wayland


KDE INFO:

Operating System: openSUSE Tumbleweed 20220114
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.0-1-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD PITCAIRN

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x000055a3cc82a8dc in KrViewItem::itemRect (this=0x55a3cf5e2d60, this=0x55a3cf5e2d60) at /usr/src/debug/krusader-2.7.2-1.16.x86_64/krusader/Panel/PanelView/krviewitem.cpp:140
#7  KrPreviewJob::sort (this=<optimized out>) at /usr/src/debug/krusader-2.7.2-1.16.x86_64/krusader/Panel/krpreviewjob.cpp:142
#8  KrPreviewJob::slotStartJob (this=0x55a3cf5d5d60) at /usr/src/debug/krusader-2.7.2-1.16.x86_64/krusader/Panel/krpreviewjob.cpp:101
#9  KrPreviewJob::qt_static_metacall (_o=0x55a3cf5d5d60, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/krusader-2.7.2-1.16.x86_64/build/krusader/Panel/Panel_autogen/EWIEGA46WW/moc_krpreviewjob.cpp:88
#10 0x00007f5feb492458 in doActivate<false> (sender=0x55a3cf5d5d90, signal_index=3, argv=0x7ffedcc4b770) at kernel/qobject.cpp:3898
#11 0x00007f5feb48b8ef in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f5feb731c00, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffedcc4b770) at kernel/qobject.cpp:3946
#12 0x00007f5feb4962da in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#13 0x00007f5feb4882ef in QObject::event (this=0x55a3cf5d5d90, e=0x7ffedcc4b8f0) at kernel/qobject.cpp:1336
#14 0x00007f5fec03aa7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a3cf5d5d90, e=0x7ffedcc4b8f0) at kernel/qapplication.cpp:3632
#15 0x00007f5feb45bdba in QCoreApplication::notifyInternal2 (receiver=0x55a3cf5d5d90, event=0x7ffedcc4b8f0) at kernel/qcoreapplication.cpp:1064
#16 0x00007f5feb4b263b in QTimerInfoList::activateTimers (this=this@entry=0x55a3ce95a680) at kernel/qtimerinfo_unix.cpp:643
#17 0x00007f5feb4b2ed4 in timerSourceDispatch (source=source@entry=0x55a3ce95a620) at kernel/qeventdispatcher_glib.cpp:183
#18 0x00007f5fe9a3bd9f in g_main_dispatch (context=0x55a3ce966930) at ../glib/gmain.c:3381
#19 g_main_context_dispatch (context=0x55a3ce966930) at ../glib/gmain.c:4099
#20 0x00007f5fe9a3c128 in g_main_context_iterate (context=context@entry=0x55a3ce966930, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#21 0x00007f5fe9a3c1df in g_main_context_iteration (context=0x55a3ce966930, may_block=1) at ../glib/gmain.c:4240
#22 0x00007f5feb4b3294 in QEventDispatcherGlib::processEvents (this=0x55a3ce98bb60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007f5feb45a7bb in QEventLoop::exec (this=this@entry=0x7ffedcc4bb30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007f5feb462aa0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00007f5feb8ac23c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#26 0x00007f5fec03a9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#27 0x000055a3cc80dd22 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/krusader-2.7.2-1.16.x86_64/krusader/main.cpp:316
[Inferior 1 (process 12559) detached]

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

Possible duplicates by query: bug 425528, bug 414332, bug 284202, bug 256794.

Reported using DrKonqi
Comment 1 Ray Warnatsch 2022-01-24 00:33:36 UTC
I also had this happen moving directories and sub-directories from one zfs filesystem into another zfs filesystem.  Moving files in the same zfs filesystem seems to not be an issue.
Hardware: AMD Ryzen 5900x with RX 6900XT
Arch Linux Kernel: 5.16.2
zfs-linux 2.1.2_5.16.2.arch1.1-1
Gnome 41/wayland 1.20.0-1 
qt5-base 5.15.2+kde+r294-1 & qt5-wayland 5.15.2+kde+r44-1
Krusader started with: -platform wayland

The resutls are that all the nested directories are created, but it seems none of the files are moved.  Trying again results in a crash after a couple of write into messages replied to.  
Unfortunately not on KDE I have no trace and don't know how to get it to happen.  I did run krusader from the command line (after directories already created) and I got these messages I don't normally see:
wl_surface@47: error 4: Invalid min/max size
17:20:02.216-warning default unknown@0 # The Wayland connection experienced a fatal error: Protocol error

Hope that is helpful.
Comment 2 Yaroslav Sidlovsky 2022-05-21 11:35:52 UTC
Created attachment 149064 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Start copying 4 GiB mpg file, enabled file privews afterwards => crash.

-- Backtrace (Reduced):
#4  0x000055e9f755aeca in KrViewItem::itemRect (this=<optimized out>) at /usr/src/debug/krusader-2.7.2-6.fc36.x86_64/krusader/Panel/PanelView/krviewitem.cpp:140
#5  KrPreviewJob::sort (this=<optimized out>) at /usr/src/debug/krusader-2.7.2-6.fc36.x86_64/krusader/Panel/krpreviewjob.cpp:142
#6  KrPreviewJob::slotStartJob (this=0x55e9f91336e0) at /usr/src/debug/krusader-2.7.2-6.fc36.x86_64/krusader/Panel/krpreviewjob.cpp:101
#7  KrPreviewJob::qt_static_metacall (_o=0x55e9f91336e0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/krusader-2.7.2-6.fc36.x86_64/redhat-linux-build/krusader/Panel/Panel_autogen/EWIEGA46WW/moc_krpreviewjob.cpp:88
#8  0x00007f275f1618af in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
Comment 3 Davide Gianforte 2023-03-02 19:09:39 UTC
This bug was solved in the latest Krusader release (2.8.0). Can you manage to update to the latest version and check if the issue happens again?
Comment 4 Bug Janitor Service 2023-03-17 03:45:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Ben 2023-03-17 12:09:56 UTC
Bug is fixed in krusader v2.8.0
Comment 6 Wolfgang 2023-04-30 22:12:51 UTC
Betriebssystem: Kubuntu 23.04
KDE-Plasma-Version: 5.27.4
KDE-Frameworks-Version: 5.104.0
Qt-Version: 5.15.8
Kernel-Version: 6.2.0-20-generic (64-bit)
Grafik-Plattform: X11
Prozessoren: 4 × Intel® Core™ i3-8100 CPU @ 3.60GHz
Speicher: 15,3 GiB Arbeitsspeicher
Grafikprozessor: Mesa Intel® UHD Graphics 630

Krusader has version 2.8.0 !

my problem also occurred when copying/moving a file/directory on a USB data carrier (ext4).

The system was installed 3 days ago as kubuntu 22 and immediately received a distribution update. Apart from the driver for the Epson scanner, nothing has been installed so far.
Comment 7 Wolfgang 2023-04-30 22:18:11 UTC
Created attachment 158582 [details]
New crash information added by DrKonqi

krusader (2.8.0 "A New Day") using Qt 5.15.8

additional post via desktop window.

-- Backtrace (Reduced):
#5  0x00007fcb70ce7de0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcb7196bf92 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fcb70cbae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcb70cbdea1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#13 0x00007fcb70d14e7a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Comment 8 Alex Bikadorov 2024-08-01 12:28:05 UTC
*** Bug 471596 has been marked as a duplicate of this bug. ***