public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "fexx at fexx dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/26441]  New: Old libltdl may cause memory leak in Class.forName()
Date: Thu, 23 Feb 2006 13:23:00 -0000	[thread overview]
Message-ID: <bug-26441-12213@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2006-02-23 13:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 13:23 fexx at fexx dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-26441-12213@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).