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

Bug#223737: marked as done (libgcj4: regression - NullPointerException detection broken)



Your message dated Thu, 11 Dec 2003 23:07:11 -0200
with message-id <20031212010711.GC10835@flower.home.cesarb.net>
and subject line #223737: libgcj4: regression - NullPointerException detection broken
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Dec 2003 00:44:23 +0000
>From cesarb@nitnet.com.br Thu Dec 11 18:44:22 2003
Return-path: <cesarb@nitnet.com.br>
Received: from salzburg.nitnet.com.br (nat.cesarb.net) [200.157.92.10] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AUb1D-0006Ts-00; Thu, 11 Dec 2003 18:18:55 -0600
Received: from cesarb by flower.home.cesarb.net with local (Exim 4.22)
	id 1AUb16-0008EK-05; Thu, 11 Dec 2003 22:18:48 -0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Cesar Eduardo Barros <cesarb@nitnet.com.br>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libgcj4: regression - NullPointerException detection broken
X-Mailer: reportbug 2.36
Date: Thu, 11 Dec 2003 22:18:47 -0200
Message-Id: <[🔎] E1AUb16-0008EK-05@flower.home.cesarb.net>
Sender: Cesar Eduardo Barros <cesarb@nitnet.com.br>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_11 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_11
X-Spam-Level: 

Package: libgcj4
Version: 1:3.3.2-4
Severity: normal

The fix for http://bugs.debian.org/206377 seems to have regressed.
Compile and run the following with a 2.6.0-test11 kernel:

-----cut here-----
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;

public class testcase {
	public static void main(String[] args) {
		System.out.println("1");
		foo();
		System.out.println("2");
		foo();
		System.out.println("3");
	}
	public static void foo() {
		try {
			bar(null);
		} catch (NullPointerException ex) {
		}
	}
	public static void bar(OutputStream outputStream) {
		try {
			ObjectOutputStream out = new ObjectOutputStream(outputStream);
		} catch (IOException ex) {
		}
	}
}
-----cut here-----

The expected output is:
1
2
3

The broken output is:
1
2
Segmentation fault

This is causing a segmentation fault here when clicking the "next"
button on iRATE.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux flower 2.6.0-test11-flower-reiserfsxattr #1 Sat Nov 29 19:43:53 BRST 2003 i686
Locale: LANG=C, LC_CTYPE=en_US.UTF-8

Versions of packages libgcj4 depends on:
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.2-4    GCC support library
ii  libgcj-common               1:3.3.2-4    Java runtime library (common files
ii  libstdc++5                  1:3.3.2-4    The GNU Standard C++ Library v3
ii  xlibs                       4.2.1-12.1   X Window System client libraries
ii  zlib1g                      1:1.1.4-16   compression library - runtime

-- no debconf information


---------------------------------------
Received: (at 223737-done) by bugs.debian.org; 12 Dec 2003 02:28:13 +0000
>From cesarb@nitnet.com.br Thu Dec 11 20:28:11 2003
Return-path: <cesarb@nitnet.com.br>
Received: from salzburg.nitnet.com.br (nat.cesarb.net) [200.157.92.10] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AUbly-0002qO-00; Thu, 11 Dec 2003 19:07:18 -0600
Received: from cesarb by flower.home.cesarb.net with local (Exim 4.22)
	id 1AUblw-0008Pa-2j
	for 223737-done@bugs.debian.org; Thu, 11 Dec 2003 23:07:12 -0200
Date: Thu, 11 Dec 2003 23:07:11 -0200
To: 223737-done@bugs.debian.org
Subject: Re: #223737: libgcj4: regression - NullPointerException detection broken
Message-ID: <20031212010711.GC10835@flower.home.cesarb.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
From: Cesar Eduardo Barros <cesarb@nitnet.com.br>
Delivered-To: 223737-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_11 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=0.0 required=4.0 tests=FOOASDF autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_11
X-Spam-Level: 


After a quick investigation, found the problem -- it was unblocking the
wrong signal (unblocking FPE when receiving a SEGV). The bug has been
fixed at least three times on the CVS (how many branches does gcc have?)
and unstable's version (3.3.3-0pre0) does not have the bug (probably got
the fix from upstream CVS).

Since it works in unstable (and if I'm right and it got the fix from the
upstream CVS, it's really been fixed), this bug report was bogus; sorry.

-- 
Cesar Eduardo Barros
cesarb@nitnet.com.br
cesarb@dcc.ufrj.br



Reply to: