Crash on new instance

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
Quaraxkad
Posts: 184
Joined: 20 Apr 2014 18:01

Crash on new instance

Post by Quaraxkad »

I've just updated from XYplorerFree to the latest official paid release and I've got a new problem. I have shortcuts that open to network folders. I can open one of them and an instance of XYplorer opens, no problem. If I try to open a second one, I get a standard Windows "XYplorer has stopped working" dialog. If I close the existing window and try the second shortcut again, it opens fine, so the shortcut is good and the target path is valid. I've found that I can have as many instances of XYplorer running as I want, but if I try to launch just one to a network path while another instance is running, it crashes. I can still open unlimited new instances to local folders.

For example: I open "xyplorer \\file-server\misc\". It launches. I try to open "xyplorer \\file-server\music\" and the new instance crashes. With the "\\file-server\misc\" instance still open, I can run "xyplorer c:\windows\" and it opens fine. Then I try "xyplorer \\file-server\music\" again and the new instance crashes. I don't see any log files so I'm not sure if there's further information I should post. I *can* launch an instance to a local folder and then manually browse to a network folder. I just can't launch the instance directly to a network folder unless there are no xyplorer.exe's already running.

Here's the Event Viewer entry for one of these crashes:
Faulting application name: XYplorer.exe, version: 14.30.0.200, time stamp: 0x53c81b9d
Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521ea8e7
Exception code: 0xc0000005
Fault offset: 0x00033526
Faulting process id: 0xeac
Faulting application start time: 0x01cfa2d94c0b224e
Faulting application path: C:\Programs\XYplorer\XYplorer.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 89c183db-0ecc-11e4-9855-50e5495262ea

Quaraxkad
Posts: 184
Joined: 20 Apr 2014 18:01

Re: Crash on new instance

Post by Quaraxkad »

I tested with fresh copies of 14.10.0123, same problem there. Then I tried 14.10.0002, and that one works. I don't have access to any versions between those to figure out exactly which version the problem begins with.

Quaraxkad
Posts: 184
Joined: 20 Apr 2014 18:01

Re: Crash on new instance

Post by Quaraxkad »

Thanks to Marco for giving me access to the old version archive, I've just done some further testing and 14.10.0115 works. There doesn't appear to be a 14.10.0116, and 14.10.0117 and up all crash as described above. I figured that'd help you narrow down the issue. Thanks!

Quaraxkad
Posts: 184
Joined: 20 Apr 2014 18:01

Re: Crash on new instance

Post by Quaraxkad »

I thought I explained it pretty well in the example but I got a PM suggesting that it wasn't completely clear how to reproduce the issue, so here's some more info....

You just have to have one instance of XY open, and then try to launch another instance directly to a network folder. When I tested previous versions to find out the last known-good version, I used fresh installs of each version and launched them from the command line, for example:

xyplorer.exe "\\file-server\music\" - This launches the first instance and opens the specified network folder. Leave it alone and go back to the command line:
xyplorer.exe "\\file-server\misc\" - On a fresh installation, this command should browse to that folder in the existing XY window instance, but instead it just crashes immediately.

The specific network path doesn't matter. As long as there is already one instance of xyplorer.exe running, if you try to launch another with a network path as the parameter it will immediately crash. It will also crash if the first instance is not browsing a network path, so:

xyplorer.exe "c:\" - Opens first instance
xyplorer.exe "d:\" - Changes first instance to d:\
xyplorer.exe "\\file-server\something\'" - Crashes immediately, existing instance is unaffected and stays open to previous path.
xyplorer.exe "e:\" - Changes first instance to e:\

All versions starting with 14.10.0117 crash when doing that, earlier versions work as expected.

I made a video showing what happens. You may need to increase the YouTube playback quality to read the text descriptions: http://www.youtube.com/watch?v=OvfiYqOG-LI (Or download original: https://s3.amazonaws.com/Quaraxkad/Misc ... h.xvid.avi)

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

Re: Crash on new instance

Post by admin »

Confirmed. Good bug. Tricky to fix. But success. Thanks!

Marco's version DB was very helpful once again! :appl:

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Crash on new instance

Post by bdeshi »

Code: Select all

...Bug since v14.10.0117 - 2014-06-05 11:56. Fixed.
This bit caught my attention. Gives the impression of keeping a database of bugs waiting to be discovered. :P
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Quaraxkad
Posts: 184
Joined: 20 Apr 2014 18:01

Re: Crash on new instance

Post by Quaraxkad »

New beta is working, thanks!!

Post Reply