8000 disassemble error · Issue #23 · gdbinit/lldbinit · GitHub
[go: up one dir, main page]

Skip to content

disassemble error #23

Open
Open

Description

@arkdnz

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

Activity

  1. gdbinit commented on Jan 10, 2025

    @gdbinit
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0