From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27032 invoked by alias); 23 Feb 2006 13:23:56 -0000 Received: (qmail 27012 invoked by uid 48); 23 Feb 2006 13:23:56 -0000 Date: Thu, 23 Feb 2006 13:23:00 -0000 Subject: [Bug libgcj/26441] New: Old libltdl may cause memory leak in Class.forName() X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "fexx at fexx dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2006-q1/txt/msg00228.txt.bz2 List-Id: 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