IridiumIO / CompactGUI

Transparently compress active games and programs using Windows 10/11 APIs
GNU General Public License v3.0
5k stars 232 forks source link

CompactGUI crashing #401

Open UNITY51 opened 7 months ago

UNITY51 commented 7 months ago

When i select a folder, programm just crashing, but few days ago his working

Ner-Kun commented 7 months ago

Affirmative. Personally I have it when I want to compress a folder through the context menu, the window appears, loads, but after a second hangs and just closes.

I tried first to open the program itself, and then specify the folder, everything works fine, then and through the context menu began to work normally.

Iridium-IO commented 7 months ago

Can you try deleting the settings file in %IridiumIO%/CompactGUI and seeing if that fixes it?

BuyMyMojo commented 7 months ago

Can you try deleting the settings file in %IridiumIO%/CompactGUI and seeing if that fixes it?

I am experincing the same issue, I tried it and got no change in behaviour

BuyMyMojo commented 7 months ago

it seems like it depends on the folder or maybe the contents. I can open a folder containging the Dolphin emulator or videos or all my installed adobe apps but trying to open a folder with just PS2 iso files then it will crash. all on the same drive

Starbuck1991 commented 7 months ago

A few weeks ago, I posted another message regarding the program crashing when attempting to compress certain folders: https://github.com/IridiumIO/CompactGUI/issues/395

richardtalbot commented 6 months ago

Confirming here as well - the same issue when trying to compact using the context menu. This is using v3.2.1

Three events are logged in Event Viewer:

1.

Application: CompactGUI.exe CoreCLR Version: 6.0.2724.6912 .NET Version: 6.0.27 Description: The process was terminated due to an unhandled exception. Exception Info: System.UnauthorizedAccessException: Access to the path is denied. at System.IO.Pipes.NamedPipeClientStream.TryConnect(Int32 timeout, CancellationToken cancellationToken) at System.IO.Pipes.NamedPipeClientStream.ConnectInternal(Int32 timeout, CancellationToken cancellationToken, Int32 startTime) at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout) at System.IO.Pipes.NamedPipeClientStream.Connect() at CompactGUI.Application.Application_Startup(Object sender, StartupEventArgs e) at System.Threading.Tasks.Task.<>c.b__128_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run() at CompactGUI.Application.Main()

2. Faulting application name: CompactGUI.exe, version: 3.0.0.0, time stamp: 0x65ab0000 Faulting module name: KERNELBASE.dll, version: 10.0.22621.3155, time stamp: 0x8c2ee5db Exception code: 0xe0434352 Fault offset: 0x0000000000065b0c Faulting process id: 0x0x5724 Faulting application start time: 0x0x1DA7A04F9AFB512 Faulting application path: C:\CompactGUI\CompactGUI.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: d65030b2-d329-4219-8019-a497dea269b0 Faulting package full name: Faulting package-relative application ID:

3.

Fault bucket 1190097413411720728, type 4 Event Name: APPCRASH Response: Not available Cab Id: 0

Problem signature: P1: CompactGUI.exe P2: 3.0.0.0 P3: 65ab0000 P4: KERNELBASE.dll P5: 10.0.22621.3155 P6: 8c2ee5db P7: e0434352 P8: 0000000000065b0c P9: P10:

Attached files: \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.f329ad8a-c04c-4775-9438-ee7dae2c6370.tmp.dmp \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.9b8bf146-8296-4480-8fe4-9ad190328e3c.tmp.WERInternalMetadata.xml \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.1b27ea18-4802-4813-b2dd-f9cae28235b0.tmp.csv \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.dae36ac5-f2e6-4fdb-9be0-7e22a5944348.tmp.txt \?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.d57b1f99-6210-4788-b3b8-45bade88410e.tmp.xml

These files may be available here: \?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_CompactGUI.exe_c84e3250ed9538542833385e01c2475bdf877bd_a14530ec_90306224-2c53-4428-a3f6-94464cad2d93

Analysis symbol: Rechecking for solution: 0 Report Id: d65030b2-d329-4219-8019-a497dea269b0 Report Status: 268435456 Hashed bucket: 83c85660565281f5a084134ac6844e18 Cab Guid: 0

name8102 commented 5 months ago

I encounter the crashing issue when I'm tring to compress a folder with deep path (like D:\xxx\xxxx\xxxx\xxxx\target_folder), but after I copy it to the root of disk (D:\target_folder), it can be compressed successfully. So I guess the crashing issue is caused by the path length or somthing?