If I type something in the textbox of the IncrementalSearch toolbar and press enter it crashes C::B. I'm running svn 5275 compiled with TDM GCC running on XP Pro SP2.
edit: It's due to the fact that the textbox is initially enabled when it perhaps it shouldn't be (i.e. when there is no open file).
It should not be enabled, when no file is open.
And on my systems (linux, w2k and xp) it is not.
Do you have a crash-report ("codeblocks.rpt") in the directory, where the C::B executable is ?
If yes it would be nice if you attach it, or send it to me via PM or mail.
If it's very large, there are most likely other (older) crashes included. I need only the actual crash (with IncSearch).
What I can do is put guards inside the functions that use the textcontrol, but there should be no need for it, because they normally can't be reached if there is no file open, because the textcontrol (and and the left and right arrows) should be disabled.
It would be nice, if you could put the followin line into "IncrementalSearch::OnEditorEvent(CodeBlocksEvent& event)" [line 187]:
Manager::Get()->GetLogManager()->Log(F(_("IncrementalSearch::OnEditorEvent(), m_pControl = 0x%x"),m_pControl));
directly below
m_pControl = Manager::Get()->GetEditorManager()->GetBuiltinActiveEditor() ? Manager::Get()->GetEditorManager()->GetBuiltinActiveEditor()->GetControl() : 0;
and post the appropriate output of the "Code::Blocks" logger-panel, directly after starting C::B and after opening a file and closing all files.