Author Topic: Code::Blocks on Ubuntu Gutsy  (Read 2280 times)

Offline Kazade

  • Multiple posting newcomer
  • *
  • Posts: 73
Code::Blocks on Ubuntu Gutsy
« on: August 05, 2007, 07:34:41 pm »
Hi,

Earlier today I upgraded from Feisty to Gutsy Tribe 3. After the upgrade I opened the project I was working on, but whenever I go to File->New->File... CodeBlocks crashes instantly (it just disappears) the same happens when I click the "Rebuild" icon.

So I tried compiling codeblocks natively on Gutsy, the compilation went well, I installed the generated packages, but the same problem occurs :(

this is the output when I run from the terminal and go to File->New->File..

Code: [Select]
*** glibc detected *** codeblocks: double free or corruption (out): 0x09ac0350 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb68bcd75]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb68c0810]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb77ba961]
/usr/lib/libwx_gtk2u_core-2.8.so.0[0xb6e0aab0]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN8wxButton10SetDefaultEv+0xdb)[0xb6e0b14b]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN18wxButtonXmlHandler16DoCreateResourceEv+0x2b2)[0xb71a3cd2]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1b4)[0xb71e9944]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x490)[0xb71ec9d0]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16Handle_sizeritemEv+0xd9)[0xb71ce789]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16DoCreateResourceEv+0x3e)[0xb71cf49e]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1b4)[0xb71e9944]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x4c2)[0xb71eca02]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateChildrenEP8wxObjectb+0x124)[0xb71f0584]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler12Handle_sizerEv+0x143)[0xb71cf1e3]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16DoCreateResourceEv+0x6e)[0xb71cf4ce]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1b4)[0xb71e9944]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x490)[0xb71ec9d0]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16Handle_sizeritemEv+0xd9)[0xb71ce789]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16DoCreateResourceEv+0x3e)[0xb71cf49e]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1b4)[0xb71e9944]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x4c2)[0xb71eca02]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateChildrenEP8wxObjectb+0x124)[0xb71f0584]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler12Handle_sizerEv+0x143)[0xb71cf1e3]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16DoCreateResourceEv+0x6e)[0xb71cf4ce]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1b4)[0xb71e9944]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x490)[0xb71ec9d0]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateChildrenEP8wxObjectb+0x124)[0xb71f0584]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN18wxDialogXmlHandler16DoCreateResourceEv+0x4ab)[0xb71afacb]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x1b4)[0xb71e9944]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x490)[0xb71ec9d0]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource10LoadDialogEP8wxDialogP8wxWindowRK8wxString+0x83)[0xb71ede53]
/usr/lib/libcodeblocks.so.0(_ZN18NewFromTemplateDlgC1E18TemplateOutputTypeRK13wxArrayString+0x156)[0xb7444056]
/usr/lib/libcodeblocks.so.0(_ZN15TemplateManager3NewE18TemplateOutputTypeP8wxString+0x47)[0xb74b17f7]
codeblocks(_ZN9MainFrame13OnFileNewWhatER14wxCommandEvent+0xc9)[0x8090599]
/usr/lib/libwx_baseu-2.8.so.0(_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_+0x35)[0xb6b28f05]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x8f)[0xb6bd10ff]
/usr/lib/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0x7d)[0xb6bd124d]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc6)[0xb6bd13b6]
/usr/Aborted (core dumped)

The output when I click Rebuild is this:

Code: [Select]
/lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb682193b]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb771b961]
/usr/lib/libwx_gtk2u_core-2.8.so.0[0xb6d6bab0]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN8wxButton10SetDefaultEv+0xdb)[0xb6d6c14b]
/usr/lib/libcodeblocks.so.0(_ZN14AnnoyingDialogC1ERK8wxStringS2_S0_NS_6dStyleEibS2_S2_S2_+0x6f0)[0xb72cb070]
/usr/share/codeblocks/plugins/libcompiler.so(_ZN11CompilerGCC9OnRebuildER14wxCommandEvent+0x1be)[0xb11c79fe]
/usr/share/codeblocks/plugins/libcompiler.so(_ZN11CompilerGCC10DispatcherER14wxCommandEvent+0x32f)[0xb11d0f6f]
/usr/lib/libwx_baseu-2.8.so.0(_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_+0x35)[0xb6a89f05]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x8f)[0xb6b320ff]
/usr/lib/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0x7d)[0xb6b3224d]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc6)[0xb6b323b6]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x6b)[0xb6b3235b]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN12wxWindowBase9TryParentER7wxEvent+0x6b)[0xb6e49b6b]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x7b)[0xb6b3236b]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN13wxToolBarBase11OnLeftClickEib+0x62)[0xb6e3f362]
/usr/lib/libwx_gtk2u_core-2.8.so.0[0xb6daaf80]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb77bc219]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb77ae7b2]
/usr/lib/libgobject-2.0.so.0[0xb77c0725]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x823)[0xb77c1b83]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb77c1e29]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_clicked+0x57)[0xb7bdaf07]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bdd06e]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb77bc219]
/usr/lib/libgobject-2.0.so.0[0xb77acfc9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb77ae7b2]
/usr/lib/libgobject-2.0.so.0[0xb77c0baa]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x823)[0xb77c1b83]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb77c1e29]
/usr/lib/libgtk-x11-2.0.so.0(gtk_button_released+0x57)[0xb7bdaf97]
/usr/lib/libgtk-x11-2.0.so.0[0xb7bdb012]
/usr/lib/libgtk-x11-2.0.so.0[0xb7cd0b62]
/usr/lib/libgobject-2.0.so.0[0xb77acfc9]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb77ae7b2]
/usr/lib/libgobject-2.0.so.0[0xb77c0d63]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6d6)[0xb77c1a36]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb77c1e29]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e0a118]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x1ae)[0xb7cc8a6e]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x3c2)[0xb7cc9e42]
/usr/lib/libgdk-x11-2.0.so.0[0xb7b1de2a]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x17c)[0xb771418c]
/usr/lib/libglib-2.0.so.0[0xb77175cf]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb7717979]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7cca2d4]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN11wxEventLoop3RunEv+0x5c)[0xb6d1576c]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN9wxAppBase8MainLoopEv+0x4e)[0xb6db70ae]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN9wxAppBase5OnRunEv+0x21)[0xb6db66a1]
codeblocks[0x806aaf5]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x6a)[0xb6ac62aa]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPc+0x37)[0xb6ac6357]

Anyone have any ideas?

Offline Kazade

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: Code::Blocks on Ubuntu Gutsy
« Reply #1 on: August 05, 2007, 08:08:33 pm »
Don't worry all fixed...

I had enabled the Feisty wxWidgets repository, I removed that, downgraded to the default gutsy libs, then removed all my Codeblocks config.