-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I am consistently facing this issue on my ubuntu machine despite following all installation guidelines.
Could you please help me identify what exactly I am missing.
uname -a
Linux ubuntu 5.10.209 #1 SMP Wed Jul 31 02:47:10 PDT 2024 x86_64 x86_64 x86_64 GNU/Linux
#./pycrash vmlinux vmcore
warning: help text documentation is out-of-date
To update it, run 'make doc-help'
GDB [gdb], GDB_CMDLINE [], GDBINIT [/tmp/crash.ssek6O/gdbinit], TEST_GDBINIT [./test-gdb-compatibility.gdbinit]
Traceback (most recent call last):
File "<string>", line 4, in <module>
File "./build/lib/crash/__init__.py", line 6
def archname() -> str:
^
SyntaxError: invalid syntax
./test-gdb-compatibility.gdbinit:16: Error in sourced command file:
Error while executing Python code.
fatal: crash-python cannot initialize
Commenting this line in "crash.sh" helped me to move forward.
if ! $GDB $GDB_CMDLINE -nx -batch -x $GDBINIT -x $TEST_GDBINIT; then
echo "fatal: crash-python cannot initialize" >&2
- exit 1
+ # exit 1
fi
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels