DineshSolanki / FoliCon

Creates Folder icons for Movies, Serials, Music,Anime and Games Folders
https://dineshsolanki.github.io/FoliCon/
GNU General Public License v3.0
57 stars 5 forks source link

Selfcontained crashes! #114

Closed MasoudRahmani closed 1 year ago

MasoudRahmani commented 1 year ago

Describe the bug I have no problem with x64 build but when i try to open self contained build it crashes, even with admin privilege.

0:000> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 531

    Key  : Analysis.Elapsed.mSec
    Value: 541

    Key  : Analysis.IO.Other.Mb
    Value: 112

    Key  : Analysis.IO.Read.Mb
    Value: 2

    Key  : Analysis.IO.Write.Mb
    Value: 131

    Key  : Analysis.Init.CPU.mSec
    Value: 843

    Key  : Analysis.Init.Elapsed.mSec
    Value: 777891

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 348

    Key  : Failure.Bucket
    Value: FATAL_USER_CALLBACK_EXCEPTION_c000041d_FoliCon_v3.9.3_x64_Self_Contained.exe!RaiseTheExceptionInternalOnly

    Key  : Failure.Hash
    Value: {c5995f98-a419-7a24-b200-383f1d1d83b6}

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 64

    Key  : Timeline.Process.Start.DeltaSec
    Value: 5

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 3.9.3.0

FILE_IN_CAB:  FoliCon v3.9.3 x64 Self Contained.exe(1).13836.dmp

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=00007ff6eba0f2a5 rbx=00007ffdb956bb40 rcx=00007ff68bde4938
rdx=000001d8016545d8 rsi=00000028e8b7cdb0 rdi=00000028e8b7d570
rip=00007ffdb9474b2c rsp=00000028e8b7d550 rbp=00000028e8b7d930
 r8=0000000000000000  r9=e7a8e7a8e7a8e7a8 r10=e7a8e7a8e7a8e7a8
r11=000001d821c75c70 r12=0000000000000000 r13=0000000000000000
r14=00000000e0434352 r15=000001d87f8a7f40
iopl=0         nv up ei pl nz na pe nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000200
KERNELBASE!RaiseException+0x6c:
00007ffd`b9474b2c 0f1f440000      nop     dword ptr [rax+rax]
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffdb9474b2c (KERNELBASE!RaiseException+0x000000000000006c)
   ExceptionCode: c000041d
  ExceptionFlags: 00000081
NumberParameters: 0

PROCESS_NAME:  FoliCon v3.9.3 x64 Self Contained.exe

ERROR_CODE: (NTSTATUS) 0xc000041d - An unhandled exception was encountered during a user callback.

EXCEPTION_CODE_STR:  c000041d

STACK_TEXT:  
00000028`e8b7d550 00007ff6`eb4c7cff     : 000001d8`7f8f7930 00000028`e8b7d5f0 00000028`e8b7d930 00000000`00000000 : KERNELBASE!RaiseException+0x6c
00000028`e8b7d630 00007ff6`eb4cd6c2     : 000001d8`7f8a7f40 000001d8`7f8f7930 000001d8`016523a8 00000000`00000000 : FoliCon_v3_9_3_x64_Self_Contained!RaiseTheExceptionInternalOnly+0x2af
00000028`e8b7d700 00007ff6`eb52fc71     : 000001d8`7f8f7930 00000000`00000000 000001d8`7f8f7930 00000000`00000000 : FoliCon_v3_9_3_x64_Self_Contained!UnwindAndContinueRethrowHelperAfterCatch+0x42
00000028`e8b7d740 00007ff6`eba0f2a5     : 000001d8`016511d8 00007ff6`eba78a20 00000000`00000020 00007ff6`00026020 : FoliCon_v3_9_3_x64_Self_Contained!PreStubWorker+0x2d1
00000028`e8b7d850 000001d8`2213c8a2     : 00000028`e8b7d960 00000000`fffffffc 000001d8`01652318 00007ff6`8bcd3164 : FoliCon_v3_9_3_x64_Self_Contained!ThePreStub+0x55
00000028`e8b7d900 000001d8`2213f925     : 00000028`e8b7d960 00000000`fffffffc 000001d8`01652318 00007ff6`8bcd3164 : 0x000001d8`2213c8a2
00000028`e8b7d940 000001d8`2213f3e5     : 000001d8`016511d8 00000000`00020494 000001d8`01652318 00007ff6`8bcd3164 : 0x000001d8`2213f925
00000028`e8b7d9c0 00007ff6`8be1f360     : 000001d8`016511d8 00000000`00020494 00000000`00000024 00000000`00000000 : 0x000001d8`2213f3e5
00000028`e8b7db00 000001d8`016511d8     : 00000000`00020494 00000000`00000024 00000000`00000000 00000028`e8b7de10 : 0x00007ff6`8be1f360
00000028`e8b7db08 00000000`00020494     : 00000000`00000024 00000000`00000000 00000028`e8b7de10 00000028`e8b7db00 : 0x000001d8`016511d8
00000028`e8b7db10 00000000`00000024     : 00000000`00000000 00000028`e8b7de10 00000028`e8b7db00 00000000`00000000 : 0x20494
00000028`e8b7db18 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x24

STACK_COMMAND:  ~0s; .ecxr ; kb

FAULTING_SOURCE_LINE:  D:\a\_work\1\s\src\coreclr\vm\excep.cpp

FAULTING_SOURCE_FILE:  D:\a\_work\1\s\src\coreclr\vm\excep.cpp

FAULTING_SOURCE_LINE_NUMBER:  2807

FAULTING_SOURCE_CODE:  
No source found for 'D:\a\_work\1\s\src\coreclr\vm\excep.cpp'

SYMBOL_NAME:  folicon_v3_9_3_x64_self_contained!RaiseTheExceptionInternalOnly+2af

MODULE_NAME: FoliCon_v3_9_3_x64_Self_Contained

IMAGE_NAME:  FoliCon v3.9.3 x64 Self Contained.exe

FAILURE_BUCKET_ID:  FATAL_USER_CALLBACK_EXCEPTION_c000041d_FoliCon_v3.9.3_x64_Self_Contained.exe!RaiseTheExceptionInternalOnly

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  3.9.3.0

FAILURE_ID_HASH:  {c5995f98-a419-7a24-b200-383f1d1d83b6}

Followup:     MachineOwner
---------
MasoudRahmani commented 1 year ago

Attached Crash dump. FoliCon v3.9.3 x64 Self Contained.exe(1).1068.zip

DineshSolanki commented 1 year ago

@MasoudRahmani There seemed to be some issue with native libraries that aren't shipped with every windows installation, I have updated the self-contained release, please try again and let me know - https://github.com/DineshSolanki/FoliCon/releases/download/v3.9.3/FoliCon.v3.9.3.x64.Self.Contained.zip

MasoudRahmani commented 1 year ago

@DineshSolanki Thanks, it opens but after a few second it crashes again. whether idle or try to load./

https://github.com/DineshSolanki/FoliCon/assets/5321268/5ed6dfc5-eb17-43d8-8bb7-cf6c41db207d.mp4

logs are easier to read, Is there any logs?

attached dumps: CrashDumps.zip

DineshSolanki commented 1 year ago

Currently no logs are generated by FoliCon, I'll try to reproduce and check it again. Untill then please feel free to use the x64 release, that's lightweight.

MasoudRahmani commented 1 year ago

Thank you.

DineshSolanki commented 1 year ago

@MasoudRahmani Kept the application open for some 30 minutes, both ideal and loading creating, couldn't reproduce, could you try clearing the temp and cache folder, older entries might already be there, as the version wasn't changed. I doubt it but worth a try.

PS: also implementing logging is in roadmap and being worked on https://github.com/DineshSolanki/FoliCon/tree/imp/logging

MasoudRahmani commented 1 year ago

Thanks for logging roadmap.

I cleaned and worked with normal version some time and the crash went away. Thanks. Also i noticed my network were limited at the time, i had access to google and etc but imdb and other api were blocked.

Thanks.

DineshSolanki commented 1 year ago

Great! I'm closing the issue for now as "Fixed by 70de2fd5c55cadd14749f83dd0500f43d74dc0a9" , feel free to reopen if it happens.

DineshSolanki commented 1 year ago

Logging has been implemented application wide in FoliCon - https://github.com/DineshSolanki/FoliCon/releases/tag/v3.9.4