On Sat, Oct 19, 2002 at 07:57:18PM +1000, Steve Kowalik wrote: > And this is a backtrace with python and python-apt built with -g. I'm not > sure why gdb still spits out 'no debugging symbols found'. > > >>> apt_pkg.InitConfig() > (no debugging symbols found)... > Program received signal SIGSEGV, Segmentation fault. > 0x400c9438 in std::locale::_Impl::_M_remove_reference() () > from /usr/lib/libstdc++.so.3 > (gdb) bt > #0 0x400c9438 in std::locale::_Impl::_M_remove_reference() () > from /usr/lib/libstdc++.so.3 > #1 0x400c5928 in std::locale::operator=(std::locale const&) () > from /usr/lib/libstdc++.so.3 > #2 0x400c4964 in std::ios_base::_M_init() () from /usr/lib/libstdc++.so.3 > #3 0x400eef18 in std::basic_ios<char, std::char_traits<char> > >::init(std::basic_streambuf<char, std::char_traits<char> >*) () from > /usr/lib/libstdc++.so.3 > #4 0x400ef8b8 in std::istream::istream(std::basic_streambuf<char, > std::char_traits<char> >*) () from /usr/lib/libstdc++.so.3 > #5 0x4046d31c in ReadConfigFile(Configuration&, std::string, bool, > unsigned) > () from /usr/lib/libapt-pkg-libc6.2-3.so.3.2 > #6 0x4046ed84 in ReadConfigDir(Configuration&, std::string, bool, unsigned) > () > from /usr/lib/libapt-pkg-libc6.2-3.so.3.2 > #7 0x40497d58 in pkgInitConfig(Configuration&) () > from /usr/lib/libapt-pkg-libc6.2-3.so.3.2 > #8 0x403fb8e0 in InitConfig(_object*, _object*) (Self=0x0, Args=0xbff01090) > at python/apt_pkgmodule.cc:265 > #9 0x000bb05c in ?? ()
Hmm...it certainly looks as if python-apt has debugging symbols, but not libapt-pkg. Maybe it was stripped after the build? -- - mdz

