Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Registry plugin: Bugs
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
karapuz79
Junior Member
Junior Member


Joined: 07 Jan 2012
Posts: 21

PostPosted: Wed Jul 18, 2012 4:30 pm    Post subject: Reply with quote

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.
_________________
TC 8.01RC4 x64, Win7 x64 SP1


Last edited by karapuz79 on Fri Jul 20, 2012 8:18 am; edited 1 time in total
Back to top
View user's profile Send private message
Bluestar
Senior Member
Senior Member


Joined: 10 Jun 2007
Posts: 227
Location: Hungary

PostPosted: Wed Jul 18, 2012 6:27 pm    Post subject: Reply with quote

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
_________________
» Developer of Total Updater & extDir utility.


Last edited by Bluestar on Fri Jul 20, 2012 2:52 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nigurrath
Member
Member


Joined: 05 Feb 2003
Posts: 177

PostPosted: Thu Jul 19, 2012 2:04 am    Post subject: Reply with quote

@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
_________________
TC8.01 32b, WIN7 32b
Back to top
View user's profile Send private message
karapuz79
Junior Member
Junior Member


Joined: 07 Jan 2012
Posts: 21

PostPosted: Thu Jul 19, 2012 2:38 am    Post subject: Reply with quote

Nigurrath
Thanks! Just to be sure - are you using English.lng from the archive, no modifications?
_________________
TC 8.01RC4 x64, Win7 x64 SP1
Back to top
View user's profile Send private message
Nigurrath
Member
Member


Joined: 05 Feb 2003
Posts: 177

PostPosted: Thu Jul 19, 2012 4:28 am    Post subject: Reply with quote

yes of course
_________________
TC8.01 32b, WIN7 32b
Back to top
View user's profile Send private message
karapuz79
Junior Member
Junior Member


Joined: 07 Jan 2012
Posts: 21

PostPosted: Thu Jul 19, 2012 5:38 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Nigurrath
Member
Member


Joined: 05 Feb 2003
Posts: 177

PostPosted: Thu Jul 19, 2012 8:28 am    Post subject: Reply with quote

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..
_________________
TC8.01 32b, WIN7 32b
Back to top
View user's profile Send private message
karapuz79
Junior Member
Junior Member


Joined: 07 Jan 2012
Posts: 21

PostPosted: Thu Jul 19, 2012 4:33 pm    Post subject: Reply with quote

Hi Nigurrath
Theoretically fixed few minor issues, improved logging, uploaded new version, please try now:
link removed
_________________
TC 8.01RC4 x64, Win7 x64 SP1


Last edited by karapuz79 on Fri Jul 20, 2012 8:18 am; edited 1 time in total
Back to top
View user's profile Send private message
karapuz79
Junior Member
Junior Member


Joined: 07 Jan 2012
Posts: 21

PostPosted: Thu Jul 19, 2012 4:35 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Bluestar
Senior Member
Senior Member


Joined: 10 Jun 2007
Posts: 227
Location: Hungary

PostPosted: Fri Jul 20, 2012 2:54 am    Post subject: Reply with quote

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. Smile
_________________
» Developer of Total Updater & extDir utility.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nigurrath
Member
Member


Joined: 05 Feb 2003
Posts: 177

PostPosted: Fri Jul 20, 2012 4:04 am    Post subject: Reply with quote

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
_________________
TC8.01 32b, WIN7 32b
Back to top
View user's profile Send private message
karapuz79
Junior Member
Junior Member


Joined: 07 Jan 2012
Posts: 21

PostPosted: Fri Jul 20, 2012 4:16 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Nigurrath
Member
Member


Joined: 05 Feb 2003
Posts: 177

PostPosted: Fri Jul 20, 2012 5:29 am    Post subject: Reply with quote

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).
_________________
TC8.01 32b, WIN7 32b
Back to top
View user's profile Send private message
karapuz79
Junior Member
Junior Member


Joined: 07 Jan 2012
Posts: 21

PostPosted: Fri Jul 20, 2012 6:14 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Jon Canale
Member
Member


Joined: 07 Feb 2003
Posts: 100

PostPosted: Fri Jul 20, 2012 6:42 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5  Next
Page 3 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group