XYplorer crashes on my system when creating new folders [resolved]

Things you’d like to miss in the future...
stoik
Posts: 46
Joined: 01 May 2013 19:51

XYplorer crashes on my system when creating new folders [resolved]

Post by stoik » 13 Jul 2018 18:16

Ever since after XYplorer version 16.80.0000,
XYplorer crashes randomly on my system when creating new folders.

I only get a vague error message "XYplorer has stopped working. A problem caused the program to stop working correctly. Please close the program."

This occurs only when creating new folders, when I hit the "OK" button (or Enter on my keyboard). It does not occur under any other circumstance, e.g. when using the context menu or similar - as described by other users on this forum.

However, it only occurs randomly. I mean, the problematic function (= creating new folders) will work bug-free for some 5 minutes, then a crash will occur. When I restart XYplorer, I am on a different location, and I have to navigate back to where I was before, plus the opened tabs are now different from where I left them (involuntarily). It is this navigating back to the previous location that is an annoying waste of time. Having to do this every 5 minutes or so makes XYplorer unusable to me.

I tried disabling "Auto-refresh" and "Show portable devices" as the Admin suggested elsewhere on this forum for a similar problem, but that made no difference.

I also tried disabling shell extensions one by one, but that made no difference either.

I do not have this problem with programs similar to XYplorer - such as: EF Commander, or Xplorer2, or Double Commander, or Total Commander.

I reverted to XYplorer version 16.80.0000, but that is a pity since I am missing out on so many good functions that You have introduced since. And I feel that I wasted my money on the "life-time license" since I cannot use any of the upgrades for the last two years.

Listen, these crashes have been Your plaque for a long time, and they do not seem to occur with other file explorer programs that I use. I hear Your comments, it is someone else's fault - like shell extensions ... but this is like the Boeing airplane manufacturers blaming the birds getting caught up in the jet engine and causing airplane crashes - the public is not buying the "blame the birds - for our planes crashing", the public expects Boeing to make their planes bird-resistant.

So, until XYplorer is made crash-resistant, is there anything You can suggest for me to try to bypass this problem. Sorry if I sound a bit impatient or disappointed, I am waiting for two years (since 2016) for this to be solved, and I am sure You guys are working very hard.

Thanks in advance for trying to help !
Last edited by stoik on 17 Jul 2018 00:09, edited 1 time in total.

highend
Posts: 7503
Joined: 06 Feb 2011 00:33

Re: XYplorer crashes when creating new folders

Post by highend » 13 Jul 2018 18:31

So it doesn't crash with 16.80.0001?
Does it ever crash if you create a folder via this script:

Code: Select all

    $folder = input("Enter folder name...", , "New folder");
    new($folder, "dir");
?
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

admin
Site Admin
Posts: 45219
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: XYplorer crashes when creating new folders

Post by admin » 13 Jul 2018 19:17

Creating new folders is a function that thousands of users are likely to use all the time, every day, for many years. You are the only one reporting this issue. So, "XYplorer crashes when creating new folders" transports a message that's a touch too bold IMO.

Anyway, if this is NOT caused by 3rd party factors (and I believe it is), we will fix it.

So, some more questions:
1) Are you showing thumbnails any time before the crash?
2) Are you showing previews any time before the crash?
3) Are you showing the context menu any time before the crash?
4) Are you showing file info tips any time before the crash?
5) Are you searching for contents any time before the crash?

stoik
Posts: 46
Joined: 01 May 2013 19:51

Re: XYplorer crashes when creating new folders

Post by stoik » 13 Jul 2018 19:29

Thanks for Your quick response.

Highend wrote: "Does it ever crash if you create a folder via this script ?"

Since the problem occurs only randomly, I could not tell after the first few runs.
Now, after many, many runs the answer is :
It did not crash via script.
It did crash again vie toolbar button.

Admin wrote (roughly): "You are the only one reporting this after so many users and so many years" - valid point.
In that case, yes, "XYplorer crashes when creating new folders" is an excessive generalization, I respectfully agree,
my corrected statement is "it crashes on my system" (Windows 8, 64-bit by the way, no other file explorers running simultaneously except windows own explorer that always runs hidden in the background).

Admin wrote: ... a bunch of questions.
The answer to all of those is NO.

What I will do in the meantime, is use the script each time a want to make a new folder, and avoid the toolbar button.
That would not be too inconvenient, I will let You know how it goes after a while.

But the way, can I finish the folder creation and naming in one single move.
This is what I mean ... Your syntax from above

(" $folder = input("Enter folder name...", , "New folder");
new($folder, "dir");")

creates a new folder with the name "New Folder".

What would I have to write in the Script box to get a folder named "Sample Folder" ?

Thanks for Your help !

highend
Posts: 7503
Joined: 06 Feb 2011 00:33

Re: XYplorer crashes when creating new folders

Post by highend » 13 Jul 2018 19:34

It did crash again vie toolbar button
Em, what exactly do you mean, the script is placed on a toolbar button?
What would I have to write in the Script box to get a folder named "Sample Folder" ?
Em, I'd say: Sample Folder?

If you want a different default name, replace the "New folder" in the script with something else (in double quotes)
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

stoik
Posts: 46
Joined: 01 May 2013 19:51

Re: XYplorer crashes when creating new folders

Post by stoik » 13 Jul 2018 19:56

Highend,

What I meant by "toolbar button" is the default toolbar button called "New Folder".
That is what I was using so far, and that is where/how the crashes are occurring.
I will try invoking the same dialog box via script now (no crashes so far, but we'll see).

As to the script syntax for "Sample Folder" - of course,
I was trying out something else and I got off track.

admin
Site Admin
Posts: 45219
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: XYplorer crashes when creating new folders

Post by admin » 13 Jul 2018 21:22

Ever tried the normal way? = Ctrl+N :)

stoik
Posts: 46
Joined: 01 May 2013 19:51

Re: XYplorer crashes when creating new folders

Post by stoik » 13 Jul 2018 22:29

Unfortunately, it is still crashing,
no matter how "normally" or "abnormally" I launch the "New Folder" dialog box. :?

Ctrl + N, or toolbar button, or script function - makes no difference.

The timing of the crash may be suggestive :
it happens a split second after I hit the OK button;
the new folder is created, but instead of the auto-refresh - I get the crash.
That is why I suspect that it is some interference with the auto-refresh function.

And most puzzling - why so randomly ?
Why not every time ?

Another possible helpful clue to You developers (Admin) :
what was changed after version 16.80 ?
I would think that would be a powerful clue to narrow down the suspects !

admin
Site Admin
Posts: 45219
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: XYplorer crashes when creating new folders

Post by admin » 13 Jul 2018 22:30

1) What dialog box? Do you have a screenshot of that box?

2) Which XYplorer version?

stoik
Posts: 46
Joined: 01 May 2013 19:51

Re: XYplorer crashes when creating new folders

Post by stoik » 13 Jul 2018 22:43

Dialog box :
when You use Ctrl+N, You get the box to confirm or change the folder name.
The box is titled only XYplorer, but right below it it says "Rename folder".

Which XYplorer version :
I am currently using the latest version 19.10.
Every version after 16.80 has the same problem for me.

stoik
Posts: 46
Joined: 01 May 2013 19:51

Re: XYplorer crashes when creating new folders

Post by stoik » 13 Jul 2018 22:46

Screenshot attached :
Clicking OK causes the crash.
Attachments
2018-07-13_164446.png
2018-07-13_164446.png (37.63 KiB) Viewed 194 times

highend
Posts: 7503
Joined: 06 Feb 2011 00:33

Re: XYplorer crashes when creating new folders

Post by highend » 13 Jul 2018 22:51

You didn't answer my question directly so I want to make absolutely sure: EVERY version after 16.80.0000
shows that behavior, even 16.80.0001?

This is the changelog:

Code: Select all

v16.80.0001 - 2016-05-20 18:54
    + SC folderreport enhanced: New named argument for parameter "type":
        type:
          tcsv: Tree of items (folders and files) with basic data
                in CSV format: Raw Bytes;Modified Date[;Version]
                This type does not support a template.
      Note:
        This type generates a report similar to "treeitems" but is much faster
        since it does not support a custom template (which costs a lot of extra
        flops).
      Example:
        text folderreport("tcsv", "r", , "r");
      Output Example:
        ------------------------------------------------------------------------
        E:\Test\Photos
        ... Daido Moriyama;<DIR>;13.05.2016 12:18:53
            ... 8-copie11.jpg;207742;16.02.2016 21:19:35
            ... 50cf22fedd2fa.jpg;165303;16.02.2016 21:46:36
        ... Danny Lyon;<DIR>;13.05.2016 12:19:39
            ... Danny-001.jpg;317311;31.01.2016 21:32:01
            ... Danny-002.jpg;306184;31.01.2016 21:31:06
        ... Eikoh Hosoe;<DIR>;13.05.2016 12:18:13
            ... 008_eikoh-hosoe_theredlist.jpg;351827;16.02.2016 21:29:26
            ... 105704.jpg;140037;16.02.2016 21:29:05
            ... ordeal_by_roses_32_1961.jpg;40877;16.02.2016 21:27:35
        ------------------------------------------------------------------------
    % SC folderreport: Type "treeitems" got much faster, notable especially on
      large reports.
    % Report "Tree Structure Only" got much faster, notable especially on large
      reports.
    * Info Panel | Report: Renamed "Tree structure only" to "Tree structure".
  *** Info Panel | Report | Tree structure: Experimentally changed the output to
      include files and basic file data. The report now is the same as would be
      generated by folderreport("tcsv").
    * Report: Modified the layout of tree-shaped reports for better readability.
    * Info Panel | Raw View: Replaced substitution character (for non-displayed
      low ASCII chars) "mid dot" character by normal dot. The mid dot is no good
      on some code pages, and it does not play easily with HTML and other ASCII
      contexts.
    * Info Panel | Raw View: Now many more lower ASCII (< ord 32) are shown
      unsubstituted.
    ! File | Properties (Alt+Enter): Did not work on special folders in the
      Tree, e.g. "Donald\Pictures". Fixed.
    ! File | Properties (Alt+Enter): Did not work on "C:\Users\<username>" and
      worked incorrectly on "C:\Users\<username>\Desktop". Fixed.
Can't see anything obvious in it...

Another question: Does it also crash if you use a fresh instance of your current 19.x?
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

stoik
Posts: 46
Joined: 01 May 2013 19:51

Re: XYplorer crashes when creating new folders

Post by stoik » 13 Jul 2018 23:10

Highend wrote:
You didn't answer my question directly so I want to make absolutely sure: EVERY version after 16.80.0000
shows that behavior, even 16.80.0001?
Well, I do not think I have tried quite every version since 16.80, there might have been some 30 of them, but I have tried some 85 % of them. 16.80.0001 I am not sure was even posted publicly, that must be for some of your forum geeks or testers, I believe the first next publicly available was 16.80.0100 with the usual bug fixes. Now I could try (if You give me the links) 16.80.001, 16.80.002, 16.80.003, 16.80.004, 16.80.004 and a half, etc. :?
Highend write:
Another question: Does it also crash if you use a fresh instance of your current 19.x?
I know what You are getting at: corrupt configuration file. Hmm, I have not tried that one out, "try from scratch".
Then You will probably have another bunch of questions, and I appreciate Your time etc. But how about another idea: can I send You a zipped version of my portable XYplorer folder (or do You want just some config files - like the "Data" folder), and than You can directly look and analyze and test, and do a full forensic "post-mortem autopsy", rather than us going back and forth. Should I attach (and what) something to my next post entry, or email You the attached stuff directly, or what do You think ? It is like consulting a veterinarian: I can drive to the vet and ask him a bunch of questions about my dog, and the vet will ask me even more questions, but it would be stupid not to bring the dog along for a direct examination.
Last edited by stoik on 13 Jul 2018 23:18, edited 1 time in total.

highend
Posts: 7503
Joined: 06 Feb 2011 00:33

Re: XYplorer crashes when creating new folders

Post by highend » 13 Jul 2018 23:15

You are the only one reporting this. So it's either your system or the config (a broken one). The pure XY doesn't seem to be affected, otherwise there would be a whole lot more people with the same problem.

So zip your 16.80.0000 portable completely and pm me the link... I have all versions of XY here to test that out
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

stoik
Posts: 46
Joined: 01 May 2013 19:51

Re: XYplorer crashes when creating new folders

Post by stoik » 13 Jul 2018 23:34

I understand, Highend,
and thanks for Your continued effort.
You wrote :
... zip your 16.80.0000 portable completely and pm me the link ...
Hmm, well ... I am not familiar with the verb "pm"
(sorry, I am not that cool in keeping up with Your tech lingo - just an average stupid customer)
but I presume that is send You a link for something like MegaUpload of MediaFire.
Sorry, I am not subscribed to any of those, so I emailed (attached) the zipped file (4.25 MB)
to Your publicly posted support email address "support@xyplorer.com".
I titled the email "Attention Highend: XYplorer crashes when creating new folders".
Let me know if You want me to do something different.

Thanks !

Post Reply