Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on January 18, 2006, 09:36:40 am

Title: C::B crash with SVN head rev. 1792 (keybinder?)
Post by: MortenMacFly on January 18, 2006, 09:36:40 am
Dear all,
I've updated the sources of C::B to revision 1792 (unicode). I compiled the workspace using "build" and everything was working fine. Then (by accident) I deleted the plugins subfolder. So I decided to do a complete re-build with the very same sources. Suddenly C::B crashes on startup. The cause seems to be the keybinder plugin. I've attached the error report to this message. Is anyone else experiencing the same issue? By the way: If I remove the keybinder DLL from the plugins folder C::B works fine again.
With regards, Morten.

[attachment deleted by admin]
Title: Re: C::B crash with SVN head rev. 1792 (keybinder?)
Post by: MortenMacFly on January 18, 2006, 09:38:45 am
By the way: Is it possible to add "*.rpt" to the extensions the forum users are allowed to upload? If I try to post a message without renaming the file I get an error message and then I cannot re-post the message again. The message is greyed and the post / preview buttons have no effect... :?
Title: Re: C::B crash with SVN head rev. 1792 (keybinder?)
Post by: Ceniza on January 18, 2006, 09:39:58 am
That happens here too.

Pecan made a few changes in that plugin to get it compiling under Linux, but now it crashes under Windows.
Title: Re: C::B crash with SVN head rev. 1792 (keybinder?)
Post by: mandrav on January 18, 2006, 10:06:18 am
By the way: Is it possible to add "*.rpt" to the extensions the forum users are allowed to upload? If I try to post a message without renaming the file I get an error message and then I cannot re-post the message again. The message is greyed and the post / preview buttons have no effect... :?

Done.
Title: Re: C::B crash with SVN head rev. 1792 (keybinder?)
Post by: MortenMacFly on January 18, 2006, 10:12:48 am
Done.
Thanks.
By the way: Very nice new logo!!! :lol: :lol: :lol:
Title: Re: C::B crash with SVN head rev. 1792 (keybinder?)
Post by: Pecan on January 18, 2006, 03:08:03 pm
That happens here too.

Pecan made a few changes in that plugin to get it compiling under Linux, but now it crashes under Windows.

1/18/2006 9:06 AM
I just deleted the keybinder contrib and updated to
svn 1800, recompiled and am
running under windows & gdb with no crashes.  I'm not
running astye and codecompletion plugins.

Can anyone tell me how to get the "keybinder"
crash?

thanks
pecan


EDIT: I see from the report above, that the crash
happened in PluginSDKversion(). used in keybinder
as
Code
    // Create filename like cbKeyBinder{pluginversion}v{sdkversion}.ini
    // +v0.4.1 Get major and minor SDK versions to use in filename
    int SDKmajor; int SDKminor; int SDKrelease;
    PluginSDKVersion( &SDKmajor, &SDKminor, &SDKrelease);


Is there a safer way to do this?
Title: Re: C::B crash with SVN head rev. 1792 (keybinder?)
Post by: MortenMacFly on January 18, 2006, 04:51:26 pm
Can anyone tell me how to get the "keybinder" crash?
Dear Pecan,
It happens that revision 1800 seems to have this problem solved. I compiled by now and I am running C::B with the keybinder plugin again without any trouble. So the reason might have not been the plugin...?!
Morten.
Title: Re: C::B crash with SVN head rev. 1792 (keybinder?)
Post by: tiwag on January 18, 2006, 05:07:19 pm
i don't get a keybinder crash with CB rev 1800 too