Page 1 of 1

Lister crash under Virtualbox 6.0.8

Posted: 2019-05-22, 09:54 UTC
by qastrox
Hello
Total commander 9.22a crashes when viewing a file with lister under following conditions
- Windows 7 under Virtualbox ver 6.0.8 with Guest Additions 6.0.8
- try to read a file in a file system shared with host machine (host machine is windows 10)
- all lister plugins disabled

It used to work fine with Guest Additions version 6.0.4, but I can't go back to 6.0.4, because Virtual Box lets you install only last version.

Anyone has a similar problem?

log follows:

Code: Select all

---------------------------
Total Commander 9.22a
---------------------------
Invalid pointer operation.
Invalid pointer operation
Windows 7 SP1 Professional 6.1 (Build 7601), 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:
7541C5AF
0042B626  0044AB62  >00427706  0044A104  00427706  0044AB62
00427706  0044A05A  00427706  00448B61  0044AB62  00427706
0044A104  00427706  0044A05A  00427706  0044AB62  00427706
0044A104  00427706  0042CE8D  0042CF28  
Raw:
004026A0  00402D30  004091A3  00402726  0042B626  0042B547
0042ACB3  00448B61  0044AE31  0042964D  0044A1CE  0044AB62
00427706  0044A104  00427706  0044AB62  00427706  0044A05A
00427706  0044AEDB  0042A1E5  0044BB22  0042AD52  00448B61
0044AE31  0042964D  0044A1CE  0044AB62  00427706  0044A104
00427706  0044A05A  00427706  00448B61  0044AEDB  0042A1E5
00448D8E  00448B61  0044AE31  0042964D  0044A1CE  0044AB62
00427706  0044A104  00427706  00412560  0042CE8D  0042CF28
0042D0E2  
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes   No   
---------------------------
Thank you
Nicola Pibiri

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-22, 15:41 UTC
by qastrox
UPDATE:
I found old versions of Virtual Box Guest Additions here (http://download.virtualbox.org/virtualbox/6.0.6/) and installed some of them
I confirm that:
- with version 6.0.6, lister works properly again
- with version 6.0.8, files in shared file systems make TC crash
Thank you
NP

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-23, 09:42 UTC
by ghisler(Author)
Thanks for your report, looks like a Windows function to read from disk is malfunctioning. The stack trace didn't reveal anything useful, so I will have to try it myself.

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-23, 12:57 UTC
by ghisler(Author)
I have updated to 6.0.8 now with guest 6.0.8, but I do not get a crash viewing files remotely. I have a Windows 10 x64 host and a Windows 7 x64 guest. I tried to access the host in 3 different ways:
1. Network share: cd \\server\share
2. Map network drive y: to \\server\share
3. Used common folders defined in Virtual Box

- Which method did you use to access the host with Total Commander?
- Does it also crash with Ctrl+Shift+F3 instead of F3?

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-23, 13:35 UTC
by qastrox
hello
TC Lister crashes with all the methods you wrote
Ctrl+Shift+F3 does not open Lister in my current configuration, I can open lister with F3 and Shift-F3 and both make TC crash.
Meanwhile, I tried also with a clean installation of TC, and I did not get the error. Maybe it depends by another plugin (sftp, TFS, webdav?) or a configuration...
I will investigate further and let you know
Thank you
Nicola.

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-23, 15:57 UTC
by qastrox
Hello
after some tests, I found out that the error is caused by this line in wincmd.ini, [Lister] section

Code: Select all

unwrapwidth=16384
Please, may you check?

Thank You
Nicola

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-23, 18:59 UTC
by Usher
2qastrox
Change this limit to 2048 and check it, please…

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-24, 06:57 UTC
by qastrox
hello Andrzej
It works fine with unwrapwidth=2048.
I made some other tests and it seems that the break limit value is between 7500 and 8000
Nicola

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-24, 13:29 UTC
by Usher
2qastrox
There are some known problems with long lines in Lister, which were already reported here:
https://www.ghisler.ch/board/viewtopic.php?f=28&t=51215
It's possible that newest Guest Additions break support for older hardware, so you can test newer graphic drivers in Windows 7 guest – if they are available.
But if you don't need longer lines for everyday work, you should better stay with 2048, it's a safe setting.

Re: Lister crash under Virtualbox 6.0.8

Posted: 2019-05-27, 13:44 UTC
by ghisler(Author)
unwrapwidth=16384
This is a display driver problem. Officially the text functions support up to 8192(?) characters, but most display drivers support longer strings. I cannot break it into multiple calls because this would break compatibility with right to left text...