Registry plugin: Bugs

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

karapuz79
Junior Member
Junior Member
Posts: 21
Joined: 2012-01-07, 17:57 UTC

Post by *karapuz79 »

Hi Nigurrath
Here is the version with primitive logging in DllMain:
link removed

Creates Registry.log in the plugin folder.
Please let me know what it says.
Last edited by karapuz79 on 2012-07-20, 14:18 UTC, edited 1 time in total.
TC 8.01RC4 x64, Win7 x64 SP1
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

2karapuz79:

I've created a Hungarian translation for this useful plugin (including the "pluginst.inf" translation), which you can download from the following link: Keep up the good work.

Edit: fixed link

Best regards,
Bluestar
Last edited by Bluestar on 2012-07-20, 08:52 UTC, edited 2 times in total.
» Developer of Total Updater & extDir utility.
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

@karapuz79,
here's the result

Generating configuration file
Configuration file created
Configuration file read
RegDeleteKeyEx loaded
GetNativeSystemInfo loaded
Search History loaded
Host History loaded
HEX Windows prepared
DisableThreadLibraryCalls called
Language file selected

and then bang
always latest 32b TC on a WIN10 64b
karapuz79
Junior Member
Junior Member
Posts: 21
Joined: 2012-01-07, 17:57 UTC

Post by *karapuz79 »

Nigurrath
Thanks! Just to be sure - are you using English.lng from the archive, no modifications?
TC 8.01RC4 x64, Win7 x64 SP1
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

yes of course
always latest 32b TC on a WIN10 64b
karapuz79
Junior Member
Junior Member
Posts: 21
Joined: 2012-01-07, 17:57 UTC

Post by *karapuz79 »

2Nigurrath
Cheers! Sounds like buffer overflow somewhere and your system configuration is strict enought to notice this and crash. Anything special like strict antivirus or Data Execution Prevention on for all programs? Will take a look tonight.

2Bluestar
Thanks, will add it.
TC 8.01RC4 x64, Win7 x64 SP1
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

Hi,
I also supposed it could have been something similar and I have purposely completely disabled the AV system, but the result is still the same..
always latest 32b TC on a WIN10 64b
karapuz79
Junior Member
Junior Member
Posts: 21
Joined: 2012-01-07, 17:57 UTC

Post by *karapuz79 »

Hi Nigurrath
Theoretically fixed few minor issues, improved logging, uploaded new version, please try now:
link removed
Last edited by karapuz79 on 2012-07-20, 14:18 UTC, edited 1 time in total.
TC 8.01RC4 x64, Win7 x64 SP1
karapuz79
Junior Member
Junior Member
Posts: 21
Joined: 2012-01-07, 17:57 UTC

Post by *karapuz79 »

2Bluestar
Cannot download http://bluesoft.hu/software/others/registry_wfx_50_hungarian.zip, no such file on the server.
TC 8.01RC4 x64, Win7 x64 SP1
User avatar
Bluestar
Senior Member
Senior Member
Posts: 377
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

2karapuz79:
Ah sorry, my fault - the filename is with two zeros. So instead of "wfx_50" its "wfx_500".
I have fixed the link in my previous post (and you can also download the translation by clicking here) - now it works for sure. :)
» Developer of Total Updater & extDir utility.
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

Hi mate,
here's the new log.. and still bang at the end. I used the lng file you provided ofc

Dunno if helps, but I also tried to manually install the wfx and access from TC (it invokes a different function) but all I get is "Error, could not load plugin" ..

Configuration file created
Configuration file read
RegDeleteKeyEx loaded
GetNativeSystemInfo loaded
Search History loaded
Host History loaded
HEX Windows prepared
DisableThreadLibraryCalls called
Language file selected
Language file mask created
Allocated memory for file names
Allocated memory for lang names
Allocated memory for strings
Loading lang file
Split ini file
Split lang file name
Made lang file name
Opened lang file for reading
Read lang file
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Parsed line
Released lang file content
Loaded lang file
Loading lang file
Split ini file
Split lang file name
Made lang file name
Loaded lang file
Loading lang file
Split ini file
Split lang file name
Made lang file name
Opened lang file for reading
Read lang file
always latest 32b TC on a WIN10 64b
karapuz79
Junior Member
Junior Member
Posts: 21
Joined: 2012-01-07, 17:57 UTC

Post by *karapuz79 »

Hi Nigurrath
Thanks for the log, it sheds more light on the potential issue.
Which *.lng files do you have in the plugin folder? It looks like the failure happens right after second *.lng file is read into memory. Just wondering if there are too many of them (though current limit is 20 and further are ignored) or one of the .lng files is irrelevant for this plugin and has unexpected content.
TC 8.01RC4 x64, Win7 x64 SP1
User avatar
Nigurrath
Senior Member
Senior Member
Posts: 225
Joined: 2003-02-05, 12:41 UTC

Post by *Nigurrath »

Hi
I found the point! Were several lng files, coming from other plugins (previously I was just looking at those coming from your plugin, sorry). It is this: you are parsing the lng files just using the lng extension (or some special names) and there were several lng files in the plugin folder coming from other extensions. As a result one of the wrong lng files was loaded and just because it wasn't fitting the expected format the plugin crashed.

As a test I removed all the other lng files except the English.lng and the plugin now works fine, but it's only a test because those lng files are actually used by other plugins. I therefore suggest to use a special name for your lng files or a special folder or even a special marker inside the file (e.g. a special string in the file).
always latest 32b TC on a WIN10 64b
karapuz79
Junior Member
Junior Member
Posts: 21
Joined: 2012-01-07, 17:57 UTC

Post by *karapuz79 »

Thank you, case closed.

I strongly recommend to install all the plugins in separate folders (TC does this automagically). Otherwise it will always be some sort of "plugin hell".
TC 8.01RC4 x64, Win7 x64 SP1
Jon Canale
Member
Member
Posts: 141
Joined: 2003-02-07, 12:54 UTC

Post by *Jon Canale »

Nigurrath,

You dump all your plugins to a common folder?? That sounds like trouble right there - there are multiple plugins using language files with the same extension.
Post Reply