From owner-freebsd-java Mon May 13 13:54:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from email.agssmf.com (email.agssmf.com [63.196.107.134]) by hub.freebsd.org (Postfix) with ESMTP id 0D72C37B40B for ; Mon, 13 May 2002 13:54:27 -0700 (PDT) Received: from newtim (smf68.smf.intranet [172.20.24.68]) by email.agssmf.com (8.11.1/8.11.1) with ESMTP id g4DKsEw56589 for ; Mon, 13 May 2002 13:54:14 -0700 (PDT) (envelope-from tim_schafer@agship.com) From: "Tim E Schafer" To: "Java FreeBSD" Subject: FW: linux-ibm-jdk-1.3.1[x] broken for non-root users on -stable Date: Mon, 13 May 2002 13:54:14 -0700 Message-ID: <006d01c1fac0$5724aa10$441814ac@newtim> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am running 4.5 Release FreeBSD ldap.smf.intranet 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 Not having a problem starting linux-ibm-jdk-1.3.1_1 > /usr/local/linux-ibm-jdk1.3.1/bin/java Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: -cp -classpath set search path for application classes and resources -D= set a system property -verbose[:class|gc|jni] enable verbose output -version print product version -showversion print product version and continue -? -help print this help message -X print help on non-standard options > Something change in stable? -------------------------------------------- Tim E Schafer tim_schafer@agship.com Programmer 800-562-9915 x190 or 916-376-6190 Associated Global Systems 3231 Evergreen Ave West Sacramento, CA 95691 -------------------------------------------- -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG] On Behalf Of Andrew Atrens Sent: Monday, May 13, 2002 11:18 AM To: java@FreeBSD.ORG; marcel@FreeBSD.ORG Subject: linux-ibm-jdk-1.3.1[x] broken for non-root users on -stable Hi All, I'm running 4.5-stable (last updated on April 30) and am getting SIGBUS's with the new linux-ibm-jdk1.3.1 port. The problem only occurs when running as an ordinary user, when running the jvm as root, there's no problem. Both 1.3.1 and 1.3.1_1 both show the same behaviour. 1.3.0 on the other hand, works fine. I can duplicate the problem by simply - $ type java java is /usr/local/linux-ibm-jdk1.3.1/bin/java $ java Bus error $ su # type java java is /usr/local/linux-ibm-jdk1.3.1/bin/java # java Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: -cp -classpath set search path for application classes and resources -D= set a system property -verbose[:class|gc|jni] enable verbose output -version print product version -showversion print product version and continue -? -help print this help message -X print help on non-standard options Here's a relevant snippet from linux_ktrace - linux ibm jdk1.3.1_1 run as joe user - 26966 java RET read 0 26966 java CALL close(0x3) 26966 java RET close 0 26966 java CALL munmap(0x28063000,0x1000) 26966 java RET munmap 0 26966 java CALL linux_brk(0x805c000) 26966 java RET linux_brk 134594560/0x805c000 26966 java CALL linux_brk(0x806d000) 26966 java RET linux_brk 134664192/0x806d000 26966 java CALL linux_mmap(0xbfbff7e8) 26966 java RET linux_mmap 674906112/0x283a4000 26966 java CALL linux_mmap(0xbfbff6c4) 26966 java RET linux_mmap 1211777024/0x483a4000 26966 java CALL linux_times(0xbfbff824) 26966 java RET linux_times 10103143/0x9a2967 26966 java CALL linux_time(0) 26966 java RET linux_time 1021312595/0x3cdffe53 26966 java CALL linux_mmap(0xbfbff804) 26966 java RET linux_mmap 1211916288/0x483c6000 26966 java CALL linux_mmap(0xbfbff804) 26966 java RET linux_mmap 1220308992/0x48bc7000 26966 java CALL gettimeofday(0xbfbff82c,0) 26966 java RET gettimeofday 0 26966 java CALL linux_mmap(0xbfbff7f8) 26966 java RET linux_mmap 1228701696/0x493c8000 26966 java CALL linux_modify_ldt(0,0x283641cc,0x8) 26966 java RET linux_modify_ldt 8 26966 java CALL linux_modify_ldt(0x11,0xbfbff8ac,0x10) 26966 java RET linux_modify_ldt 8190/0x1ffe 26966 java CALL linux_sigaltstack(0xbfbff8ac,0x806ccf0) 26966 java RET linux_sigaltstack 0 26966 java PSIG SIGBUS SIG_DFL 26966 java NAMI "java.core" linux ibm jdk1.3.1_1 run as root - 27019 java RET read 0 27019 java CALL close(0x3) 27019 java RET close 0 27019 java CALL munmap(0x28063000,0x1000) 27019 java RET munmap 0 27019 java CALL linux_brk(0x805c000) 27019 java RET linux_brk 134594560/0x805c000 27019 java CALL linux_brk(0x806d000) 27019 java RET linux_brk 134664192/0x806d000 27019 java CALL linux_mmap(0xbfbff7e8) 27019 java RET linux_mmap 674906112/0x283a4000 27019 java CALL linux_mmap(0xbfbff6c4) 27019 java RET linux_mmap 1211777024/0x483a4000 27019 java CALL linux_times(0xbfbff824) 27019 java RET linux_times 10119802/0x9a6a7a 27019 java CALL linux_time(0) 27019 java RET linux_time 1021312762/0x3cdffefa 27019 java CALL linux_mmap(0xbfbff804) 27019 java RET linux_mmap 1211916288/0x483c6000 27019 java CALL linux_mmap(0xbfbff804) 27019 java RET linux_mmap 1220308992/0x48bc7000 27019 java CALL gettimeofday(0xbfbff82c,0) 27019 java RET gettimeofday 0 27019 java CALL linux_mmap(0xbfbff7f8) 27019 java RET linux_mmap 1228701696/0x493c8000 27019 java CALL linux_modify_ldt(0,0x283641cc,0x8) 27019 java RET linux_modify_ldt 8 27019 java CALL linux_modify_ldt(0x11,0xbfbff8ac,0x10) 27019 java RET linux_modify_ldt 8190/0x1ffe 27019 java CALL linux_sigaltstack(0xbfbff8ac,0x806ccf0) 27019 java RET linux_sigaltstack 0 27019 java CALL mprotect(0xbfbc8000,0x1000,0) 27019 java RET mprotect 0 Any help/suggestions you folks can provide would be greatly appreciated. Cheers, Andrew. ______________________________________________________________________ Games, Movies, Music & Sports! http://entertainment.yahoo.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message