Author Topic: C::B crash with SVN head rev. 1792 (keybinder?)  (Read 8920 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
C::B crash with SVN head rev. 1792 (keybinder?)
« 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]
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: C::B crash with SVN head rev. 1792 (keybinder?)
« Reply #1 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... :?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: C::B crash with SVN head rev. 1792 (keybinder?)
« Reply #2 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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: C::B crash with SVN head rev. 1792 (keybinder?)
« Reply #3 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.
Be patient!
This bug will be fixed soon...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: C::B crash with SVN head rev. 1792 (keybinder?)
« Reply #4 on: January 18, 2006, 10:12:48 am »
Done.
Thanks.
By the way: Very nice new logo!!! :lol: :lol: :lol:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2873
Re: C::B crash with SVN head rev. 1792 (keybinder?)
« Reply #5 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?
« Last Edit: January 18, 2006, 03:33:15 pm by Pecan »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: C::B crash with SVN head rev. 1792 (keybinder?)
« Reply #6 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: C::B crash with SVN head rev. 1792 (keybinder?)
« Reply #7 on: January 18, 2006, 05:07:19 pm »
i don't get a keybinder crash with CB rev 1800 too