Random crash

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".
Post Reply
nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Random crash

Post by nas8e9 »

Nuno wrote:Are both of you (zer0 and nas8e9) using WinRAR themes? Maybe it's far-fetched, but I'm just trying to pinpoint differences in WinRAR use between the three of us...

edit 1 reason: typo
edit 2 reason: new (stupid?) idea
Sorry for responding this late, but when editing existing posts, the last-post date doesn't alert other users about it. I only came here and saw this when following up something else.

To answer your WinRAR question: no themes. I can't think of other WinRAR-specific settings at the moment.

XYplorer 10.60.0004 (in general, almost always the latest beta / WinRAR 4.01 (in general, almost always the latest release) / Avira or Kaspersky / Windows 7 x64 SP1.

Nuno
Posts: 109
Joined: 12 Sep 2008 22:19
Location: Portugal

Re: Random crash

Post by Nuno »

No problem!
I've been testing WinRAR 32bit in my Win7x64 laptop. The crashes appear to occur in almost the same way as with WinRAR 64bit. I was expecting this because both WinRAR versions install both 32 and 64 bit versions of the shell extension.
Checking the Reliability Monitor, I can see that the faulting module is almost always "C:\Windows\SysWOW64\ntdll.dll". However, I could find an instance of "Mp3tagShell32.dll" (I do have mp3tag installed). I disabled this extension, but the crashes didn't stop.
Meanwhile, I reverted to the default theme in WinRAR to check if that's a source of trouble.

Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

Re: Random crash

Post by Zardoz2293 »

XY will timeout (immediately) and crash from time-to-time with WinRAR 4.10 Beta 4 (64-Bit) and prior non-beta 4.01 (64-Bit). The activity is always DND (Drag & Drop) FILES either TO or FROM WinRAR in an existing (SFX) Archive. Files (total 4) were 256 MB each in size. XY crashes, restart, and the failure never occurs performing the same activity for a significant duration. WinRAR reports an error during the DND.

Very Difficult To Reproduce on Command (seems to occur when least expected).
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

eil
Posts: 1933
Joined: 13 Jan 2011 19:44

Re: Random crash

Post by eil »

i decided to add my drop to this sea. :)
i have random crashes from time to time(sometimes once a day, sometimes few times). frankly, for me it always happens when XY is not in focus :| i just hear an exclamation sound from system and see no more XY among run programs. it may happen while any other program is in focus: while i'm in Opera, XnView, or even if it's minimised.
yet, this crash-situation seems to wait till i'm not using PC actively(i'm afk). :mrgreen:
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: Random crash

Post by admin »

eil wrote:i decided to add my drop to this sea. :)
i have random crashes from time to time(sometimes once a day, sometimes few times). frankly, for me it always happens when XY is not in focus :| i just hear an exclamation sound from system and see no more XY among run programs. it may happen while any other program is in focus: while i'm in Opera, XnView, or even if it's minimised.
yet, this crash-situation seems to wait till i'm not using PC actively(i'm afk). :mrgreen:
This can only be caused by auto-refresh. What folder are you pointing to in XY and are file changed in this folder by other programs while XY is in the back?

eil
Posts: 1933
Joined: 13 Jan 2011 19:44

Re: Random crash

Post by eil »

admin wrote:This can only be caused by auto-refresh. What folder are you pointing to in XY and are file changed in this folder by other programs while XY is in the back?
mostly i have root of drive G: opened in XY(it's my main non-system/program-drive), though some times this crashes happened when XY was minimised/out of focus while been in other tab/location. i think crash due to refresh is very possible 'cause i really have often editing/creating/deleting files in folders XY has in view.
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: Random crash

Post by admin »

eil wrote:
admin wrote:This can only be caused by auto-refresh. What folder are you pointing to in XY and are file changed in this folder by other programs while XY is in the back?
mostly i have root of drive G: opened in XY(it's my main non-system/program-drive), though some times this crashes happened when XY was minimised/out of focus while been in other tab/location. i think crash due to refresh is very possible 'cause i really have often editing/creating/deleting files in folders XY has in view.
Maybe you happen to find a way to reproduce it. I hope so!

Nuno
Posts: 109
Joined: 12 Sep 2008 22:19
Location: Portugal

Re: Random crash

Post by Nuno »

I really hope it's not too soon to say this, but after disabling WinRAR themes I had no more crashes (for almost 10 days now).
(I completely uninstalled WinRAR x32 which had been crashing and went back to the x64 version without installing any theme).
Perhaps it's time for me to think about sending a bug report to WinRAR devs?...

(Edit: I DID spoke too soon... :( The same crashes are occuring again with faulting module: ntdll.dll)

Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

Re: Random crash

Post by Zardoz2293 »

Nuno wrote:I really hope it's not too soon to say this, but after disabling WinRAR themes I had no more crashes (for almost 10 days now).
(I completely uninstalled WinRAR x32 which had been crashing and went back to the x64 version without installing any theme).
Perhaps it's time for me to think about sending a bug report to WinRAR devs?...

(Edit: I DID spoke too soon... :( The same crashes are occuring again with faulting module: ntdll.dll)
Interesting. From you description, I'd assume there was some memory leak in XY accessing the files/folders when WinRAR themes and embedded theme icons is active (such as an unexpected icon file format/header).

I've had XY literally crash 30+ times within 15 minutes. :x As a result I've replaced one of my office windows. :shock: Almost all are direct interaction with WinRAR and most are DND (Drag & Drop) activity. However, opening WinRAR (SFX) and then active app XY with CTRL+N (new folder), XY created the new folder and I was about to type the name when BAM! XY application termination.

Perhaps WinRAR has some file/folder lock implemented and if XY is displaying this data in the List View/Tree View it crashes when it (XY) tries to access an unexpected or invalid value. Unless there is some shared library that is being used by WinRAR and XY that isn't thread safe.
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

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

Re: Random crash

Post by admin »

Any improvement with the crashes? In v10.60.0133 I could fix a possibly related bug. I wouldn't be surprised if those crashes were gone for good now.

eil
Posts: 1933
Joined: 13 Jan 2011 19:44

Re: Random crash

Post by eil »

10.60.0133 so far the flight is fine. didn't post here earlier 'cause wanted to wait few more days to be sure.
much thanks for fix! :!:
Win 7 SP1 x64 100% 1366x768|1900x1080

Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

Re: Random crash

Post by Zardoz2293 »

10.60.0133, 10.70.0001 = Both crashing with regular frequency, 10-12 times per hour.

UPDATE:
Reproduce with minimal effort via right-click on SFX archive EXE (64-bit), popup menu displayed (Shell Extensions), left-click back into XY ListView whitespace, repeat until XY becomes non-responsive and crashes.
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Random crash

Post by nas8e9 »

Zardoz2293 wrote:10.60.0133, 10.70.0001 = Both crashing with regular frequency, 10-12 times per hour.

UPDATE:
Reproduce with minimal effort via right-click on SFX archive EXE (64-bit), popup menu displayed (Shell Extensions), left-click back into XY ListView whitespace, repeat until XY becomes non-responsive and crashes.
I've tried your steps by:
1. converting an existing .zip-file to a 64-bit SFX archive using WinRAR 4.01 (64-bit);
2. having Config > Extended > Context Menus > Default items only in shell context menu, disabled;
3. right-clicking on the file created in the first step, for about 40 times, followed by left-clicking back into XYplorer's List's whitespace.

After all that, XYplorer is still running and responsive.

Is there anything different from you in the above steps?

XYplorer 10.70.0001 / Windows 7 x64 SP1.

Zardoz2293
Posts: 638
Joined: 09 Nov 2011 20:20
Location: USA

Re: Random crash

Post by Zardoz2293 »

nas8e9 wrote:Is there anything different from you in the above steps?
Windows system environment is highly stable; extensive stress testing, and many development tools. Encounter, perhaps as much as 1 app crash per quarter, if that. In XY, performing one task, again, and again, over another activity based on workflow needs, and then I find XY crashing. Often with WinRAR SFX access. However, creating new folders (CTRL+N) multiple times one after another (with renaming) and then XY crash. Observations indicate the crashes are occurring on an API call outside of VB6 which cannot be trapped from within VB6. It appears the non-responsive failures are being caused from a callback which doesn't receive it's response OR something along this line as this is the only way you can generate an almost instantaneous "non-responding application failure". What is interesting is there isn't an exact 100% method to reproduce on other systems which implies a connection to the depth of the path, number of folders open, network, etc.

Updated:
Always Online on 4 devices: 450,000 files; 66,000 folders
To see the attached files, you need to log into the forum.
XYplorer v28.50.0101

MacOS Tahoe v27.2.1 ; Parallels for Mac
VM (Client): Windows 11 Pro (AArch64), 26H2.26300.10075(10.0)
Display: Main=MacBook 4112 x 2570 @200%; External 3840 x 2160 @125%

Nuno
Posts: 109
Joined: 12 Sep 2008 22:19
Location: Portugal

Re: Random crash

Post by Nuno »

I have been using 7-zip since the 15th without a single XYplorer crash.
Yesterday, after reading about these changes which could improve the stability of XYplorer, I installed WinRAR 4 x64.
Today the crashes reappeared... :cry:

Code: Select all

Description
Faulting Application Path:	C:\Program Files (x86)\XYplorer\XYplorer.exe

Problem signature
Problem Event Name:	APPCRASH
Application Name:	XYplorer.exe
Application Version:	10.70.0.1
Application Timestamp:	4ef36068
Fault Module Name:	ntdll.dll
Fault Module Version:	6.1.7601.17514
Fault Module Timestamp:	4ce7ba58
Exception Code:	c0000005
Exception Offset:	0005b84b
OS Version:	6.1.7601.2.1.0.256.1
Locale ID:	1033
Additional Information 1:	e968
Additional Information 2:	e9682749a172107fc41495be9f8c3142
Additional Information 3:	db10
Additional Information 4:	db10a1890661e93fe69c3a0d82b963d6

Post Reply