Page 1 of 1

Crash on new instance

Posted: 19 Jul 2014 00:49
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

Re: Crash on new instance

Posted: 19 Jul 2014 19:19
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.

Re: Crash on new instance

Posted: 20 Jul 2014 01:40
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!

Re: Crash on new instance

Posted: 20 Jul 2014 23:42
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)

Re: Crash on new instance

Posted: 21 Jul 2014 10:22
by admin
Confirmed. Good bug. Tricky to fix. But success. Thanks!

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

Re: Crash on new instance

Posted: 21 Jul 2014 12:48
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

Re: Crash on new instance

Posted: 21 Jul 2014 16:51
by Quaraxkad
New beta is working, thanks!!