[Bug 1992947] [NEW] gdb fails in Ubuntu-22.04
Launchpad Bug Tracker
1992947 at bugs.launchpad.net
Fri Oct 14 14:02:41 UTC 2022
You have been subscribed to a public bug:
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#
** Affects: gdb (Ubuntu)
Importance: Undecided
Status: New
** Tags: bot-comment
--
gdb fails in Ubuntu-22.04
https://bugs.launchpad.net/bugs/1992947
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to gdb in Ubuntu.
More information about the foundations-bugs
mailing list