public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/26441]  New: Old libltdl may cause memory leak in Class.forName()
@ 2006-02-23 13:23 fexx at fexx dot org
  2006-02-24 18:48 ` [Bug libgcj/26441] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: fexx at fexx dot org @ 2006-02-23 13:23 UTC (permalink / raw)
  To: java-prs

The file libjava/libltdl/ltdl.c come with gcc-java-3.4.5 is out of date.  it
has a memory leak bug.  Invoking Class.forName(String) against no exisiting
class in the default package (e.g., Class.forName("Foo")) hits this bug and
leaks some native memory.

Libtool version 1.5.12 (dated Feb 2005) or later contains a fix to the bug,
dated 2005-01-21 in the libtool's Changelog.  Importing recent libltdl from
libtool should solve the problem.


-- 
           Summary: Old libltdl may cause memory leak in Class.forName()
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fexx at fexx dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26441


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-28 19:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-23 13:23 [Bug libgcj/26441] New: Old libltdl may cause memory leak in Class.forName() fexx at fexx dot org
2006-02-24 18:48 ` [Bug libgcj/26441] " pinskia at gcc dot gnu dot org
2006-03-10 23:14 ` tromey at gcc dot gnu dot org
2006-03-28 19:04 ` tromey at gcc dot gnu dot org
2006-03-28 19:05 ` tromey at gcc dot gnu dot org

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).