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 python/13308] New: (cpychecker) Memory leak ingdb/python/py-breakpoint.c: gdbpy_breakpoints


http://sourceware.org/bugzilla/show_bug.cgi?id=13308

             Bug #: 13308
           Summary: (cpychecker) Memory leak in
                    gdb/python/py-breakpoint.c: gdbpy_breakpoints
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dmalcolm@redhat.com
    Classification: Unclassified


Created attachment 6010
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6010
HTML report showing the execution path that leaks memory

I'm experimenting with building GDB using a GCC plugin that adds a pass to
check correct reference-count handling in CPython code (cpychecker); see
https://fedorahosted.org/gcc-python-plugin/

I'm attaching an error report concerning:
  gdb/python/py-breakpoint.c: gdbpy_breakpoints

gdb.breakpoints() appears to leak the list of breakpoints each time it is
called.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]