Page 1 of 1

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

Posted: 2025-06-28, 16:22 UTC
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?
---------------------------
Да Нет
---------------------------

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

Posted: 2025-06-29, 07:58 UTC
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?

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

Posted: 2025-06-29, 10:39 UTC
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?

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

Posted: 2025-06-29, 12:02 UTC
by petermad
2MaxX

I tested UnwrapWidth=16384 on Windows XP 32bit (regular installation, not virtual), and could not reproduce the problem.

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

Posted: 2025-06-30, 08:41 UTC
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?

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

Posted: 2025-06-30, 10:59 UTC
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.

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

Posted: 2025-07-01, 09:37 UTC
by ghisler(Author)
That's a strange maximum. Does the text contain any TAB characters (code 09)?