Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Evanstanislas opened this issue Sep 18, 2023 · 17 comments
Closed

Comments

@Evanstanislas
Copy link

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.

@My-name-is-user
Copy link

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

@Evanstanislas
Copy link
Author

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

@gabri25ele
Copy link

gabri25ele commented Oct 2, 2023

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.

@ArsenijN
Copy link

ArsenijN commented Oct 8, 2023

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 😒

@gabri25ele
Copy link

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

@reyjkw
Copy link

reyjkw commented Nov 27, 2023

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

@gabri25ele
Copy link

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
Copy link

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
Copy link

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

@Iridium-IO
Copy link
Member

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)

@gabri25ele
Copy link

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
Copy link

gabri25ele commented Jan 7, 2024

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
Copy link

gabri25ele commented Jan 7, 2024

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
Copy link

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.

@Iridium-IO
Copy link
Member

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

@4-FLOSS-Free-Libre-Open-Source-Software

Version 3.0.2 crashes too:

Version 3.0.2

@Evanstanislas
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants