[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-11-03 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #11 from Pablo Galindo Salgado --- Unfortunately I cannot easily patch dwarf_getscopes and run the experiment :( -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-11-03 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #12 from Pablo Galindo Salgado --- Hopefully I can report back with the output in a few days. Apologies for the delay! -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-11-03 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #13 from Pablo Galindo Salgado --- Hum, it seems that I cannot attach the output because is 87 MB of output. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-11-03 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #14 from Pablo Galindo Salgado --- I can tell you that the file finishes with: pc_record => [5d9f] pc_record <= [5d9f] 3 __libdw_visit_scopes result 3, scopes 0xa689d0, inlined 0, nscopes 3 :) -- You are receiving this mail

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-11-03 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #15 from Pablo Galindo Salgado --- Here is the parts that reference the parts: __libdw_visit_scopes for pc 0xf5b23, cudie [29ce89] __libdw_visit_scopes result 0, scopes (nil), inlined 0, nscopes 0 __libdw_visit_scopes for pc 0x252

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-08-04 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #2 from Pablo Galindo Salgado --- > it could in theory also be zero In this case, the result was 0 (I am working with Matt) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-08-04 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #4 from Pablo Galindo Salgado --- The first result is already 0 in int result = __libdw_visit_scopes (0, &cu, NULL, &pc_match, &pc_record, &a); I think this is because walk_children finds no "real children" so it returns with the

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-08-04 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #6 from Pablo Galindo Salgado --- What would be the best way to provide that? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-08-04 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #7 from Pablo Galindo Salgado --- The dwarf trie comes from /usr/lib64/libc-2.17.so in a RHEL7 system -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libdw/29434] Memory leak in `dwarf_getscopes`

2022-08-04 Thread pablogsal at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29434 --- Comment #8 from Pablo Galindo Salgado --- If you give me a patch adding print statements to libdw/dwarf_getscopes.c and libdw/libdw_visit_scopes.c I can give you the output. -- You are receiving this mail because: You are on the CC list