[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#71187: marked as done ([fixed upstream 20000114] gcj chokes on mutual dependencies, segfaults (stack overflow?))



Your message dated Sun, 24 Jun 2001 23:31:06 +0200
with message-id <15158.23578.369645.534206@gargle.gargle.HOWL>
and subject line fixed in gcj-3.0
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Sep 2000 07:27:12 +0000
>From vulture@aoi.dyndns.org Sat Sep 09 02:27:12 2000
Return-path: <vulture@aoi.dyndns.org>
Received: from smtp2.abac.com [::ffff:216.55.128.11] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13Xf2e-00041W-00; Sat, 09 Sep 2000 02:27:12 -0500
Received: from aoi.dyndns.org (qmailr@ip14.santa-clara14.ca.pub-ip.psi.net [38.29.70.14])
	by smtp2.abac.com (8.10.1/8.10.1) with SMTP id e897Ran28865
	for <submit@bugs.debian.org>; Sat, 9 Sep 2000 00:27:37 -0700 (PDT)
Received: (qmail 12856 invoked by uid 1001); 9 Sep 2000 07:42:13 -0000
Message-ID: <20000909074213.12855.qmail@aoi.dyndns.org>
From: Alexander Hvostov <vulture@aoi.dyndns.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcj chokes on mutual dependencies, segfaults (stack overflow?)
X-Reportbug-Version: 1.3
X-Mailer: reportbug 1.3
Date: Sat, 09 Sep 2000 00:42:13 -0700
Delivered-To: submit@bugs.debian.org

Package: gcj
Version: 1:2.95.2-14
Severity: important

When attempting to compile the following two programs with gcj...

--- BEGIN PROGRAM 1 ---
public class Mutual1 {
  private Mutual2 m;
}
--- BEGIN PROGRAM 2 ---
public class Mutual2 {
  private Mutual1 m;
}
--- END ---

...gcj will segfault...

--- BEGIN SAMPLE SESSION ---
[bash/2.04.0] vulture@cornerstone:~/Code/Java/mutual $ gcj Mutual1.java
gcj: Internal compiler error: program jc1 got fatal signal 11
--- END SAMPLE SESSION ---

My guess is that the mutual dependency illustrated above is causing a stack
overflow, and thus, a segfault. Note that Sun's `javac' compiler (from the
`jdk1.1') package does not have any problems with this.

Regards,

Alex.

-- System Information
Debian Release: woody
Architecture: i386
Kernel: Linux cornerstone 2.2.17 #2 Fri Sep 8 17:30:01 PDT 2000 i686

Versions of packages gcj depends on:
ii  gcc                          1:2.95.2-14 The GNU C compiler.               
ii  java-common                  0.3         Base of all Java packages         
ii  libc6                        2.1.3-10    GNU C Library: Shared libraries an
ii  libgcj0-dev                  2.95.1-5    Java runtime library for use with 
ii  libgcj0-dev [libgcj-dev]     2.95.1-5    Java runtime library for use with 


---------------------------------------
Received: (at 71187-done) by bugs.debian.org; 24 Jun 2001 21:33:06 +0000
>From doko@cs.tu-berlin.de Sun Jun 24 16:33:06 2001
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [::ffff:130.149.17.13] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15EHVB-0000CW-00; Sun, 24 Jun 2001 16:33:05 -0500
Received: from bolero.cs.tu-berlin.de (doko@bolero.cs.tu-berlin.de [130.149.19.1])
	by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id XAA15811;
	Sun, 24 Jun 2001 23:31:06 +0200 (MET DST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.10.2+Sun/8.9.3) id f5OLV6G27710;
	Sun, 24 Jun 2001 23:31:06 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15158.23578.369645.534206@gargle.gargle.HOWL>
Date: Sun, 24 Jun 2001 23:31:06 +0200
To: 42894-done@bugs.debian.org, 51227-done@bugs.debian.org,
        51266-done@bugs.debian.org, 68632-done@bugs.debian.org,
        71187-done@bugs.debian.org
Subject: fixed in gcj-3.0
X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Delivered-To: 71187-done@bugs.debian.org

The bugs in these reports are fixed in gcj-3.0. The final release of
gcc-3.0 (including gcj-3.0) is currently available in the testing
distribution. We plan to remove gcj-2.95 and libgcj-2.95.1 from
testing and unstable.



Reply to: