public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/13308] New: (cpychecker) Memory leak in gdb/python/py-breakpoint.c: gdbpy_breakpoints
@ 2011-10-17 20:04 dmalcolm at redhat dot com
2011-10-20 13:35 ` [Bug python/13308] " cvs-commit at gcc dot gnu.org
2011-10-20 13:40 ` pmuldoon at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: dmalcolm at redhat dot com @ 2011-10-17 20:04 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug python/13308] (cpychecker) Memory leak in gdb/python/py-breakpoint.c: gdbpy_breakpoints
2011-10-17 20:04 [Bug python/13308] New: (cpychecker) Memory leak in gdb/python/py-breakpoint.c: gdbpy_breakpoints dmalcolm at redhat dot com
@ 2011-10-20 13:35 ` cvs-commit at gcc dot gnu.org
2011-10-20 13:40 ` pmuldoon at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-10-20 13:35 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13308
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-10-20 13:34:22 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: pmuldoon@sourceware.org 2011-10-20 13:34:17
Modified files:
gdb : ChangeLog
gdb/python : py-breakpoint.c py-inferior.c
Log message:
2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
PR python/13308
PR python/13309
* python/py-breakpoint.c (gdbpy_breakpoints): Fix List reference
leak.
* python/py-inferior.c (gdbpy_inferiors): Fix List reference
leak. Delete unused variables.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13445&r2=1.13446
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-breakpoint.c.diff?cvsroot=src&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-inferior.c.diff?cvsroot=src&r1=1.15&r2=1.16
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug python/13308] (cpychecker) Memory leak in gdb/python/py-breakpoint.c: gdbpy_breakpoints
2011-10-17 20:04 [Bug python/13308] New: (cpychecker) Memory leak in gdb/python/py-breakpoint.c: gdbpy_breakpoints dmalcolm at redhat dot com
2011-10-20 13:35 ` [Bug python/13308] " cvs-commit at gcc dot gnu.org
@ 2011-10-20 13:40 ` pmuldoon at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: pmuldoon at redhat dot com @ 2011-10-20 13:40 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13308
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |pmuldoon at redhat dot com
Resolution| |FIXED
AssignedTo|unassigned at sourceware |pmuldoon at redhat dot com
|dot org |
Target Milestone|--- |7.4
--- Comment #2 from Phil Muldoon <pmuldoon at redhat dot com> 2011-10-20 13:40:06 UTC ---
Fixed and committed.
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-20 13:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 20:04 [Bug python/13308] New: (cpychecker) Memory leak in gdb/python/py-breakpoint.c: gdbpy_breakpoints dmalcolm at redhat dot com
2011-10-20 13:35 ` [Bug python/13308] " cvs-commit at gcc dot gnu.org
2011-10-20 13:40 ` pmuldoon at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).