Date: Sun, 21 Sep 2003 01:27:29 +0300 From: lauri.jarvenpaa@students.turkuamk.fi To: freebsd-bugs@FreeBSD.ORG Subject: missing mmap2 seems to cause crash with linux-sun-jdk-1.4.2 Message-ID: <20030921012729.4dce52cd.lauri.jarvenpaa@students.turkuamk.fi>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users
>Originator: lauri järvenpää [lauri dot jarvenpaa at students dot turkuamk dot fi]
>Organization:
>Confidential: no
>Synopsis: missing mmap2 seems to cause crash with linux-sun-jdk-1.4.2
>Severity: non-critical
>Priority: medium
>Category: java
>Class: sw-bug
>Release: FreeBSD 4.9-PRERELEASE i386
>Environment:
System: FreeBSD vaihtoehto.yok.utu.fi 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Mon Sep 15 19:29:05 EEST 2003 root@vaihtoehto.yok.utu.fi:/usr/obj/usr/src/sys/GEN2 i386
Java: linux-sun-jdk-1.4.2.01_1
Linux: linux_base-8-8.0_1 and linux-gtk-1.2_2
Browser:linux-mozillafirebird 0.6.1 (from mozilla.org, not a port)
X: XFree86-4.3.0,1
HW: AMD Duron 600Mhz, 256Mb RAM
>Description:
ns610-gcc/libjavaplugin_oji.so from linux-sun-jdk-1.4.2 is needed for linux Firebird 0.6.1 to show java applets. Plugin needs gcc32 libraries so linux-base-8 is needed too.
But when trying to show an applet the browser/java/linuxemu crashes with the following (appletviewer quits silently):
Unexpected Signal : 11 occurred at PC=0x2A8C4F85
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
Dynamic libraries:
Can not get information for pid = 14033
Heap at VM Abort:
Heap
def new generation total 576K, used 515K [0x2c960000, 0x2ca00000, 0x2ce40000)
eden space 512K, 88% used [0x2c960000, 0x2c9d0ed8, 0x2c9e0000)
from space 64K, 99% used [0x2c9e0000, 0x2c9efff8, 0x2c9f0000)
to space 64K, 0% used [0x2c9f0000, 0x2c9f0000, 0x2ca00000)
tenured generation total 1408K, used 763K [0x2ce40000, 0x2cfa0000, 0x30960000
the space 1408K, 54% used [0x2ce40000, 0x2cefedd0, 0x2cefee00, 0x2cfa0000)
compacting perm gen total 4608K, used 4443K [0x30960000, 0x30de0000, 0x3496000
the space 4608K, 96% used [0x30960000, 0x30db6f50, 0x30db7000, 0x30de0000)
Local Time = Mon Sep 15 23:12:54 2003
Elapsed Time = 4
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
#
# An error report file has been saved as hs_err_pid14007.log.
# Please refer to the file for further information.
#
INTERNAL ERROR on Browser End: Pipe closed during read? State may be corrupt
System error?:: Success
At the same time this gets printed to terminal:
linux: syscall mmap2 is obsoleted or not implemented (pid=14000)
linux: syscall mmap2 is obsoleted or not implemented (pid=14000)
linux: syscall mmap2 is obsoleted or not implemented (pid=14000)
linux: syscall mmap2 is obsoleted or not implemented (pid=14000)
linux: syscall mmap2 is obsoleted or not implemented (pid=14007)
linux: syscall mmap2 is obsoleted or not implemented (pid=14007)
linux: syscall mmap2 is obsoleted or not implemented (pid=14007)
linux: syscall mmap2 is obsoleted or not implemented (pid=14007)
Sep 15 23:13:41 vaihtoehto /kernel: pid 14033 (java_vm), uid 1001: exited on sig
nal 6 (core dumped)
>How-To-Repeat:
Install linux-base-8, install linux-sun-jdk-1.4.2, install linux-gtk-1.2, download linux firebird 0.6.1 from mozilla.org and symlink /ns610-gcc32/libjavaplugin_oji.so to firebirddir/plugins/.
Then just try to view some applets (e.g. from www.proce55ing.net). This causes crash.
>Fix:
Workaround:
1. Don't use java with linux firebird 0.6.1
2. Use older linux firebird with older linux java.
3. Use (slower) native java with native browser.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030921012729.4dce52cd.lauri.jarvenpaa>
