public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/12475] New: Stack traces leak memory
@ 2003-10-01 9:27 bryce at mckinlay dot net dot nz
2003-10-01 17:44 ` [Bug libgcj/12475] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 10+ messages in thread
From: bryce at mckinlay dot net dot nz @ 2003-10-01 9:27 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
Summary: Stack traces leak memory
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bryce at mckinlay dot net dot nz
CC: gcc-bugs at gcc dot gnu dot org
gnu.gcj.runtime.StackTrace.fillInStackTrace() contains a memory leak:
frame = (_Jv_frame_info *) _Jv_Malloc (len * sizeof (_Jv_frame_info));
"frame" never gets freed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
2003-10-01 9:27 [Bug libgcj/12475] New: Stack traces leak memory bryce at mckinlay dot net dot nz
@ 2003-10-01 17:44 ` pinskia at gcc dot gnu dot org
2003-10-01 19:12 ` tromey at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-01 17:44 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-01 17:44 -------
Is memory allocated by _Jv_Malloc get freed by the GC?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
2003-10-01 9:27 [Bug libgcj/12475] New: Stack traces leak memory bryce at mckinlay dot net dot nz
2003-10-01 17:44 ` [Bug libgcj/12475] " pinskia at gcc dot gnu dot org
@ 2003-10-01 19:12 ` tromey at gcc dot gnu dot org
2003-10-02 7:10 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2003-10-01 19:12 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
------- Additional Comments From tromey at gcc dot gnu dot org 2003-10-01 19:12 -------
_Jv_Malloc is just a malloc() wrapper.
we can use _Jv_AllocBytes to allocate unscanned, GC-able
memory.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
2003-10-01 9:27 [Bug libgcj/12475] New: Stack traces leak memory bryce at mckinlay dot net dot nz
2003-10-01 17:44 ` [Bug libgcj/12475] " pinskia at gcc dot gnu dot org
2003-10-01 19:12 ` tromey at gcc dot gnu dot org
@ 2003-10-02 7:10 ` cvs-commit at gcc dot gnu dot org
2003-10-02 7:11 ` bryce at mckinlay dot net dot nz
2003-10-17 18:19 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-02 7:10 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-02 07:10 -------
Subject: Bug 12475
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bryce@gcc.gnu.org 2003-10-02 07:10:35
Modified files:
libjava : ChangeLog
libjava/gnu/gcj/runtime: StackTrace.java natStackTrace.cc
Log message:
Fix PR libgcj/12475
* gnu/gcj/runtime/StackTrace.java (finalize): Declare.
* gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.2207&r2=1.2208
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/gcj/runtime/StackTrace.java.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/gcj/runtime/natStackTrace.cc.diff?cvsroot=gcc&r1=1.5&r2=1.6
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
2003-10-01 9:27 [Bug libgcj/12475] New: Stack traces leak memory bryce at mckinlay dot net dot nz
` (2 preceding siblings ...)
2003-10-02 7:10 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-02 7:11 ` bryce at mckinlay dot net dot nz
2003-10-17 18:19 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 10+ messages in thread
From: bryce at mckinlay dot net dot nz @ 2003-10-02 7:11 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
bryce at mckinlay dot net dot nz changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From bryce at mckinlay dot net dot nz 2003-10-02 07:11 -------
Temporary fix checked in.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
2003-10-01 9:27 [Bug libgcj/12475] New: Stack traces leak memory bryce at mckinlay dot net dot nz
` (3 preceding siblings ...)
2003-10-02 7:11 ` bryce at mckinlay dot net dot nz
@ 2003-10-17 18:19 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 18:19 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
[not found] <bug-12475-6651@http.gcc.gnu.org/bugzilla/>
@ 2006-02-20 19:47 ` mckinlay at redhat dot com
0 siblings, 0 replies; 10+ messages in thread
From: mckinlay at redhat dot com @ 2006-02-20 19:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from mckinlay at redhat dot com 2006-02-20 19:47 -------
*** Bug 26351 has been marked as a duplicate of this bug. ***
--
mckinlay at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fexx at fexx dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
[not found] <20031001092751.12475.mckinlay@redhat.com>
2004-06-22 18:21 ` cvs-commit at gcc dot gnu dot org
2004-06-22 18:22 ` mckinlay at redhat dot com
@ 2004-06-22 18:32 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-22 18:32 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.3.4
Known to work| |3.4.0 3.5.0
Target Milestone|3.4.0 |3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
[not found] <20031001092751.12475.mckinlay@redhat.com>
2004-06-22 18:21 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-22 18:22 ` mckinlay at redhat dot com
2004-06-22 18:32 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: mckinlay at redhat dot com @ 2004-06-22 18:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mckinlay at redhat dot com 2004-06-22 18:22 -------
I've checked the fix in to the 3.3 branch too
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libgcj/12475] Stack traces leak memory
[not found] <20031001092751.12475.mckinlay@redhat.com>
@ 2004-06-22 18:21 ` cvs-commit at gcc dot gnu dot org
2004-06-22 18:22 ` mckinlay at redhat dot com
2004-06-22 18:32 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-22 18:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-22 18:21 -------
Subject: Bug 12475
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: bryce@gcc.gnu.org 2004-06-22 18:21:30
Modified files:
libjava : ChangeLog
libjava/gnu/gcj/runtime: StackTrace.java natStackTrace.cc
Log message:
Fix PR libgcj/12475
* gnu/gcj/runtime/StackTrace.java (finalize): Declare.
* gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1594.2.159&r2=1.1594.2.160
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/gcj/runtime/StackTrace.java.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1&r2=1.1.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/gcj/runtime/natStackTrace.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2.6.3&r2=1.2.6.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12475
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-02-20 19:47 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 9:27 [Bug libgcj/12475] New: Stack traces leak memory bryce at mckinlay dot net dot nz
2003-10-01 17:44 ` [Bug libgcj/12475] " pinskia at gcc dot gnu dot org
2003-10-01 19:12 ` tromey at gcc dot gnu dot org
2003-10-02 7:10 ` cvs-commit at gcc dot gnu dot org
2003-10-02 7:11 ` bryce at mckinlay dot net dot nz
2003-10-17 18:19 ` pinskia at gcc dot gnu dot org
[not found] <20031001092751.12475.mckinlay@redhat.com>
2004-06-22 18:21 ` cvs-commit at gcc dot gnu dot org
2004-06-22 18:22 ` mckinlay at redhat dot com
2004-06-22 18:32 ` pinskia at gcc dot gnu dot org
[not found] <bug-12475-6651@http.gcc.gnu.org/bugzilla/>
2006-02-20 19:47 ` mckinlay 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).