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

Bug#206377: libgcj4: NullPointerException detection broken with 2.6 kernel



Package: libgcj4
Version: 1:3.3.1-0pre0
Severity: normal
Tags: patch

In a box with a 2.6 kernel, generating a NullPointerException twice will
cause a SEGV. This happens because 2.6 does not unblock a signal when
you longjmp out of the signal handler.

The bug was reported in the kernel bugzilla, and ended up in the
gcc java mailing list, where a patch was made. The patch is at
http://gcc.gnu.org/ml/java/2003-08/msg00233.html

It will probably appear in the trunk and branch, but meanwhile it should
be applied to the Debian package. It does not apply cleanly against
3.3.1ds0-0pre0 (you have to fix the file after it's been patched, since
patch puts the calls outside the functions), but after fixing it works
and fixes the bug.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux flower 2.4.20-preempt #1 Thu Dec 12 10:31:15 BRST 2002 i686
Locale: LANG=C, LC_CTYPE=en_US.UTF-8

Versions of packages libgcj4 depends on:
ii  libc6                      2.3.1-16      GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.1-1     GCC support library
ii  libgcj-common              1:3.3.1-0pre0 Java runtime library (common files
ii  xlibs                      4.2.1-9       X Window System client libraries
ii  zlib1g                     1:1.1.4-14    compression library - runtime

-- no debconf information




Reply to: