Page 2 of 2

Re: Random crashes at launch

Posted: 25 May 2015 13:32
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).

Re: Random crashes at launch

Posted: 25 May 2015 13:37
by admin
So that's XYplorerFree?

Re: Random crashes at launch

Posted: 25 May 2015 13:56
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?

Re: Random crashes at launch

Posted: 25 May 2015 15:05
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...

Re: Random crashes at launch

Posted: 26 May 2015 05:03
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.

Re: Random crashes at launch

Posted: 26 May 2015 09:10
by admin
OK, thanks for that info.

Re: Random crashes at launch

Posted: 26 May 2015 21:57
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...

Re: Random crashes at launch

Posted: 27 May 2015 08:20
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?

Re: Random crashes at launch

Posted: 27 May 2015 09:43
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...

Re: Random crashes at launch

Posted: 01 Jun 2015 14:43
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.

Re: Random crashes at launch

Posted: 04 Aug 2015 12:35
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.

Re: Random crashes at launch

Posted: 04 Aug 2015 12:44
by admin
Good to know. Maybe it was related to the outdated Portuguese file. ;)

Re: Random crashes at launch

Posted: 04 Aug 2015 13:10
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: