-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hi, not sure if this project is being maintained anymore, but looking for some tips (I'm not that experiences with GDB but trying to diagnose a memory leak). Getting this error when running the program:
(gdb) set python print-stack full
(gdb) heap
Traceback (most recent call last):
File "/app/gdb-heap/heap/commands.py", line 34, in g
return f(self, args, from_tty)
File "/app/gdb-heap/heap/commands.py", line 56, in invoke
usage_list = list(lazily_get_usage_list())
File "/app/gdb-heap/heap/__init__.py", line 502, in lazily_get_usage_list
usage_list = list(iter_usage_with_progress())
File "/app/gdb-heap/heap/__init__.py", line 612, in __next__
return self.inner.__next__()
File "/app/gdb-heap/heap/__init__.py", line 677, in iter_usage
chunksize = chunk.chunksize()
File "/app/gdb-heap/heap/glibc.py", line 75, in chunksize
return self.size() & ~(self.SIZE_BITS)
File "/app/gdb-heap/heap/glibc.py", line 71, in size
self._cached_size = int(self.field('size'))
File "/app/gdb-heap/heap/__init__.py", line 117, in field
return self._gdbval[attr]
gdb.error: There is no member named size.
Error occurred in Python command: There is no member named size.
If it helps, using python3.7-dbg for all of this, running inside a Docker container.
martinvonwittich and edmcman
Metadata
Metadata
Assignees
Labels
No labels