Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disassemble error #23

Open
arkdnz opened this issue Jan 3, 2025 · 1 comment
Open

disassemble error #23

arkdnz opened this issue Jan 3, 2025 · 1 comment

Comments

@arkdnz
Copy link

arkdnz commented Jan 3, 2025

When start debugging,there through out an error

(lldbinit) Traceback (most recent call last):
  File "/home/rooter/lldbinit.py", line 5573, in HandleHookStopOnTarget
    disassemble(get_current_pc(), CONFIG_DISASSEMBLY_LINE_COUNT)
  File "/home/rooter/lldbinit.py", line 4163, in disassemble
    mod_uuid = str(mem_inst.addr.module.uuid)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rooter/Desktop/kernel_dddd/ndk/android-ndk-r27c-linux/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/lib/python3.11/site-packages/lldb/__init__.py", line 8011, in get_uuid
    return uuid.UUID (self.GetUUIDString())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rooter/Desktop/kernel_dddd/ndk/android-ndk-r27c-linux/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/python3/lib/python3.11/uuid.py", line 178, in __init__
    raise ValueError('badly formed hexadecimal UUID string')
ValueError: badly formed hexadecimal UUID string

how to fix it

has found the problem,my pc has two lldb process, and i just kill them then it running

@gdbinit
Copy link
Owner

gdbinit commented Jan 10, 2025

I have replaced the uuid property with a method and that might fix any issues because I already had problems with other properties between different lldb versions. Will post updated version soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants