From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 20 15:15:17 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D96EA16A4B3 for ; Sat, 20 Sep 2003 15:15:17 -0700 (PDT) Received: from smtp-out-01.utu.fi (smtp-out-01.utu.fi [130.232.202.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id A163143F3F for ; Sat, 20 Sep 2003 15:15:16 -0700 (PDT) (envelope-from lauri.jarvenpaa@students.turkuamk.fi) Received: from vaihtoehto.yok.utu.fi (vaihtoehto.yok.utu.fi [130.232.139.48]) by smtp01.mess.utu.fi (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) freebsd-bugs@FreeBSD.ORG; Sun, 21 Sep 2003 01:15:14 +0300 (EEST) Date: Sun, 21 Sep 2003 01:27:29 +0300 From: lauri.jarvenpaa@students.turkuamk.fi To: freebsd-bugs@FreeBSD.ORG Message-id: <20030921012729.4dce52cd.lauri.jarvenpaa@students.turkuamk.fi> MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Subject: missing mmap2 seems to cause crash with linux-sun-jdk-1.4.2 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 22:15:18 -0000 >Submitter-Id: current-users >Originator: lauri j=E4rvenp=E4=E4 [lauri dot jarvenpaa at students dot tur= kuamk dot fi] >Organization:=09 >Confidential: no=20 >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-PRERELEAS= E #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 linu= x Firebird 0.6.1 to show java applets. Plugin needs gcc32 libraries so linu= x-base-8 is needed too. But when trying to show an applet the browser/java/linuxemu crashes with t= he following (appletviewer quits silently): Unexpected Signal : 11 occurred at PC=3D0x2A8C4F85 Function=3D[Unknown.] Library=3D(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. =20 Current Java thread: Dynamic libraries: Can not get information for pid =3D 14033 Heap at VM Abort: Heap def new generation total 576K, used 515K [0x2c960000, 0x2ca00000, 0x2ce4= 0000) 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, 0x309= 60000 the space 1408K, 54% used [0x2ce40000, 0x2cefedd0, 0x2cefee00, 0x2cfa00= 00) compacting perm gen total 4608K, used 4443K [0x30960000, 0x30de0000, 0x34= 96000 the space 4608K, 96% used [0x30960000, 0x30db6f50, 0x30db7000, 0x30de00= 00) Local Time =3D Mon Sep 15 23:12:54 2003 Elapsed Time =3D 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. # =20 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=3D14000) linux: syscall mmap2 is obsoleted or not implemented (pid=3D14000) linux: syscall mmap2 is obsoleted or not implemented (pid=3D14000) linux: syscall mmap2 is obsoleted or not implemented (pid=3D14000) linux: syscall mmap2 is obsoleted or not implemented (pid=3D14007) linux: syscall mmap2 is obsoleted or not implemented (pid=3D14007) linux: syscall mmap2 is obsoleted or not implemented (pid=3D14007) linux: syscall mmap2 is obsoleted or not implemented (pid=3D14007) Sep 15 23:13:41 vaihtoehto /kernel: pid 14033 (java_vm), uid 1001: exited o= n 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/lib= javaplugin_oji.so to firebirddir/plugins/. Then just try to view some applets (e.g. from www.proce55ing.net). This ca= uses crash. =09 >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.