Bug 427783

Summary: Dolphin crashed when ejecting (VirtualBox Guest Additions ISO) removeable device while a file launched from this Dolphin is still open ("autorun.sh" either in Konsole or KWrite)
Product: [Applications] dolphin Reporter: u.an.i
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: elvis.angelaccio, justin.zobel, katyaberezyaka, kfm-devel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description u.an.i 2020-10-15 22:52:23 UTC
Dolphin is running with neon inside a VirtualBox guest.

Mount a removable device (VB GA CDR-like ISO perhaps) containing a shell script (*.sh).

Right-click that shell script and select "Run in Konsole".

Leave that shell script running.

Right-click the listed removable device and select "Eject".

Crash Reporting Assistant wrt Dolphin was opened for me.

The removable device is still mounted.

As is that shell script.

I could just reproduce this issue.
Comment 1 u.an.i 2020-10-16 15:32:28 UTC
It is sufficient to have a text containing file opened in KWrite from the removable device when attemptig to eject that removable device from Dolphin to cause the crash.
Comment 2 Elvis Angelaccio 2020-10-16 18:39:36 UTC
Does it happen only inside a Virtualbox guest?
Comment 3 u.an.i 2020-10-16 18:42:15 UTC
this is something I don't know and I don't dare to test on my "production" hw (as in i would have to install a second os first).
Comment 4 Justin Zobel 2020-11-05 08:23:25 UTC
It's likely this is only in a VM or has been fixed since the ISO's release.

I've just tested on my local machine a mounted USB drive with a .sh file that I ran from dolphin (run in konsole).

When attempting to eject the USB device I got a message in dolphin saying "One or more files on this device are opened in following applications: konsole, bash, sleep."