Hmmm... Sorry. Do not shoot the messenger...
I open ITT with my target language. I write something into filter. Filter does the job as expected. Then I click on one of the filtered strings...
That results in a hang with 90+% CPU, without requested string ever being positioned in the editing area. I have to kill the process.
I am appending the current .lng (here named XXX.lng) for debugging purposes. Also, my entry into the ITT filter is ime i dim which brings up two strings.
Hope this helps and is reproducible - it is definitely reproducible at my place.
[Solved] ITT: 11.90.0215 sometimes hanging with 90+% CPU
Forum rules
You might want to read this if you're looking for priority service
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%).
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.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
[Solved] ITT: 11.90.0215 sometimes hanging with 90+% CPU
To see the attached files, you need to log into the forum.
Last edited by Borut on 28 Jan 2013 13:29, edited 1 time in total.
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 67315
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ITT: 11.90.0215 sometimes hanging with 90+% CPU
Got it. 
The cause was the last line in your LNG file. It is empty for some reason:
It should look like this:
Whatever, the crash won't come anymore even if a line is empty.
The cause was the last line in your LNG file. It is empty for some reason:
Code: Select all
ms.2424=01|Code: Select all
ms.2424=00|zoomed to <$dimensions>|--|zoomed to <$dimensions>FAQ | XY News RSS | XY X
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Re: ITT: 11.90.0215 sometimes hanging with 90+% CPU
Thank you!
I have done some forensics
- here are the facts:
I have no idea how this empty last line was brought to existence.
I now noticed that even in my last "official" version the last line apparently contains:
Seems a bit illegal to me.
A recent event "25" with French translation comes to ones mind!
I have not been using 3rd party tools with .lng for weeks (since my switch to UTF-8) - I have been using ITT exclusively. (Now I used an editor to bring the last line to what it should be.)
In my ITT work flow it happened a few times that I was typing in thinking I am typing in filter, but I was typing in the translation edit field - and vice versa. I also noted that there are situations when the translation edit field still has content, while no visible string is focused in the list (depending on filter inputs, display selections, ...). Maybe this is suboptimal when one is not concentrated or is tired.
I'll keep eyes wide open and inform you if anything like this happens again (=illegal last line produced).
I have done some forensics
I have no idea how this empty last line was brought to existence.
I now noticed that even in my last "official" version the last line apparently contains:
Code: Select all
ms.2424=01|zoomA recent event "25" with French translation comes to ones mind!
I have not been using 3rd party tools with .lng for weeks (since my switch to UTF-8) - I have been using ITT exclusively. (Now I used an editor to bring the last line to what it should be.)
In my ITT work flow it happened a few times that I was typing in thinking I am typing in filter, but I was typing in the translation edit field - and vice versa. I also noted that there are situations when the translation edit field still has content, while no visible string is focused in the list (depending on filter inputs, display selections, ...). Maybe this is suboptimal when one is not concentrated or is tired.
I'll keep eyes wide open and inform you if anything like this happens again (=illegal last line produced).
Win 10 Pro 64bit
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Re: ITT: 11.90.0215 sometimes hanging with 90+% CPU
It is absolutely crazy what is happening with the last line...
Open .lng in a third party editor, which is able to note the outside change of a file being edited. Position it to the end of .lng file.
In ITT click on the first string in the list (Language); in the edit field delete the last character of the language name; press ENTER; click on Save.
Go to your editor. Reload. What do you see? I see one character less at the end of the last line.
But, it can get even more interesting... If you now add the missing character of the language name in the ITT (the one you explicitly deleted before) and repeat, the missing character in the last line will reappear in the .lng file again too.
Good luck with this one Don!
Open .lng in a third party editor, which is able to note the outside change of a file being edited. Position it to the end of .lng file.
In ITT click on the first string in the list (Language); in the edit field delete the last character of the language name; press ENTER; click on Save.
Go to your editor. Reload. What do you see? I see one character less at the end of the last line.
But, it can get even more interesting... If you now add the missing character of the language name in the ITT (the one you explicitly deleted before) and repeat, the missing character in the last line will reappear in the .lng file again too.
Good luck with this one Don!
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 67315
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ITT: 11.90.0215 sometimes hanging with 90+% CPU
Confirmed. Crazy. Working on it.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 67315
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ITT: 11.90.0215 sometimes hanging with 90+% CPU
Got it!
Another very good bug, thanks! (Only could happen when writing data to UTF-8 files.)
FAQ | XY News RSS | XY X
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Re: ITT: 11.90.0215 sometimes hanging with 90+% CPU
Oh, and I was myself thinking that it could do something with UTF-8, but forgot to mention the idea. Hopefully you did not forget that I am probably the only @%$!?& using UTF-8 for .lng, more or less just for fun.admin wrote:(Only could happen when writing data to UTF-8 files.)
Am really sorry to have spoiled your whole weekend. Thank you once more.
Win 10 Pro 64bit
-
admin
- Site Admin
- Posts: 67315
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ITT: 11.90.0215 sometimes hanging with 90+% CPU
spoiled? Bug squashing is my favorite pasttime -- it is totally relaxing!
FAQ | XY News RSS | XY X
XYplorer Beta Club