From owner-freebsd-ports@FreeBSD.ORG Fri Oct 7 01:06:06 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AF7916A41F for ; Fri, 7 Oct 2005 01:06:06 +0000 (GMT) (envelope-from mhunter@malcolm.berkeley.edu) Received: from malcolm.berkeley.edu (malcolm.Berkeley.EDU [128.32.206.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DD9843D48 for ; Fri, 7 Oct 2005 01:06:05 +0000 (GMT) (envelope-from mhunter@malcolm.berkeley.edu) Received: from malcolm.berkeley.edu (localhost [127.0.0.1]) by malcolm.berkeley.edu (8.13.3/8.13.3) with ESMTP id j9715tnJ004804 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Oct 2005 18:05:55 -0700 (PDT) (envelope-from mhunter@malcolm.berkeley.edu) Received: (from mhunter@localhost) by malcolm.berkeley.edu (8.13.3/8.13.3/Submit) id j9715ti0004803; Thu, 6 Oct 2005 18:05:55 -0700 (PDT) (envelope-from mhunter) Date: Thu, 6 Oct 2005 18:05:55 -0700 From: Mike Hunter To: Greg Lewis Message-ID: <20051007010554.GA4594@malcolm.berkeley.edu> References: <20050928190349.GA72194@malcolm.berkeley.edu> <20050928194514.GA20631@misty.eyesbeyond.com> <20051001001910.GA37857@malcolm.berkeley.edu> <20051003154132.GA52761@misty.eyesbeyond.com> <20051004002656.GA4713@malcolm.berkeley.edu> <20051004041642.GA58118@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051004041642.GA58118@misty.eyesbeyond.com> User-Agent: Mutt/1.5.6i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (malcolm.berkeley.edu [127.0.0.1]); Thu, 06 Oct 2005 18:05:55 -0700 (PDT) Cc: freebsd-ports@freebsd.org Subject: Re: Java (jdk1.5) woes with firefox (1.0.6) and opera (8.5) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 01:06:06 -0000 On Oct 03, "Greg Lewis" wrote: > On Mon, Oct 03, 2005 at 05:26:56PM -0700, Mike Hunter wrote: > > On Oct 03, "Greg Lewis" wrote: > > > Hmmm. Try upgrading both of these. I'd try open-motif first (its > > > currently at 2.2.3_2) and then xorg (currently at 6.82). Let me know if > > > either of these makes any difference. > > > > Tried open-motif, didn't help. The port has a WITH_JDK_PATCH knob that I > > can't figure out what to do with, anybody familiar with it? I'll try X > > tomorrow and let you know how it goes. > > Hmm, that could definitely be related. > > Try dropping the attached patch into ports/x11-toolkits/open-motif/files > and rebuilding and reinstalling it. Welp, after redoing it so that I did NOT use the WITH_JDK_PATCH knob and instead just had the patch in the files directory, I got further. The java applet splash stuff loads, but the progress bar only made it about a quarter of the way through. I ended up with a crash: -------------------------------------- # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x35bb9adc, pid=620, tid=0x822e000 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_27_sep_2005_14_45 # mixed mode) # Problematic frame: # C [libmawt.so+0xd6adc] processTree+0x284 # # An error report file with more information is saved as hs_err_pid620.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # -------------------------------------- Should I try the Xorg upgrade or is there more to try here? hs_err_pid620.log says: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x35bb9adc, pid=620, tid=0x822e000 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_27_sep_2005_14_45 mixed mode) # Problematic frame: # C [libmawt.so+0xd6adc] processTree+0x284 # --------------- T H R E A D --------------- Current thread (0x0821ce00): JavaThread "AWT-Motif" daemon [_thread_in_native, id=136503296] siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x00000800 Registers: EAX=0x08276c00, EBX=0x35d45708, ECX=0x00000000, EDX=0x00000800 ESP=0xbf8a4528, EBP=0xbf8a4570, ESI=0x082e77d0, EDI=0x00000000 EIP=0x35bb9adc, EFLAGS=0x00010206 Top of Stack: (sp=0xbf8a4528) 0xbf8a4528: 00000001 285b3e14 0821ce00 35ba757f 0xbf8a4538: 00000001 28073b00 00000000 00000800 0xbf8a4548: 082e77d0 00000000 00000000 00000000 0xbf8a4558: 00000004 0821cebc 0021ce00 35d45708 0xbf8a4568: 285a7220 0821ce00 bf8a4800 35ba8fa5 0xbf8a4578: 082a8e00 00000000 00000000 35ba8a13 0xbf8a4588: bf8a45a8 2850e3bd 081420e0 00000001 0xbf8a4598: 28330102 285b3e14 bf8a4624 bf8a45d0 Instructions: (pc=0x35bb9adc) 0x35bb9acc: 8b 45 d0 8d 0c 85 00 00 00 00 8b 55 d4 8b 04 37 0x35bb9adc: 3b 04 11 75 13 8b 45 e8 48 3b 45 d0 75 05 e9 b9 Stack: [0xbf865000,0xbf8a5000), sp=0xbf8a4528, free space=253k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libmawt.so+0xd6adc] processTree+0x284 C [libmawt.so+0xc5fa5] shellEH+0x5a1 C [libmawt.so+0xc3e12] awt_util_processEventForEmbeddedFrame+0x9a C [libmawt.so+0xa7565] isFocusableWindow+0x1d5 C [libmawt.so+0xa659f] set_toolkit_busy+0x317 C [libmawt.so+0xa8dd0] Java_sun_awt_motif_MToolkit_run+0x44 j sun.awt.motif.MToolkit.run()V+0 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub V [libjvm.so+0x25c531] V [libjvm.so+0x34fa95] V [libjvm.so+0x25c38b] V [libjvm.so+0x25bda4] V [libjvm.so+0x25be1c] V [libjvm.so+0x2af33f] V [libjvm.so+0x3a9e92] V [libjvm.so+0x3a9e2f] V [libjvm.so+0x34d249] C [libpthread.so.1+0x8af1] _pthread_create+0x7c1 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j sun.awt.motif.MToolkit.run()V+0 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x083bb200 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=138792448] 0x083bb000 JavaThread "SysExecutionThead" [_thread_blocked, id=135308800] 0x0818da00 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=139864576] 0x0818d400 JavaThread "Thread-8" [_thread_blocked, id=139863552] 0x0818d800 JavaThread "thread applet-com.mindbright.application.MindTerm.class" [_thread_blocked, id=138788864] 0x0810a200 JavaThread "TimerQueue" daemon [_thread_blocked, id=135308288] 0x08562e00 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=140361728] 0x08547e00 JavaThread "SysExecutionThead" [_thread_blocked, id=139862016] 0x082bf600 JavaThread "Thread-5" [_thread_blocked, id=137099776] 0x0845c200 JavaThread "thread applet-com.hp.ov.dynamicViews.gui.core.DynamicViewApplet.class" [_thread_blocked, id=138789888] 0x082be400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=137094656] 0x08276800 JavaThread "Thread-2" [_thread_in_native, id=136800768] 0x08276400 JavaThread "Thread-1" [_thread_blocked, id=136799744] 0x0822e600 JavaThread "traceMsgQueueThread" [_thread_blocked, id=136505344] =>0x0821ce00 JavaThread "AWT-Motif" daemon [_thread_in_native, id=136503296] 0x0821ca00 JavaThread "AWT-Shutdown" [_thread_blocked, id=136432640] 0x081fa000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=136290816] 0x08150600 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135596032] 0x08150200 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135595008] 0x08107e00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135593984] 0x08107a00 JavaThread "Finalizer" daemon [_thread_blocked, id=135298048] 0x08107600 JavaThread "Reference Handler" daemon [_thread_blocked, id=135297024] 0x08060200 JavaThread "main" [_thread_in_native, id=134569984] Other Threads: 0x08132000 VMThread [id=135296000] 0x08050b00 WatcherThread [id=135597056] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 576K, used 353K [0x2d820000, 0x2d8c0000, 0x2dd00000) eden space 512K, 56% used [0x2d820000, 0x2d868468, 0x2d8a0000) from space 64K, 100% used [0x2d8a0000, 0x2d8b0000, 0x2d8b0000) to space 64K, 0% used [0x2d8b0000, 0x2d8b0000, 0x2d8c0000) tenured generation total 5516K, used 2997K [0x2dd00000, 0x2e263000, 0x31820000) the space 5516K, 54% used [0x2dd00000, 0x2dfed7e8, 0x2dfed800, 0x2e263000) compacting perm gen total 9728K, used 9711K [0x31820000, 0x321a0000, 0x35820000) the space 9728K, 99% used [0x31820000, 0x3219bc08, 0x3219be00, 0x321a0000) No shared spaces configured. Dynamic libraries: 0x08048000 java_vm 0x28082000 /usr/lib/libpthread.so.1 0x280a6000 /lib/libc.so.5 0x28180000 /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so 0x285d2000 /lib/libm.so.3 0x285ee000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x285ff000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so 0x2860c000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so 0x2862a000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so 0x3598a000 /usr/local/jdk1.5.0/jre/lib/i386/libawt.so 0x35a26000 /usr/local/jdk1.5.0/jre/lib/i386/libmlib_image.so 0x35ae3000 /usr/local/jdk1.5.0/jre/lib/i386/motif21/libmawt.so 0x35d4b000 /usr/X11R6/lib/libXp.so.6 0x35d52000 /usr/X11R6/lib/libXtst.so.6 0x35d57000 /usr/X11R6/lib/libXext.so.6 0x35d64000 /usr/X11R6/lib/libX11.so.6 0x35e24000 /usr/local/jdk1.5.0/jre/lib/i386/libjavaplugin_jni.so 0x35e4a000 /usr/local/jdk1.5.0/jre/lib/i386/libfontmanager.so 0x35ecf000 /usr/lib/libstdc++.so.4 0x35fa1000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x35fa4000 /usr/X11R6/lib/libXcursor.so.1 0x35fad000 /usr/X11R6/lib/libXrender.so.1 0x35fb5000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 0x35fd1000 /usr/local/jdk1.5.0/jre/lib/i386/libdeploy.so 0x35fdf000 /usr/local/jdk1.5.0/jre/lib/i386/libnet.so 0x36082000 /usr/local/jdk1.5.0/jre/lib/i386/libnio.so 0x3640c000 /usr/local/jdk1.5.0/jre/lib/i386/libdcpr.so 0x2804c000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -DtrustProxy=true -Xverify:remote -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Xbootclasspath/a:/usr/local/jdk1.5.0/jre/lib/plugin.jar:/usr/local/jdk1.5.0/jre/lib/deploy.jar:/usr/local/jdk1.5.0/jre/lib/javaplugin_l10n.jar -Djavaplugin.lib=/usr/local/jdk1.5.0/jre/lib/i386/libjavaplugin_jni.so -Dmozilla.workaround=true -Djavaplugin.nodotversion=150 -Djavaplugin.version=1.5.0 -Djavaplugin.vm.options=-DtrustProxy=true -Xverify:remote -Djava.class.path=/usr/local/jdk1.5.0/jre/classes -Djava.class.path=/usr/local/jdk1.5.0/jre/classes -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Xbootclasspath/a:/usr/local/jdk1.5.0/jre/lib/plugin.jar:/usr/local/jdk1.5.0/jre/lib/deploy.jar:/usr/local/jdk1.5.0/jre/lib/javaplugin_l10n.jar -Djavaplugin.lib=/usr/local/jdk1.5.0/jre/lib/i386/libjavaplugin_jni.so -Dmozilla.workaround=true -Djavaplugin.nodotversion=150 -Djavaplugin.version=1.5.0 java_command: Environment Variables: JAVA_HOME=/usr/local/jdk1.5.0/jre PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/mhunter/bin LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/i386/client:/usr/local/jdk1.5.0/jre/lib/i386:/usr/X11R6/lib/firefox:/usr/X11R6/lib/firefox/plugins:/usr/X11R6/lib/browser_plugins:/usr/X11R6/lib/firefox SHELL=/usr/local/bin/bash DISPLAY=:0.0 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 5.4-STABLE FreeBSD 5.4-STABLE #1: Wed May 11 12:05:39 PDT 2005 root@mybox.berkeley.edu:/usr/obj/usr/src/sys/dorine i386 rlimit: STACK 65536k, CORE infinity, NOFILE 7207 CPU:total 1 family 6, cmov, cx8, fxsr, mmx Memory: 4k page, physical 454288k vm_info: Java HotSpot(TM) Client VM (1.5.0-p2-root_27_sep_2005_14_45) for freebsd-x86, built on Sep 27 2005 16:22:53 by root with gcc 3.4.2 [FreeBSD] 20040728