-
Notifications
You must be signed in to change notification settings - Fork 23
Segmentation fault in pybfd_get_sections_list #5
Copy link
Copy link
Open
Description
Hi,
I'm using Ubuntu 14.04 with the following binutils version: 2.24-5ubuntu3
The constructor of Bfd object calls function __populate_sections, which calls pybfd_get_sections_list defined in bfd.c
Using GDB I've found that program segfaults at the following place in pybfd_get_sections_list:
for (section = abfd->sections; section; section = section->next) {
PyList_SetItem(list, section->index, Py_BuildValue("n", section));
}
The reason is that the memory address for abfd->sections is not accessible.
Am I doing something wrong with setup/build/install ?
I've dowloaded pybfd from GutHub, built & installed using setup.py
Thanks in advance,
Ilya
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels