[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
I'm also seeing this reintroduced with 7.7.1-0ubuntu5~14.04.2 from 14.04 A simple manual patch that works for me is to take the line that says backdirs += 1 # multiarch subdir and change the 1 to a zero --- gdb: Installed: 7.7.1-0ubuntu5~14.04.2 Candidate: 7.7.1-0ubuntu5~14.04.2 Version table: *** 7.7.1-0ubuntu5~14.04.2 0 500 http://au.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 100 /var/lib/dpkg/status -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
That issue came back either with the updates of the last month, up to Feb. 2015 it was possible to use gdb without any hazzle: output snippet from today: ... Reading symbols from /lib/x86_64-linux-gnu/libdbus-1.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/x86_64-linux-gnu/libdbus-1.so.3 0x7f06702a882d in read () at ../sysdeps/unix/syscall-template.S:81 81 ../sysdeps/unix/syscall-template.S: Datei oder Verzeichnis nicht gefunden. Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named 'libstdcxx' ... ||/ Name VersionArchitektur Beschreibung +++-==-==-==-= ii gdb7.7.1-0ubuntu5~14. amd64 GNU Debugger ii libstdc++6:amd64 4.8.4-2ubuntu1~14. amd64 GNU Standard C++ Library v3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
fixed in 14.04 LTS ** Changed in: gdb (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
I have same error in 7.5-ubuntu package. Is this a bug fixed. Im using Ubuntu 12.10 64-bit version. This log is my Steam rust gdb file. I Have get a gdb error. Starting program: /home/valvoja/.local/share/Steam/SteamApps/common/rust/rust.x86_64 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Traceback (most recent call last): File "/usr/lib/debug/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17-gdb.py", line 62, in from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named libstdcxx.v6.printers -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
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 Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
This is still valid even on 13.10. Can someone please fix the package and make it import from the correct directory? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
This bug seems to still be present in my 12.04 64bits machine. The fix suggested by MartinRunge in comment #6 works, but that's not very elegant. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
Same bug in quantal. I fixed it locally on my machine by making a symlink: cd /usr/lib/debug/usr sudo ln -s ../../../share/ share looks like the python scripts included with libstdcxx for autoloading the pretty printers (libstdc++.so.6.0.17-gdb.py) expects itself in /usr/lib/x86_64-linux-gnu (same folder as the DSO that is loaded). From there it constructs a relative path to the base folder of the prettyprinters (/usr/share/gcc-4.7/python). Unfortunately, in Ubuntu the autoload script is actually located here: /usr/lib/debug/usr/lib/x86_64-linux-gnu. The symlink makes the base folder appear in that path, too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
The issue applies to 64-bit systems as well. The file its trying to load is at '/usr/share/gdb/python/gdb/'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
This can be reproduced by debugging a C++/STL application with the provided "eclipse-cdt" and "libstdc++6-4.6-dbg" packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
Bug #908163 says that this as been fixed for /usr/lib/i386-linux- gnu/libstdc++.so.6.0.16-gdb.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gdb (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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
** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/952999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs