FAR crash caused by setting SavedFolderHistory/HistoryCount

Here you can report bugs found in Far Manager.
Locked
Gammatester
Posts: 13
Joined: Fri Jan 20, 2006 5:14 pm

FAR crash caused by setting SavedFolderHistory/HistoryCount

Post by Gammatester » Mon Apr 03, 2006 7:38 pm

FAR manager 1.70 build 2087 crashes if the HistoryCount for visited
folders is set to a value lower the current number of saved folders.
(TechInfo #52). A red error message dialog appears:

Internal error
Exception occurred:
"Attempt to read from the inaccessible address 0xFFFFFFFF"
Exception address: 0x3 in module:
C:\PROGRAMME\FAR\FAR.EXE
FAR Manager will be terminated!


The registry in look like this:

[HKEY_CURRENT_USER\Software\Far\SavedFolderHistory]
"Lines"=hex:45,3a,5c,42,43,34,...
"Types"="0000000000000000000000000000000000000000000000000000"
"Position"=dword:0000003b
"HistoryCount"=dword:00000020

It's not possible not start FAR, even with FAR /p. If the entries
"Lines", "Types", "Position" are deleted FAR starts normally.

A warning should be added to TechInfo #52 and/or FAR should
check and clear the history entries at startup.

Wolfgang

User avatar
t-rex
Admin
Posts: 417
Joined: Sun Mar 20, 2005 6:10 pm
Location: Ashdod
Contact:

Post by t-rex » Mon Apr 03, 2006 10:24 pm

We'll check it out.

Locked