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

AttributeError: 'struct mm_struct' has no member 'arg_start' #335

Open
sdimitro opened this issue Aug 7, 2023 · 0 comments
Open

AttributeError: 'struct mm_struct' has no member 'arg_start' #335

sdimitro opened this issue Aug 7, 2023 · 0 comments

Comments

@sdimitro
Copy link
Contributor

sdimitro commented Aug 7, 2023

sdb> threads
sdb encountered an internal error due to a bug. Here's the
information you need to file the bug:
----------------------------------------------------------
Target Info:
	ProgramFlags.IS_LIVE|IS_LINUX_KERNEL
	Platform(<Architecture.X86_64: 1>, <PlatformFlags.IS_LITTLE_ENDIAN|IS_64_BIT: 3>)

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sdb/internal/repl.py", line 107, in eval_cmd
    for obj in invoke([], input_):
  File "/usr/lib/python3/dist-packages/sdb/pipeline.py", line 152, in invoke
    yield from execute_pipeline(first_input, pipeline)
  File "/usr/lib/python3/dist-packages/sdb/pipeline.py", line 84, in execute_pipeline
    yield from massage_input_and_call(pipeline[-1], this_input)
  File "/usr/lib/python3/dist-packages/sdb/pipeline.py", line 67, in massage_input_and_call
    yield from cmd.call(objs)
  File "/usr/lib/python3/dist-packages/sdb/command.py", line 413, in call
    yield from self.__invalid_memory_objects_check(
  File "/usr/lib/python3/dist-packages/sdb/command.py", line 358, in __invalid_memory_objects_check
    for obj in objs:
  File "/usr/lib/python3/dist-packages/sdb/command.py", line 625, in _call
    self.pretty_print(self.caller(objs))
  File "/usr/lib/python3/dist-packages/sdb/commands/linux/threads.py", line 93, in pretty_print
    row_dict = {
  File "/usr/lib/python3/dist-packages/sdb/commands/linux/threads.py", line 94, in <dictcomp>
    field: KernelThreads.FIELDS[field](obj) for field in fields
  File "/usr/lib/python3/dist-packages/sdb/commands/linux/threads.py", line 33, in _cmdline
    s = " ".join(map(lambda s: s.decode("utf-8"), cmdline(obj)))
  File "/usr/lib/python3/dist-packages/drgn/helpers/linux/mm.py", line 1276, in cmdline
    arg_start = mm.arg_start.value_()
AttributeError: 'struct mm_struct' has no member 'arg_start'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant