[11.55] Sudden error after F3 on txt file from VirtualBox shared folder

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1198
Joined: 2012-03-23, 18:15 UTC
Location: UA

[11.55] Sudden error after F3 on txt file from VirtualBox shared folder

Post by *MaxX »

---------------------------
Total Commander 11.55
---------------------------
Invalid pointer operation.
Invalid pointer operation
Windows XP SP3 5.1 (Build 2600), base: 00400000

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Delphi exception: EInvalidPointer
Stack trace:
7C812AEB
0042FBFE 0045038A >0042BC2A 0044F928 0042BC2A 0044F87E
0042BC2A 0042F32A 0044F928 0042BC2A 00431465 00431500

Raw:
004026AC 00402D5C 004091C3 00402732 00450703 0042FBFE
0042FB1F 0042F28B 0044E385 00450659 0042DC25 0044F9F2
0045038A 0042BC2A 0044F928 0042BC2A 0044F87E 0042BC2A
00450703 0042E7BD 00451396 0042F32A 0044E385 00450659
0042DC25 0044F9F2 0045038A 0042BC2A 0044F928 0042BC2A
00412CE0 00431465 00431500 004316BA
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Да Нет
---------------------------
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50934
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.55] Sudden error after F3 on txt file from VirtualBox shared folder

Post by *ghisler(Author) »

Unfortunately the error isn't in my own code, it's in the compiler library, in the code when closing a window.
1. What were you trying to view?
2. Any Lister plugins installed?
3. Is this within the virtual machine?
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1198
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [11.55] Sudden error after F3 on txt file from VirtualBox shared folder

Post by *MaxX »

1. Just a regular ansi text files with some personal reminders for me to do. No media or archives are affected, I can F3 on them without errors.
2. I have two WLX plugins there (Imagine Unicode and Total7zip). But I also tested that with empty [ListerPlugins] part and have the same result.
3. Yes, it is guest machine in VirtualBox, just as I wrote in the topic. Any local files on C: (vhd) or D: (optical) of guest machine are shown fine. That only affects regular txt files on Z: (shared folder).

UPD.
Seems I found the possible reason. Just noticed that TC with empty ini does not fail in the same conditions. Then I tried to delete some wincmd.ini parts one by one. And stopped on this one:
UnwrapWidth=16384
Error is gone without it. I have added it few days ago. Is there any limit in XP for it?
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [11.55] Sudden error after F3 on txt file from VirtualBox shared folder

Post by *petermad »

2MaxX

I tested UnwrapWidth=16384 on Windows XP 32bit (regular installation, not virtual), and could not reproduce the problem.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50934
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.55] Sudden error after F3 on txt file from VirtualBox shared folder

Post by *ghisler(Author) »

It could be the VirtualBox display driver: Some drivers seem to have a limit of 8192 characters in the DrawText/TextOut functions and crash when passing a longer line to them. Can you try with UnwrapWidth=8192 or UnwrapWidth=8191 instead of 16384?
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1198
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [11.55] Sudden error after F3 on txt file from VirtualBox shared folder

Post by *MaxX »

I've checked this deeper.
Max working is:

Code: Select all

[Lister]
UnwrapWidth=7679
and anything less.
Value of 7680 (and any bigger) causes the reported error.
Ukrainian Total Commander Translator. Feedback and discuss.
Post Reply