Page 1 of 2

Translation Tool crashes XY

Posted: 07 Sep 2014 05:12
by Flora_RMC
In the last week or so, every time I close the translation tool after editing and saving, an error alert pops up (see below) and XY immediately crashes. The message that follows is the typical Windows' "XYplorer has stopped working..." with the expected option "Close the program". :(
On the other hand, closing the Translation Tool with no change or save, it doesn't create any problem.

Re: Translation Tool crashes XY

Posted: 07 Sep 2014 11:14
by Marco
Can't repro here, but I'm using Win 8.1 and not 7 like you. This could be the cause.

Re: Translation Tool crashes XY

Posted: 07 Sep 2014 21:20
by admin
Which version of XY is that?

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 00:35
by PeCe
No repro here too, Win7 and the newest 14.40.0305 version. (Before also no problems) with the translation tool.

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 05:21
by Flora_RMC
admin wrote:Which version of XY is that?
The most recent: I just tried 14.40.0305 with the same result... :veryconfused:
So can be something on my end? If that's the case, I'm sorry I bothered you because really is not a big deal: even if XY crashes, the changes in the .lng file are saved nonetheless.

Further digging: with ::fresh; does happen the same as soon as I try to load another language file (mine or someone else's). So it's not just the translation tool...
Now, with 14.40.0305 trial version, from a different folder completely new and empty, I see the same error alert loading a local file .lng - while there is a new message (but same error) downloading the language online at startup. This is the new message:

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 06:11
by Flora_RMC
Ok, I made other attempts with older versions:
14.20 ---> can load translation 8.47 8.48 8.49 and 8.50 with no problem at all, save changes with no error.
14.30 ---> can load translation 8.50 and 8.51 with no problem and save with no error.
14.40 ---> can't load any language file and pops error at every save, as said before.

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 09:31
by admin
Mystery! Cannot repro. :veryconfused:

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 12:16
by bdeshi
Maybe something wrong with the lng file itself?

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 12:19
by admin
SammaySarkar wrote:Maybe something wrong with the lng file itself?
I checked that with the latest online version of Italian but no luck.

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 12:45
by bdeshi
Right, it looks like a vb error anyways...

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 15:16
by klownboy
Again, this may be totally unrelated...I'm not knowledgeable on VB in any way shape or form, but I noticed in the last couple of days that a small VB script which does a timed message I use in a couple of scripts, obtained from Stefan at here http://www.xyplorer.com/xyfc/viewtopic. ... age#p71990 has stopped working. I'm getting a VB error message. Anyone else having a similar issue with a VB script run from XY? It's a syntax error. See pic.
VB_script_capture.PNG
VB_script_capture.PNG (20.63 KiB) Viewed 4170 times
:eh:

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 17:23
by bdeshi
Finalized report: the value of $out becomes invalid during processing due to v that v. The vbs code is alright.

There's a bug in the new replace().

Code: Select all

text replace("12345",'4','',,3,1);//returns 35 instead of 1235
Apparently if the 'start' param is set, everything before that position is removed from string.

I should mention I'm still on v14.40.304.

Re: Translation Tool crashes XY

Posted: 08 Sep 2014 17:53
by admin
Confirmed, good find!

Re: Translation Tool crashes XY

Posted: 09 Sep 2014 11:34
by admin
Flora_RMC wrote:
admin wrote:Which version of XY is that?
The most recent: I just tried 14.40.0305 with the same result... :veryconfused:
So can be something on my end? If that's the case, I'm sorry I bothered you because really is not a big deal: even if XY crashes, the changes in the .lng file are saved nonetheless.

Further digging: with ::fresh; does happen the same as soon as I try to load another language file (mine or someone else's). So it's not just the translation tool...
Now, with 14.40.0305 trial version, from a different folder completely new and empty, I see the same error alert loading a local file .lng - while there is a new message (but same error) downloading the language online at startup. This is the new message:
Could you please generate and post this error message again? I tried to add some info that might help me understand what's going on.

Re: Translation Tool crashes XY

Posted: 10 Sep 2014 03:27
by Flora_RMC
Tested with latest beta.
1) Downloading language file at startup, still gives error (long version), XY doesn't crash and ultimately language is applied.
2) If I switch between languages (any local file, not just Italian) XY crashes with the same old error warning (short version)
3) When I save a language file and close the Translation Tool, I see the same outcome as before: error alert and crash.

Don't know if this helps, but in Events Viewer the error is recorded: in most of XY crashes the faulting module was C:\windows\SysWOW64\ntdll.dll - but this last time is:

Code: Select all

srvcli.dll, version: 6.1.7601.17514, timestamp: 0x4ce7ba1f
Exception code: 0xc0000005
Offset error 0x00018015
Process ID: 0x13e8
Faulting module path: C:\windows\system32\srvcli.dll
[/size]