[Bug 1992947] Re: gdb fails in Ubuntu-22.04
Michael Hudson-Doyle
1992947 at bugs.launchpad.net
Mon Oct 17 10:03:47 UTC 2022
There is a new version of gdb in jammy-proposed that might help. Can you
try that? (some pointers on how to do this at
https://wiki.ubuntu.com/Testing/EnableProposed)
--
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/1992947
Title:
gdb fails in Ubuntu-22.04
Status in gdb package in Ubuntu:
New
Bug description:
In Jammy 5.15.0-1014 when i try to debug an application with gdb got
below error,
Log:
root at kria:/home/ubuntu/swetha_bins/v2xpfm# gdb threshold
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/usr/bin/python'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python39.zip',
'/usr/lib/python3.9',
'/usr/lib/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x0000ffffa057f020 (most recent call first):
<no Python frame>
root at kria:/home/ubuntu/swetha_bins/v2xpfm#
root at kria:/home/ubuntu/swetha_bins/v2xpfm#
root at kria:/home/ubuntu/swetha_bins/v2xpfm# uname -a
Linux kria 5.15.0-1014-xilinx-zynqmp #15-Ubuntu SMP Tue Aug 30 07:56:28 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
root at kria:/home/ubuntu/swetha_bins/v2xpfm#
root at kria:/home/ubuntu/swetha_bins/v2xpfm#
root at kria:/home/ubuntu/swetha_bins/v2xpfm# file threshold
threshold: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=ae073c5ee47a3663ef3a06861c5df9bf62147ecd, for GNU/Linux 3.14.0, with debug_info, not stripped
root at kria:/home/ubuntu/swetha_bins/v2xpfm#
root at kria:/home/ubuntu/swetha_bins/v2xpfm#
root at kria:/home/ubuntu/swetha_bins/v2xpfm#
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1992947/+subscriptions
More information about the foundations-bugs
mailing list