[Bug 952999] Re: gdb crashed with ImportError in /usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.16-gdb.py: No module named libstdcxx.v6.printers
Kevin Funk
kevin at kfunk.org
Tue Nov 5 07:52:18 UTC 2013
The simple work-around is to patch '/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.16-gdb.py':
Replace
dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir)
by
dir_ = os.path.join (os.path.dirname (objfile), dotdots, dotdots, pythondir)
However, that still won't really work on 13.10, because the pretty
printers are actually broken because they do not support Python 3.x
yet... But that's a different issue.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/952999
Title:
gdb crashed with ImportError in /usr/lib/debug/usr/lib/i386-linux-
gnu/libstdc++.so.6.0.16-gdb.py: No module named libstdcxx.v6.printers
Status in “gdb” package in Ubuntu:
Confirmed
Bug description:
it just popped up to say that there was an error.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gdb 7.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
CrashCounter: 1
Date: Mon Mar 12 12:12:49 2012
ExecutablePath: /usr/bin/gdb
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcCmdline: gdb --batch --ex file\ /usr/bin/synergyc --ex core-file\ /tmp/tmp5M47_D --ex set\ backtrace\ limit\ 2000 --ex p\ -99 --ex bt\ full --ex p\ -99 --ex thread\ apply\ all\ bt\ full --ex p\ -99 --ex info\ registers --ex p\ -99 --ex x/16i\ $pc --ex p\ -99 --ex print\ __abort_msg->msg
SourcePackage: gdb
Title: gdb crashed with ImportError in /usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.16-gdb.py: No module named libstdcxx.v6.printers
Traceback:
Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.16-gdb.py", line 62, in <module>
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
UpgradeStatus: Upgraded to precise on 2012-03-05 (6 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions
More information about the foundations-bugs
mailing list