-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-9.6
-
python-drgn-0.0.33-2.el9
-
None
-
Important
-
ZStream
-
1
-
rhel-kernel-debug-kdb
-
22
-
24
-
0
-
False
-
False
-
-
None
-
CK Parent Issues In Progress
-
Regression Exception
-
Pass
-
Automated
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Since kernel-5.14.0-517.el9 drgn fails to provide a stack trace for kernel threads. In particular it fails with
>>> print(stack_trace(1)) Traceback (most recent call last): File "<console>", line 1, in <module> File "/usr/lib64/python3.9/site-packages/drgn/__init__.py", line 312, in stack_trace return get_default_prog().stack_trace(thread) Exception: unknown ORC entry type 5
This is because the rhel9 kernel is missing upstream commit b9f174c811e3 ("x86/unwind/orc: Add ELF section with ORC version identifier"). This commit depends on upstream commit 321648455061 ("kbuild: use obj-y instead extra-y for objects placed at the head"), which is quite invasive and shouldn't be backported this late in the RHEL9 cycle (see RHEL-27234 for details). So add a workaround in drgn instead.
- links to
-
RHBA-2025:156222
python-drgn update