News:

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

Main Menu

Crash in 5905 when disabling a plugin

Started by ironhead, November 09, 2009, 04:23:55 AM

Previous topic - Next topic

ironhead

I just svn'd up to 5905 and now whenever I try to disable a plugin, I get an immediate crash.  Enabling a plugin seems to work fine.

I'm running Windows XP Professional with Code::Blocks compiled with MinGW GCC/G++ 4.4.0.

No .RPT file is being generated.

Jenna


MortenMacFly

Quote from: ironhead on November 09, 2009, 04:23:55 AM
I just svn'd up to 5905 and now whenever I try to disable a plugin, I get an immediate crash.
What plugin? Notice that this usually is a bug in the plugin, not C::B.
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]

ironhead

#3
For me it's happening for all plugins.

Edit: Running codeblocks.exe through GDB when the crash occurs I get:

Program received signal SIGSEGV, Segmentation fault.
0x6277aeab in wxEvtHandler::SearchDynamicEventTable(wxEvent&)
   from C:\Source\codeblocks\trunk\src\devel\wxmsw28u_gcc_custom.dll

Pecan

#4
This seems to be caused by the new BrowseTracker jump code.
I'm looking into it.

Fixed: SVN 5908

ironhead

Quote from: Pecan on November 09, 2009, 03:18:20 PM
Fixed: SVN 5908

I confirm that it is fixed.  Thank you for the quick response Pecan! :)

ollydbg

Hi, Pecan:
I have just built the SVN 5908, but I still don't know how to use the new BrowserTrack feature---it seems this plug-in can record the jump information....

Can you give a simple instruction? Which key should I use to navigate forward between the jump position?

Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Pecan

#7
Quote from: ollydbg on November 10, 2009, 01:54:30 PM
Hi, Pecan:
I have just built the SVN 5908, but I still don't know how to use the new BrowserTrack feature---it seems this plug-in can record the jump information....

Can you give a simple instruction? Which key should I use to navigate forward between the jump position?

Thanks.

You'll have to assign a key to View->Jump Back/Frwd with Settings->Editor->Keyboard Shortcuts (KeyBinder)

ollydbg

Quote from: Pecan on November 10, 2009, 02:12:33 PM
Quote from: ollydbg on November 10, 2009, 01:54:30 PM
Hi, Pecan:
I have just built the SVN 5908, but I still don't know how to use the new BrowserTrack feature---it seems this plug-in can record the jump information....

Can you give a simple instruction? Which key should I use to navigate forward between the jump position?

Thanks.

You'll have to assign a key to View->Jump Back/Frwd with Settings->Editor->Keyboard Shortcuts (KeyBinder)

Thanks, it works great!!!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.