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/14387] New: Memory leak in gdb/python/py-stopevent.c:66


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

             Bug #: 14387
           Summary: Memory leak in gdb/python/py-stopevent.c:66
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: m@bruenink.de
    Classification: Unclassified


In py-stopevent.c:66 a PyList is created which is than attached to a stop event
by calling create_breakpoint_event_object. This list is never garbage
collected.

Decrementing the reference count to the list after line 83 fixed the problem
for me.

-- 
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]