Page 1 of 1

Application crash and corrupted configuration

Posted: 09 Nov 2017, 21:36
by SelfMan
Hi guys.
My Salamander crashed today while closing the application. After that, it started to complain about corrupted configuration in the windows registry.
This has been mentioned here a few times already. While Salamnder complains about the configuration beeing corrupted, it actually does not mean it has to be corrupted.

Now i have a little workarround for that, which allows you a normal application start.

While Salamander 3.08 is exiting or storing the configuration, it creates a new entry of type DWORD32 and value 1 in the registry:
"HKCU\Software\Altap\Altap Salamander 3.08\Save In Progress" .
The value is removed after the successfull storage of the configuration. it is not enough to set the parameter to 0 (zero).
So if the configuration is not really corrupted and the parameter removed, the application will start as usual.
The restart of Windows is not needed.

#corrupted configuration
#registry
#crash

Re: Application crash and corrupted configuration

Posted: 10 Nov 2017, 19:15
by SvA
Just a warning: if you do this, you risk a buggy, instable Salamander, because configuraion data indeed may be incomplete and inconsistent. Avoid it if possible. Also you might loose things like plugins,user menu entries, ftp sites, viewers and editors ...

In a case of corruption, I tend to export the configuration using regedit and merge it with a previously saved configuration. With some forensic intuition you should be able to figure out, how the structures and relations should be.
If you do this, remember to delete the 'Save In Progress' value from the merged registry file and the old configuration from the registry entirely before importing the merged reg file.

Re: Application crash and corrupted configuration

Posted: 10 Nov 2017, 20:27
by SelfMan
I forgot to mention that after you start the application, you might immediately use the Options > Save configuration
I believe that the values from the registry are checked befor they are loaded/used. This is more of a question to the developers, how "dangerous" this procedure is.

Re: Application crash and corrupted configuration

Posted: 26 Feb 2018, 14:52
by garryjoshi
Salamander (v3.08) is constantly crashing on Win 10 after the recent system updates. How do fix it??

Re: Application crash and corrupted configuration

Posted: 26 Feb 2018, 14:52
by garryjoshi
I have the error logs where shall I send them?

Re: Application crash and corrupted configuration

Posted: 27 Feb 2018, 00:28
by SelfMan
The most probable cause of the crash is some faulty shellextension.
Use ShellExView from Nirsoft to disable all non standard extensions and enable them later one by one to find the faulty one.