droid icon indicating copy to clipboard operation
droid copied to clipboard

Profile in %USERPROFILE%\.droid6\profiles not deleted after use (V6.5)

Open David-hkt opened this issue 3 years ago • 4 comments

In V6.4, whether I use the command line or GUI, the profile in %USERPROFILE%.droid6\profiles is deleted after the command completes or I close the GUI. I found that in V6.5, the profile retains. I do not find the description of this change in the change log. Is this a bug?

David-hkt avatar May 25 '21 03:05 David-hkt

Hi @David-hkt I have tried running GUI as well as CLI and I was unable to reproduce it. For both, the profile folders created were correctly deleted. My OS is Ubuntu 20.04.2 LTS

Could you please detail the steps you had taken? Is the profile retained because the files have been opened in some other tools? Details of OS, permissions on folders would be good to know.

Thanks,

sparkhi avatar May 25 '21 12:05 sparkhi

@sparkhi I tested on Win10 Pro version 20H2 (bare metal) and Windows server 2016 (VM). I further tested the GUI (running droid.bat), without adding any file, but just close it. The profile is still there. The accounts I used on the 2 windows are administrator accounts.

David-hkt avatar May 26 '21 01:05 David-hkt

Same issue here, reproducible on RHEL8 & Windows Server 2016 with Command Line Tool

orgabor avatar Dec 16 '21 13:12 orgabor

I have explored this further and found different behaviours on different OSs (Maybe related to JRE in use?) On my Ubuntu 22.04, It works fine, however on Windows 10 it does not. The reason why it fails to delete the profile on Windows 10 is due to an underlying error complaining that the profile database is still in use when the profile is closed. It appears that closing the profile does not release references to some of the files (the database files) and does not delete the profile database.
I've tried this on CentOS 7 with Java 11 and it works fine on CentOS as well.

So far, I know for sure that this bug exists for Windows and Mac

sparkhi avatar Aug 01 '23 08:08 sparkhi