CompactGUI icon indicating copy to clipboard operation
CompactGUI copied to clipboard

Folders with an SID of "Unknown Account" crash on folder selection

Open Evanstanislas opened this issue 10 months ago • 17 comments

So after I opened and picked the folder, it's just load for a while then crashed. It's not running anywhere because I can't see it running in task manager.

Evanstanislas avatar Sep 18 '23 01:09 Evanstanislas

Same here. Version 2.6.2 work fine, but any release of v3 crashed after picking a folder. (.NET 6 runtime installed)

My-name-is-user avatar Sep 20 '23 18:09 My-name-is-user

Same here. Version 2.6.2 work fine, but any release of v3 crashed after picking a folder. (.NET 6 runtime installed)

For me it's different, 3.0 alpha 5 is fine, but 3.0 alpha 6 afterwards crashed

Evanstanislas avatar Sep 26 '23 07:09 Evanstanislas

yes, same here! (Version 3.0 beta 1) for example I tried to compress the [Paint.NET] folder (https://github.com/paintdotnet/release/releases/download/v5.0.10/paint.net.5.0.10.portable.x64.zip) the program closes as soon as I select the folder

CompactGUI older version, works well.

gabri25ele avatar Oct 02 '23 12:10 gabri25ele

Same issue! Only when I try to select a folder that is on another physical drive.

I haven't checked if the old version has this, but this problem is SOOOO annoying and inconvenient 😒

ArsenijN avatar Oct 08 '23 19:10 ArsenijN

I haven't checked if the old version has this, but this problem is SOOOO annoying and inconvenient 😒

I confirm 3.0 alpha 5 does not crash

gabri25ele avatar Oct 09 '23 07:10 gabri25ele

might be an unrelated reason, but it used to crash for me when i was selecting a folder with a long path length

reyjkw avatar Nov 27 '23 15:11 reyjkw

same problemi with CompactGUI 3.0.1 tried for eample https://github.com/paintdotnet/release/releases/download/v5.0.12/paint.net.5.0.12.portable.x64.zip extracted to desktop and compress with CompactGUI, it closes itself at selection folder. alpha5 still doesn't close itself

gabri25ele avatar Jan 03 '24 15:01 gabri25ele

I noticed that when alpha 5 selects a folder, it doesn't do the checking, but simply makes the analyze button appear. maybe that's all the difference between the crash of the new version and the non-crash of alpha5.

gabri25ele avatar Jan 03 '24 15:01 gabri25ele

I noticed another thing, if the folder that crashes the program I put it inside a folder that doesn't crash the program. the compaction of this last folder with all its contents occurs without problems

gabri25ele avatar Jan 05 '24 08:01 gabri25ele

same problemi with CompactGUI 3.0.1 tried for eample https://github.com/paintdotnet/release/releases/download/v5.0.12/paint.net.5.0.12.portable.x64.zip extracted to desktop and compress with CompactGUI, it closes itself at selection folder. alpha5 still doesn't close itself

I can't replicate this, even with the same paint.net file.

Can you guys confirm the following:

  • Version of Windows
  • Location of the folder causing issues (e.g. C:/Users/____/Desktop/paint.net)
  • Filesystem type of the drive (Note that this only supports NTFS drives so if you're using a FAT32 external drive that could be the issue)

Iridium-IO avatar Jan 07 '24 02:01 Iridium-IO

same problemi with CompactGUI 3.0.1 tried for eample https://github.com/paintdotnet/release/releases/download/v5.0.12/paint.net.5.0.12.portable.x64.zip extracted to desktop and compress with CompactGUI, it closes itself at selection folder. alpha5 still doesn't close itself

I can't replicate this, even with the same paint.net file.

strange. I extraced the zip in desktop and the folder cause the crash

sshot-1

if instead I put the folder in another folder that doesn't crash, it compresses everything without problems. if instead I select the specific paint folder inside the folder that wasn't causing problems, the program continues to crash

* Version of Windows

Windows 11 22631.2861

* Location of the folder causing issues (e.g. `C:/Users/____/Desktop/paint.net`)

the folder crashes everywhere, (I tried c, I tried documents) except if not selected directly and inside another folder that does not cause problems.

* Filesystem type 

NTFS in everywhere

gabri25ele avatar Jan 07 '24 08:01 gabri25ele

another test. If Extract the files of the example (paint) folder in a folder created in a working folder, works! If that folder, I move to C:, works If that folder, I move to desktop, not work. Crash! if I put it back on C:\ from the desktop, it doesn't work anymore

I think the folder attributes make a difference (what has changed since alpha 6 about that?)

gabri25ele avatar Jan 07 '24 09:01 gabri25ele

maybe I found... the crash is given by folder with SID "unkown account"

th

(more info about SID: https://learn.microsoft.com/en-US/troubleshoot/windows-server/windows-security/sids-not-resolve-into-friendly-names)

gabri25ele avatar Jan 07 '24 11:01 gabri25ele

It is confirmed, it is the (folder with) SID account that causes the program to crash. it should understand why alpha 5 doesn't do this.

gabri25ele avatar Jan 10 '24 12:01 gabri25ele

That's excellent detective work, thanks :) I'll see what I can do, I do remember the SID issues are notoriously painful because of how Windows is

Iridium-IO avatar Jan 10 '24 21:01 Iridium-IO

Version 3.0.2 crashes too:

Version 3.0.2

maybe I found... the crash is given by folder with SID "unkown account"

th

(more info about SID: https://learn.microsoft.com/en-US/troubleshoot/windows-server/windows-security/sids-not-resolve-into-friendly-names)

Can confirm that SID is the reason

Evanstanislas avatar Jan 15 '24 10:01 Evanstanislas