Translation Tool crashes XY

Things you’d like to miss in the future...
Flora_RMC
Posts: 279
Joined: 28 Dec 2012 09:50

Translation Tool crashes XY

Post 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.
Attachments
XY_crash.jpg
XY_crash.jpg (19.7 KiB) Viewed 3399 times

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: Translation Tool crashes XY

Post by Marco »

Can't repro here, but I'm using Win 8.1 and not 7 like you. This could be the cause.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: Translation Tool crashes XY

Post by admin »

Which version of XY is that?

PeCe
Posts: 12
Joined: 16 May 2014 17:04

Re: Translation Tool crashes XY

Post by PeCe »

No repro here too, Win7 and the newest 14.40.0305 version. (Before also no problems) with the translation tool.
Greetings Peter,
using Win7 (64bit), XYplorer 19.10

Flora_RMC
Posts: 279
Joined: 28 Dec 2012 09:50

Re: Translation Tool crashes XY

Post 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:
Attachments
XY_error.jpg
XY_error.jpg (58.9 KiB) Viewed 3341 times

Flora_RMC
Posts: 279
Joined: 28 Dec 2012 09:50

Re: Translation Tool crashes XY

Post 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.

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

Re: Translation Tool crashes XY

Post by admin »

Mystery! Cannot repro. :veryconfused:

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Translation Tool crashes XY

Post by bdeshi »

Maybe something wrong with the lng file itself?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Translation Tool crashes XY

Post 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.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Translation Tool crashes XY

Post by bdeshi »

Right, it looks like a vb error anyways...
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Translation Tool crashes XY

Post 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 3304 times
:eh:
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Translation Tool crashes XY

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Translation Tool crashes XY

Post by admin »

Confirmed, good find!

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

Re: Translation Tool crashes XY

Post 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.

Flora_RMC
Posts: 279
Joined: 28 Dec 2012 09:50

Re: Translation Tool crashes XY

Post 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]
Attachments
After downloading an online language file
After downloading an online language file
XY_download_lng.jpg (56.65 KiB) Viewed 3258 times
While switching languages and after saving in the Translation Tool
While switching languages and after saving in the Translation Tool
XY_load&save_lng.jpg (18.85 KiB) Viewed 3258 times

Post Reply