
On Thu, 28 Oct 2004, Johan Forsberg wrote:
I updated to 2.0.6 (also had to rebuild glibmm and gtkmm) and tried again, now it doesn't hang anymore, it just crashes on startup :P This is what gdb says:
(gdb) run Starting program: /usr/local/bin/inkscape
Program received signal SIGSEGV, Segmentation fault. 0x40534f2d in std::locale::operator=(std::locale const&) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so.5 (gdb) bt #0 0x40534f2d in std::locale::operator=(std::locale const&) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so.5 #1 0x4052dcbb in std::ios_base::_M_init() () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so.5 #2 0x4052bf2b in std::basic_ios<char, std::char_traits<char>
::init(std::basic_streambuf<char, std::char_traits<char> >*) ()
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so.5 #3 0x4055ebcf in std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>
::basic_ostringstream(std::_Ios_Openmode) ()
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/libstdc++.so.5 #4 0x08242209 in Path::svg_dump_path() const (this=0x85f9c08) at stringstream.h:12 (gdb)
It looks like it's using a gcc 3.3 libstdc++... I'm using gcc 3.4.2 all the way. But I'm not sure what this means. Anyway maybe this problem is unrelated to the libsigc++ one?
No, this is definitely libstdc++ related - you can see it listed in each of the call lines above. None of the listed calls refer to Inkscape functions (which typically are prepended with sp_).
So keep checking your libraries and if things are compiled correctly. For instance, do you need to recompile libsigc or other libs that you installed since your gcc upgrade?
Bryce