Random crashes at launch

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
char101
Posts: 6
Joined: 25 May 2015 04:39

Re: Random crashes at launch

Post by char101 »

Here is the thread stack on xyplorer.exe thread (thread state = Wait:Executive)

Code: Select all

0, ntoskrnl.exe!PoStartNextPowerIrp+0x17e7
1, ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x93d
2, ntoskrnl.exe!KeWaitForMutexObject+0x19f
3, ntoskrnl.exe!FsRtlCancellableWaitForMultipleObjects+0x5e
4, ntoskrnl.exe!FsRtlCancellableWaitForSingleObject+0x27
5, mrxsmb20.sys+0x17b7f
6, mrxsmb20.sys+0x5e6f
7, rdbss.sys!RxNameCacheInitializeEx+0x136a
8, rdbss.sys!RxNameCacheInitializeEx+0x15b7
9, rdbss.sys!RxUpdateOplockStateOnCreate+0x12e0
10, rdbss.sys!RxFsdDispatch+0x224
11, mrxsmb.sys!RxCeSend+0x21c
12, mup.sys!MupSurrogateGetUncProviderDeviceObject+0x1491
13, mup.sys!MupSurrogatePurgeNegativeCacheEntry+0x33b0
14, mup.sys!MupSurrogatePurgeNegativeCacheEntry+0x3d85
15, fltmgr.sys!FltIsCallbackDataDirty+0x2df
16, fltmgr.sys+0x16df
17, pfmfs_853.sys!DispatchPassThrough+0xea
18, ntoskrnl.exe!NtQueryDirectoryFile+0x1ad
19, ntoskrnl.exe!KeSynchronizeExecution+0x3a23
20, ntdll.dll!NtQueryDirectoryFile+0xa
21, wow64.dll!Wow64EmulateAtlThunk+0x8c77
22, wow64.dll!Wow64SystemServiceEx+0xd7
23, wow64cpu.dll!TurboDispatchJumpAddressEnd+0x2d
24, wow64.dll!Wow64SystemServiceEx+0x1ce
25, wow64.dll!Wow64KiUserCallbackDispatcher+0x204
26, wow64win.dll+0x32c4e
27, ntdll.dll!KiUserCallbackDispatcher+0x1f
28, wow64win.dll+0x3fdea
29, wow64win.dll+0x1adb3
30, wow64.dll!Wow64SystemServiceEx+0xd7
31, wow64cpu.dll!TurboDispatchJumpAddressEnd+0x2d
32, wow64.dll!Wow64SystemServiceEx+0x1ce
33, wow64.dll!Wow64LdrpInitialize+0x429
34, ntdll.dll!RtlUniform+0x6e6
35, ntdll.dll!RtlCreateTagHeap+0xa7
36, ntdll.dll!LdrInitializeThunk+0xe
37, ntdll.dll!NtQueryDirectoryFile+0x12
38, KernelBase.dll!FindFirstFileW+0x16
39, XYplorerFree.exe+0x31d160
40, XYplorerFree.exe+0x31f75b
41, XYplorerFree.exe+0x1bd53e
42, XYplorerFree.exe+0x1bd0d0
43, XYplorerFree.exe+0x155ac9
44, XYplorerFree.exe+0x283a9c
45, XYplorerFree.exe+0x37b635
46, XYplorerFree.exe+0x4f8f75
47, user32.dll!gapfnScSendMessage+0x332
48, user32.dll!GetThreadDesktop+0xd7
49, user32.dll!GetWindow+0x3f0
50, user32.dll!SendMessageW+0x4c
51, shell32.dll!SHChangeNotification_Lock+0x207
52, shell32.dll!SHChangeNotification_Lock+0x19e
53, user32.dll!gapfnScSendMessage+0x332
54, user32.dll!GetThreadDesktop+0xd7
55, user32.dll!GetThreadDesktop+0x185
56, user32.dll!GetThreadDesktop+0x1e1
57, ntdll.dll!KiUserCallbackDispatcher+0x2e
58, user32.dll!PeekMessageA+0x168
59, msvbvm60.dll!_vbaStrToAnsi+0x2c1
60, msvbvm60.dll!_vbaStrToAnsi+0x268
61, msvbvm60.dll!_vbaStrToAnsi+0x146
62, msvbvm60.dll!_vbaStrToAnsi+0x111
63, msvbvm60.dll!ThunRTMain+0xa0
64, XYplorerFree.exe+0x1954e
65, ntdll.dll!RtlInitializeExceptionChain+0x63
66, ntdll.dll!RtlInitializeExceptionChain+0x36
EDIT: xyplorer resumes again after I post this so apparently it is not an infinite hang, I just have to wait long enough (~5 minutes).

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Random crashes at launch

Post by admin »

So that's XYplorerFree?

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Random crashes at launch

Post by admin »

MerleOne wrote:
char101 wrote:Yes, I only experience the hang since 15.20.0100. Never experience any hang before.

If viewed from processhacker, all the threads are in WaitSuspended state while the xyplorer thread is in WaitExecutive state.
I think this happened since 15.20 already. I have noticed also that since this version, when folder size shown in properties tab is ticked, the folder size is not shown in the main lister column whereas it used to be the case. So I have decided to tick "Show folder size" which slows down a bit XYplorer.
OK, I tested your INI file but found nothing.

Anyway, to eliminate (or convict) "Show folder sizes" as culprit please open XYplorer.ini in some editor, search the line "ShowFolderSizeInList=1" and set the value to 0 (zero):

Code: Select all

ShowFolderSizeInList=0
Then save it and start XYplorer.

Can you start now?

MerleOne
Posts: 55
Joined: 10 Dec 2008 15:00

Re: Random crashes at launch

Post by MerleOne »

admin wrote:
MerleOne wrote:
char101 wrote:Yes, I only experience the hang since 15.20.0100. Never experience any hang before.

If viewed from processhacker, all the threads are in WaitSuspended state while the xyplorer thread is in WaitExecutive state.
I think this happened since 15.20 already. I have noticed also that since this version, when folder size shown in properties tab is ticked, the folder size is not shown in the main lister column whereas it used to be the case. So I have decided to tick "Show folder size" which slows down a bit XYplorer.
OK, I tested your INI file but found nothing.

Anyway, to eliminate (or convict) "Show folder sizes" as culprit please open XYplorer.ini in some editor, search the line "ShowFolderSizeInList=1" and set the value to 0 (zero):

Code: Select all

ShowFolderSizeInList=0
Then save it and start XYplorer.

Can you start now?
Thanks, will try that and report it here. But as I said (or wanted to say), the error appears at random, I mean 1 time out of 3 or something like that, seems to be more frequent just after PC reboot. And I really need the folder size to be displayed in the lister (I know there is a dedicated optional button). Would it be possible to recover the previous feature : when Display Folder Size on Properties Tab, it would also display the folder size in the size column, no longer since 15.2x versions.

Edited : OK, I tried, XYplorer started fine so far, even after a reboot. So I guess I have to wait and see what happens in the long term, at least a week...

char101
Posts: 6
Joined: 25 May 2015 04:39

Re: Random crashes at launch

Post by char101 »

It seems in my case that the problem is caused by the samba daemon itself (I found a lot of core dumps). So it is not a problem in xyplorer.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Random crashes at launch

Post by admin »

OK, thanks for that info.

MerleOne
Posts: 55
Joined: 10 Dec 2008 15:00

Re: Random crashes at launch

Post by MerleOne »

Yet another crash. WERFault is running and I will try again. I have to check if I have reset ShowFolderSizeinlist to one, but I don't think so. Second launch, XYPlorer opens but crashes right away... Third trial : XYPlorer opens without crashing and ShowFolderSizesInList is still zero...

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Random crashes at launch

Post by admin »

The randomness points to something outside XY. No idea what that could be.

Did you try the "fresh" mode as I suggested earlier?

MerleOne
Posts: 55
Joined: 10 Dec 2008 15:00

Re: Random crashes at launch

Post by MerleOne »

admin wrote:The randomness points to something outside XY. No idea what that could be.

Did you try the "fresh" mode as I suggested earlier?
Yes, I tried the fresh mode but only after XYplorer has opened. And it opens flawlessly everytime. I probably have to try the other way to perform a fresh start...

MerleOne
Posts: 55
Joined: 10 Dec 2008 15:00

Re: Random crashes at launch

Post by MerleOne »

Hi all,
The random crashes at launch have returned, this time XYplorer crashes 9 times out of ten, even when starting in Fresh mode (with the /fresh parameter). It seems that the connection of some external HDD has an impact on these crashes but I have not succeded in reproducing the issue for 100% of the launches.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Random crashes at launch

Post by SkyFrontier »

SkyFrontier wrote:I am experiencing random shutdown with no apparent cause for it. When I need XY, it's simply not there. No crash messages, no warnings, visual cues, nada. Perhaps deleting your config is not the way to solve this... :roll:
For reference, this no longer happens (even prior to my recent change to hi contrast) - v11 runs ok, v15 too. That was a v14 issue.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Random crashes at launch

Post by admin »

Good to know. Maybe it was related to the outdated Portuguese file. ;)

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Random crashes at launch

Post by SkyFrontier »

admin wrote:Good to know. Maybe it was related to the outdated Portuguese file. ;)
Nah - I use english version. Brazilian translator is lazy. :om:
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply