News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

C::B crash with SVN head rev. 1792 (keybinder?)

Started by MortenMacFly, January 18, 2006, 09:36:40 AM

Previous topic - Next topic

MortenMacFly

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]
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

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... :?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Ceniza

That happens here too.

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

mandrav

Quote from: 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... :?

Done.
Be patient!
This bug will be fixed soon...

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Pecan

#5
Quote from: 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.

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
    // 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?

MortenMacFly

Quote from: Pecan on January 18, 2006, 03:08:03 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

tiwag

i don't get a keybinder crash with CB rev 1800 too