It is the svn version I'm trying. I noticed that the previous backtrace was created from a stripped code::blocks binary. Here is one from a non-stripped one:
(gdb) bt
#0 0xb76100cc in wxStringBase::find () from /usr/lib/libwx_baseu-2.6.so.0
#1 0xb761022a in wxStringBase::find () from /usr/lib/libwx_baseu-2.6.so.0
#2 0xb7611e9e in wxString::Replace () from /usr/lib/libwx_baseu-2.6.so.0
#3 0xb7e2e26d in UnixFilename (filename=@0x12) at globals.cpp:93
#4 0xb7e14ecb in EditorManager::IsOpen (this=0x84b5f80, filename=@0x12)
at editormanager.cpp:498
#5 0xb7dfe715 in EditorBase::CreateUniqueFilename (this=0x88bf810)
at editormanager.h:60
#6 0xb7dfe2a7 in EditorBase::InitFilename (this=0x88bf810, filename=@0x0)
at string.h:916
#7 0xb7dc778c in cbEditor (this=0x88bf810, parent=0x12, filename=@0xbfaaab70,
theme=0x12) at cbeditor.cpp:324
#8 0xb7e1d517 in EditorManager::New (this=0x84b5f80) at string.h:325
#9 0x080772ec in MainFrame::OnFileNewEmpty (this=0x82a7150, event=@0xbfaaaf50)
at main.cpp:1368
#10 0xb75bad53 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb764b9c4 in wxEvtHandler::ProcessEventIfMatches ()
from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb764bc93 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb764c7ee in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#15 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#16 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#17 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#18 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#19 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#20 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#21 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#22 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#23 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#24 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#25 0xb764c78e in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#26 0xb78e343d in wxWindowBase::TryParent () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#27 0xb764c7a3 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#28 0xb78e343d in wxWindowBase::TryParent () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#29 0xb764c7a3 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#30 0xb78e343d in wxWindowBase::TryParent () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#31 0xb764c7a3 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#32 0xb78d5802 in wxToolBarBase::OnLeftClick ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#33 0xb7861afb in wxToolBar::wxCreateObject ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#34 0xb6ffdf76 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#35 0xb6fe68dd in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#36 0xb6ffc6b0 in g_signal_has_handler_pending () from /usr/lib/libgobject-2.0.so.0
#37 0xb6ffd5b6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#38 0xb6ffd976 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#39 0xb7164133 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#40 0xb71662ae in gtk_button_get_alignment () from /usr/lib/libgtk-x11-2.0.so.0
#41 0xb6ffdf76 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#42 0xb6fe6c09 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#43 0xb6fe68dd in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#44 0xb6ffbfe6 in g_signal_has_handler_pending () from /usr/lib/libgobject-2.0.so.0
#45 0xb6ffd5b6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#46 0xb6ffd976 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#47 0xb7164093 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#48 0xb71655d2 in gtk_button_set_relief () from /usr/lib/libgtk-x11-2.0.so.0
#49 0xb724e781 in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#50 0xb6fe6c09 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#51 0xb6fe68dd in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#52 0xb6ffc250 in g_signal_has_handler_pending () from /usr/lib/libgobject-2.0.so.0
#53 0xb6ffd3db in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#54 0xb6ffd976 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#55 0xb735f6c9 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#56 0xb724b320 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#57 0xb724c8bd in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#58 0xb70c35a2 in gdk_event_get_graphics_expose () from /usr/lib/libgdk-x11-2.0.so.0
#59 0xb6f7866c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#60 0xb6f79fc7 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#61 0xb6f7a2ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#62 0xb724bca3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#63 0xb77e4468 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#64 0xb786bc03 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#65 0xb786bd72 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#66 0x08061af5 in CodeBlocksApp::OnRun (this=0x12) at app.cpp:431
#67 0xb75f1882 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#68 0xb75f1966 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#69 0x08060d5a in main (argc=1, argv=0x12) at app.cpp:84
(gdb)