This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug symtab/16426] New: memory corruption (use after free) with fission


https://sourceware.org/bugzilla/show_bug.cgi?id=16426

            Bug ID: 16426
           Summary: memory corruption (use after free) with fission
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

I'm seeing several failures in mi-var-cmd.exp when using Fission.
I've traced the problem to demangled_names_hash.
The hash table lives in per_bfd space and while the symbol name is also
supposed to live in per_bfd space, when using dwo files it lives in the per_bfd
space of the dwo which is freed when the objfile is freed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]