Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: kai on December 06, 2005, 06:18:53 pm

Title: [solved] crash on saving
Post by: kai on December 06, 2005, 06:18:53 pm
Hi,

I've checked out the current cvs and succesfully compiled it on ubuntu linux. On startup I get the following error messages:

17:26:32: /usr/local/share/codeblocks/plugins/libcompiler.so: undefined symbol: _ZN11EditPairDlgC1EP8wxWindowR8wxStringS3_RKS2_NS_10BrowseModeE
17:26:32: /usr/local/share/codeblocks/plugins/libdebuggergdb.so: undefined symbol: _ZN13DebuggerState7CleanUpEv

C::B starts anyway but when I add a file to a project I get this message:
(codeblocks:31798): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
adding the file and opening it seems to work though.

C::B then crashes on saving a project file giving me the output (many times)
addr2line: 'codeblocks': No such file

The corresponding errorlog xml can be read here:
www.stw-bonn.de/~z44103/log.txt


Any idea what's going on here?

Just a few more words why i try to compile from cvs:
I first tried to install the released .tgz. my first problem was that there wasn't a configure file (never heard about bootstrap before) and the boostrap file also was not marked as an executable. after finding out how to create a configure file and chmoding bootstrap to an executable i get the following error:
bash: ./bootstrap: /bin/sh^M: bad interpreter: No such file or directory
but the file looks ok starting with #!/bin/sh

Bye,
  Kai

Title: Re: damn, don't care about this post until further investigation /crash on savin
Post by: thomas on December 06, 2005, 06:24:37 pm
Have you tried checking out from SVN? CVS is no longer current.

This:
17:26:32: /usr/local/share/codeblocks/plugins/libcompiler.so: undefined symbol: _ZN11EditPairDlgC1EP8wxWindowR8wxStringS3_RKS2_NS_10BrowseModeE
looks like you are using two different wxWindows builds somewhere.
Title: Re: damn, don't care about this post until further investigation /crash on savin
Post by: Urxae on December 06, 2005, 06:51:25 pm
Have you tried checking out from SVN? CVS is no longer current.

This:
17:26:32: /usr/local/share/codeblocks/plugins/libcompiler.so: undefined symbol: _ZN11EditPairDlgC1EP8wxWindowR8wxStringS3_RKS2_NS_10BrowseModeE
looks like you are using two different wxWindows builds somewhere.

No, that name stands for EditPairDlg::EditPairDlg(wxWindow*, wxString&, wxString&, wxString const&, EditPairDlg::BrowseMode). The other one is DebuggerState::CleanUp(). (MinGW has a handy little utility named c++filt to de-mangle C++ names)
At one point the (auto)makefiles were missing the lines to use editpairdlg.* and debuggerstate.*, perhaps that version was "immortalized" in CVS?
Title: Re: damn, don't care about this post until further investigation /crash on savin
Post by: kai on December 06, 2005, 07:59:13 pm
Have you tried checking out from SVN? CVS is no longer current.

I've updated the wiki to reflect this change. i'm going to start a new thread about my svn experiences.

Quote
At one point the (auto)makefiles were missing the lines to use editpairdlg.* and debuggerstate.*, perhaps that version was "immortalized" in CVS?

yep. that seems to be the case.