From owner-freebsd-java@FreeBSD.ORG Sun Jan 13 08:21:05 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38EAD16A41A; Sun, 13 Jan 2008 08:21:05 +0000 (UTC) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id 8F96513C44B; Sun, 13 Jan 2008 08:21:03 +0000 (UTC) (envelope-from hwh@gddsn.org.cn) Received: from tp.gddsn.org.cn (unknown [121.32.22.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id 5C6CD38CB49; Sat, 12 Jan 2008 18:07:43 +0800 (CST) Message-ID: <47889149.7020408@gddsn.org.cn> Date: Sat, 12 Jan 2008 18:07:05 +0800 From: Huang wen hui User-Agent: Thunderbird 2.0.0.6 (X11/20071103) MIME-Version: 1.0 To: freebsd-eclipse@FreeBSD.org, freebsd-java@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: Subject: eclipse 3.3.1 crash under 7.0-PRERELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 08:21:05 -0000 hi, When I edit lib files on "user libraries", eclipse crash, use jdk1.6 crash also. %cat hs_err_pid1516.log # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x000000080089438a, pid=1516, tid=0xb01120 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_13-p7-hwh_24_oct_2007_08_25 mixed mode) # Problematic frame: # C [libc.so.7+0x2f38a] realpath+0x21a # --------------- T H R E A D --------------- Current thread (0x0000000800b28000): JavaThread "main" [_thread_in_native, id=11538720] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000000000000000 Registers: RAX=0x0000000000000002, RBX=0x000000087425abf0, RCX=0x0000000000000000, RDX=0x0000000800b01120 RSP=0x00007fffffffb070, RBP=0x0000000000000000, RSI=0x0000000000000000, RDI=0x000000087425abf0 R8 =0x000000006c2970b0, R9 =0x0000000000000001, R10=0x000000087425a000, R11=0x0000000000000001 R12=0x0000000000000000, R13=0x00007fffffffbe10, R14=0x000000087425abf0, R15=0x0000000000000000 RIP=0x000000080089438a, EFL=0x0000000000000000, ERR=0x0000000000000006 TRAPNO=0x000000000000000c Top of Stack: (sp=0x00007fffffffb070) 0x00007fffffffb070: 000000085a7a5690 000000085a79a380 0x00007fffffffb080: 000000085a79a348 000000085a64ea74 0x00007fffffffb090: 0000000800b31350 0000000200000000 0x00007fffffffb0a0: 00000008582cf400 00000008595d6329 0x00007fffffffb0b0: 0000000000000000 00000008582d3de0 0x00007fffffffb0c0: 0000003000000008 00007fffffffb3d0 0x00007fffffffb0d0: 00007fffffffb310 00007fffffffb3e0 0x00007fffffffb0e0: 00007fffffffafd0 0000000000000000 0x00007fffffffb0f0: 00007fffffffafe0 0000000000000000 0x00007fffffffb100: 0000000000000000 0000000000000000 0x00007fffffffb110: 0000000000000000 0000000000000000 0x00007fffffffb120: 0000000000000000 0000000000000000 0x00007fffffffb130: 0000000000000000 00007fffffffb430 0x00007fffffffb140: 0000000100000000 0000000000000200 0x00007fffffffb150: 00007fffffffb2f0 000000080052a541 0x00007fffffffb160: 0000000000000003 000000087425abf0 0x00007fffffffb170: 0000000000000000 000000080051a52c 0x00007fffffffb180: 0000000000000000 0000000000000000 0x00007fffffffb190: 0000000000000000 0000000000000000 0x00007fffffffb1a0: 0000000000000000 0000000000000000 0x00007fffffffb1b0: 0000000000000000 0000000000000000 0x00007fffffffb1c0: 0000000000000000 0000000000000000 0x00007fffffffb1d0: 0000000000000000 0000000000000000 0x00007fffffffb1e0: 0000000000000000 0000000000000000 0x00007fffffffb1f0: 0000000000000000 0000000000000000 0x00007fffffffb200: 0000000000000000 0000000000000000 0x00007fffffffb210: 0000000000000000 0000000000000000 0x00007fffffffb220: 0000000800635740 000001bf00000000 0x00007fffffffb230: 00000008ffff0208 0000000800635700 0x00007fffffffb240: 00000000000001ff 0000000800635700 0x00007fffffffb250: 00000008000001ff 0000000874206100 0x00007fffffffb260: 0000000877c6a9c0 00000008591bd1ee Instructions: (pc=0x000000080089438a) 0x000000080089437a: 38 2f 0f 85 7d fe ff ff c6 00 00 e9 75 fe ff ff 0x000000080089438a: 41 c6 07 2f 41 c6 47 01 00 48 8d 73 01 80 7b 01 Stack: [0x00007fffffc00000,0x0000800000000000), sp=0x00007fffffffb070, free space=4076k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.7+0x2f38a] realpath+0x21a [error occurred during error reporting, step 120, id 0xb] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.eclipse.swt.internal.gtk.OS.realpath([B[B)J+0 j org.eclipse.swt.widgets.FileDialog.presetChooserDialog()V+166 j org.eclipse.swt.widgets.FileDialog.openChooserDialog()Ljava/lang/String;+84 j org.eclipse.swt.widgets.FileDialog.open()Ljava/lang/String;+24 j org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage.openExtJarFileDialog(Lorg/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement;Ljava/lang/Object;)[Lorg/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement;+129 j org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage.editArchiveElement(Lorg/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement;Lorg/eclipse/jdt/internal/ui/wizards/buildpaths/CPUserLibraryElement;)V+3 j org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage.doEdit(Ljava/util/List;)V+75 j org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage.doCustomButtonPressed(Lorg/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField;I)V+54 j org.eclipse.jdt.internal.ui.preferences.UserLibraryPreferencePage$UserLibraryAdapter.customButtonPressed(Lorg/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField;I)V+6 j org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.buttonPressed(I)V+21 j org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.doButtonSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+27 j org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.access$2(Lorg/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField;Lorg/eclipse/swt/events/SelectionEvent;)V+2 j org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField$2.widgetSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+5 j org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+1003 v ~C2IAdapter J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V v ~I2CAdapter j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+25 j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+84 j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33 j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;)V+23 j org.eclipse.jface.window.Window.open()I+49 j org.eclipse.ui.internal.OpenPreferencesAction.run()V+17 j org.eclipse.jface.action.Action.runWithEvent(Lorg/eclipse/swt/widgets/Event;)V+1 j org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Lorg/eclipse/swt/widgets/Event;Z)V+281 j org.eclipse.jface.action.ActionContributionItem.access$2(Lorg/eclipse/jface/action/ActionContributionItem;Lorg/eclipse/swt/widgets/Event;Z)V+3 j org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+60 v ~C2IAdapter J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V v ~I2CAdapter j org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+25 j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+84 j org.eclipse.swt.widgets.Display.readAndDispatch()Z+33 j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9 j org.eclipse.ui.internal.Workbench.runUI()I+336 j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1 j org.eclipse.ui.internal.Workbench$4.run()V+23 j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12 j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18 j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2 j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+81 j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+102 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+118 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111 j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+150 j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+114 j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4 j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0000000858bdcc00 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=1486606992] 0x000000085870d400 JavaThread "RMI RenewClean-[192.168.1.5:59642]" daemon [_thread_blocked, id=1483854480] 0x000000087903d000 JavaThread "GC Daemon" daemon [_thread_blocked, id=1711765168] 0x000000087903c800 JavaThread "RMI Reaper" [_thread_blocked, id=1711764800] 0x00000008724ca000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=1711764432] 0x00000008724cac00 JavaThread "DLTK indexing" daemon [_thread_blocked, id=1711764064] 0x0000000858d1fc00 JavaThread "MultiThreadedHttpConnectionManager cleanup" daemon [_thread_blocked, id=1486607728] 0x000000085838dc00 JavaThread "Worker-9" [_thread_blocked, id=1711762960] 0x000000085838d800 JavaThread "Worker-8" [_thread_blocked, id=11545712] 0x0000000858820800 JavaThread "Timer-4" daemon [_thread_blocked, id=11546080] 0x000000086a9a1000 JavaThread "Thread-12" [_thread_blocked, id=11553808] 0x000000086a9a0800 JavaThread "Timer-3" [_thread_blocked, id=11544976] 0x000000085bf95800 JavaThread "Timer-2" [_thread_blocked, id=1549800448] 0x0000000866087800 JavaThread "Thread-8" [_thread_blocked, id=1711763328] 0x000000085bf94400 JavaThread "Timer-1" [_thread_blocked, id=1549800080] 0x00000008627a4c00 JavaThread "RMI TCP Accept-8118" daemon [_thread_in_native, id=1711762592] 0x000000085d969800 JavaThread "Timer-0" daemon [_thread_blocked, id=11545344] 0x000000085838d400 JavaThread "Worker-7" [_thread_blocked, id=1480159520] 0x00000008582ac400 JavaThread "Worker-6" [_thread_blocked, id=11544608] 0x000000085890cc00 JavaThread "Worker-5" [_thread_blocked, id=1486606624] 0x000000085880dc00 JavaThread "Worker-4" [_thread_blocked, id=1549799712] 0x000000085870b000 JavaThread "Worker-3" [_thread_blocked, id=1483854112] 0x000000085860f400 JavaThread "Worker-2" [_thread_blocked, id=1482875168] 0x000000085d190800 JavaThread "Worker-1" [_thread_blocked, id=11555280] 0x0000000858a57400 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=11553440] 0x000000085fe3c800 JavaThread "Java indexing" daemon [_thread_blocked, id=11553072] 0x00000008582aac00 JavaThread "Worker-0" [_thread_blocked, id=11544240] 0x0000000858aee000 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=11543136] 0x0000000858aedc00 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=11542768] 0x0000000858aed800 JavaThread "State Data Manager" daemon [_thread_blocked, id=11542400] 0x00000008582cc800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11541664] 0x0000000800b2e800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=11541296] 0x0000000800b2dc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11540928] 0x0000000800b2d000 JavaThread "AdapterThread" daemon [_thread_blocked, id=11540560] 0x0000000800b2c400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11540192] 0x0000000800b2bc00 JavaThread "Finalizer" daemon [_thread_blocked, id=11539824] 0x0000000800b2b800 JavaThread "Reference Handler" daemon [_thread_blocked, id=11539456] =>0x0000000800b28000 JavaThread "main" [_thread_in_native, id=11538720] Other Threads: 0x0000000800b1a7b0 VMThread [id=11539088] 0x0000000800b1a8c0 WatcherThread [id=11542032] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 71168K, used 9004K [0x0000000807cd0000, 0x000000080ca00000, 0x000000081d220000) eden space 63296K, 5% used [0x0000000807cd0000, 0x0000000807fec148, 0x000000080baa0000) from space 7872K, 73% used [0x000000080c250000, 0x000000080c7fef20, 0x000000080ca00000) to space 7872K, 0% used [0x000000080baa0000, 0x000000080baa0000, 0x000000080c250000) tenured generation total 157812K, used 94685K [0x000000081d220000, 0x0000000826c3d000, 0x0000000847cd0000) the space 157812K, 59% used [0x000000081d220000, 0x0000000822e977f8, 0x0000000822e97800, 0x0000000826c3d000) compacting perm gen total 88448K, used 88442K [0x0000000847cd0000, 0x000000084d330000, 0x0000000857cd0000) the space 88448K, 99% used [0x0000000847cd0000, 0x000000084d32eb40, 0x000000084d32ec00, 0x000000084d330000) No shared spaces configured. Dynamic libraries: 0x0000000000400000 /usr/local/jdk1.5.0/bin/java 0x000000080063b000 /lib/libz.so.4 0x000000080074f000 /lib/libthr.so.3 0x0000000800865000 /lib/libc.so.7 0x0000000800c00000 /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so 0x00000008014f8000 /usr/lib/libstdc++.so.6 0x00000008016f7000 /lib/libm.so.5 0x0000000801811000 /lib/libgcc_s.so.1 0x000000080191e000 /usr/local/jdk1.5.0/jre/lib/amd64/native_threads/libhpi.so 0x0000000801a2a000 /usr/local/jdk1.5.0/jre/lib/amd64/libverify.so 0x0000000801b39000 /usr/local/jdk1.5.0/jre/lib/amd64/libjava.so 0x0000000801c61000 /usr/local/jdk1.5.0/jre/lib/amd64/libzip.so 0x0000000858f00000 /usr/local/eclipse/plugins/org.eclipse.equinox.launcher.gtk.freebsd.amd64_1.0.1.R33x_v20070828/eclipse_1020.so 0x000000085900c000 /usr/local/lib/libgtk-x11-2.0.so.0 0x00000008594b0000 /usr/local/lib/libgdk_pixbuf-2.0.so.0 0x00000008595c9000 /usr/local/lib/libgobject-2.0.so.0 0x0000000859709000 /usr/local/lib/libgdk-x11-2.0.so.0 0x00000008598a0000 /usr/local/lib/libpangocairo-1.0.so.0 0x00000008599aa000 /usr/local/lib/libpangoft2-1.0.so.0 0x0000000859add000 /usr/local/lib/libfontconfig.so.1 0x0000000859c10000 /usr/local/lib/libfreetype.so.9 0x0000000859d8b000 /usr/local/lib/libpango-1.0.so.0 0x0000000859ecd000 /usr/local/lib/libX11.so.6 0x000000085a0d1000 /usr/local/lib/libXcomposite.so.1 0x000000085a1d4000 /usr/local/lib/libXdamage.so.1 0x000000085a2d6000 /usr/local/lib/libXfixes.so.3 0x000000085a3db000 /usr/local/lib/libatk-1.0.so.0 0x000000085a4fa000 /usr/local/lib/libgmodule-2.0.so.0 0x000000085a5fd000 /usr/local/lib/libglib-2.0.so.0 0x000000085a7a6000 /usr/local/lib/libiconv.so.3 0x000000085a99f000 /usr/local/lib/libcairo.so.2 0x000000085ab19000 /usr/local/lib/libintl.so.8 0x000000085ac22000 /usr/local/lib/libXext.so.6 0x000000085ad32000 /usr/local/lib/libXrender.so.1 0x000000085ae3b000 /usr/local/lib/libXinerama.so.1 0x000000085af3d000 /usr/local/lib/libXi.so.6 0x000000085b046000 /usr/local/lib/libXrandr.so.2 0x000000085b14d000 /usr/local/lib/libXcursor.so.1 0x000000085b257000 /usr/local/lib/libexpat.so.6 0x000000085b37a000 /usr/local/lib/libXau.so.6 0x000000085b47d000 /usr/local/lib/libXdmcp.so.6 0x000000085b582000 /usr/lib/librpcsvc.so.4 0x000000085b68b000 /usr/local/lib/libpcre.so.0 0x000000085b7b0000 /usr/local/lib/libpng.so.5 0x000000085b8d6000 /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so 0x000000085b9d9000 /usr/lib/libelf.so.1 0x000000085baf0000 /usr/local/lib/gtk-2.0/2.10.0/engines/libclearlooks.so 0x000000085bc15000 /usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so 0x000000085c000000 /usr/local/jdk1.5.0/jre/lib/amd64/libnet.so 0x000000085c112000 /usr/local/jdk1.5.0/jre/lib/amd64/libnio.so 0x000000085da00000 /home/hwh/.eclipse/185596441/configuration/org.eclipse.osgi/bundles/106/1/.cp/libswt-gtk-3346.so 0x000000085db45000 /home/hwh/.eclipse/185596441/configuration/org.eclipse.osgi/bundles/106/1/.cp/libswt-pi-gtk-3346.so 0x000000085dcc7000 /usr/local/lib/libgthread-2.0.so.0 0x000000085ddcb000 /usr/local/lib/libXtst.so.6 0x000000085f125000 /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so 0x000000085cb00000 /home/hwh/.eclipse/185596441/configuration/org.eclipse.osgi/bundles/131/1/.cp/os/freebsd/amd64/liblocalfile_1_0_0.so 0x000000085ce00000 /usr/local/lib/gtk-2.0/immodules/im-scim.so 0x000000085ded1000 /usr/local/lib/libscim-1.0.so.10 0x000000085e0c8000 /usr/local/lib/libscim-x11utils-1.0.so.10 0x000000085e1ca000 /usr/local/lib/scim-1.0/1.4.0/Config/socket.so 0x000000085e2d1000 /usr/local/lib/scim-1.0/1.4.0/IMEngine/socket.so 0x000000085e3e4000 /home/hwh/.eclipse/185596441/configuration/org.eclipse.osgi/bundles/106/1/.cp/libswt-atk-gtk-3346.so 0x00000008606cb000 /home/hwh/.eclipse/185596441/configuration/org.eclipse.osgi/bundles/106/1/.cp/libswt-cairo-gtk-3346.so 0x000000085f900000 /usr/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so 0x000000085fa04000 /usr/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so 0x000000085fb13000 /usr/local/lib/libcups.so.2 0x000000085fc48000 /usr/local/lib/libgnutls.so.13 0x0000000860100000 /usr/local/lib/libtasn1.so.3 0x0000000861db2000 /usr/local/lib/libgcrypt.so.13 0x000000085ccfd000 /usr/local/lib/libgpg-error.so.0 0x0000000861f01000 /lib/libcrypt.so.4 0x000000086201a000 /usr/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so 0x0000000877d00000 /usr/local/jdk1.5.0/jre/lib/amd64/librmi.so 0x00000008777e4000 /usr/local/lib/gtk-2.0/2.10.0/filesystems/libgnome-vfs.so 0x00000008778f0000 /usr/local/lib/libgnome-2.so.0 0x0000000877a07000 /usr/local/lib/libbonobo-2.so.0 0x0000000878100000 /usr/local/lib/libbonobo-activation.so.4 0x000000087821a000 /usr/local/lib/libgnomevfs-2.so.0 0x0000000878800000 /usr/local/lib/libgconf-2.so.4 0x0000000878b00000 /usr/local/lib/libORBit-2.so.0 0x0000000878c6c000 /usr/local/lib/libgnomeui-2.so.0 0x0000000878e05000 /usr/local/lib/libpopt.so.0 0x0000000879100000 /usr/local/lib/libesd.so.2 0x0000000879400000 /usr/local/lib/libaudiofile.so.0 0x000000087952a000 /usr/local/lib/libORBitCosNaming-2.so.0 0x0000000879631000 /usr/local/lib/libxml2.so.5 0x0000000879873000 /usr/local/lib/libdbus-glib-1.so.2 0x0000000879994000 /usr/local/lib/libdbus-1.so.3 0x0000000879ad6000 /usr/lib/libssl.so.5 0x0000000879c20000 /lib/libcrypto.so.5 0x0000000879eb0000 /usr/local/lib/libavahi-glib.so.1 0x0000000879fb3000 /usr/local/lib/libavahi-common.so.3 0x000000087a0bf000 /usr/local/lib/libavahi-client.so.3 0x000000087a1cf000 /lib/libutil.so.7 0x000000087a2dd000 /usr/local/lib/libbonoboui-2.so.0 0x000000087a448000 /usr/local/lib/libgnomecanvas-2.so.0 0x000000087a57c000 /usr/local/lib/libart_lgpl_2.so.5 0x000000087a693000 /usr/local/lib/libgnome-keyring.so.0 0x000000087a7a5000 /usr/local/lib/libjpeg.so.9 0x000000087a8c7000 /usr/local/lib/libSM.so.6 0x000000087a9cf000 /usr/local/lib/libICE.so.6 0x000000087aae9000 /lib/libssp.so.0 0x000000087abeb000 /usr/local/lib/libgailutil.so.18 0x000000087acf3000 /usr/local/lib/gnome-vfs-2.0/modules/libfile.so 0x000000087adfd000 /usr/local/lib/libfam.so.0 0x0000000800509000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xms128m -XX:MaxPermSize=256M -Xmx1024m java_command: /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar -os freebsd -ws gtk -arch amd64 -showsplash -launcher /usr/local/eclipse/eclipse -name Eclipse --launcher.library /usr/local/eclipse/plugins/org.eclipse.equinox.launcher.gtk.freebsd.amd64_1.0.1.R33x_v20070828/eclipse_1020.so -startup /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar -exitdata 2000e -vm /usr/local/jdk1.5.0/bin/java -vmargs -Xms128m -XX:MaxPermSize=256M -Xmx1024m -jar /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar Launcher Type: SUN_STANDARD Environment Variables: PATH=/usr/local/jdk1.5.0/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/hwh/bin USERNAME=hwh LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/amd64/server:/usr/local/jdk1.5.0/jre/lib/amd64:/usr/local/jdk1.5.0/jre/../lib/amd64::: SHELL=/bin/csh DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x653970], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x653970], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x55da60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGILL: [libjvm.so+0x55da60], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002 SIGHUP: [libjvm.so+0x55f870], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGINT: [libjvm.so+0x55f870], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGQUIT: [libjvm.so+0x55f870], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x55f870], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #68: Sat Jan 12 09:49:11 CST 2008 hwh@tp.gddsn.org.cn:/usr/obj/usr/src/sys/IBM01 amd64 rlimit: STACK 524288k, CORE infinity, NOFILE 11095 CPU:total 2 em64t ht Memory: 4k page, physical 1494636k vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0_13-p7-hwh_24_oct_2007_08_25) for freebsd-amd64, built on Oct 24 2007 08:38:54 by root with gcc 4.2.1 20070719 [FreeBSD] % uname -a FreeBSD tp.gddsn.org.cn 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #68: Sat Jan 12 09:49:11 CST 2008 hwh@tp.gddsn.org.cn:/usr/obj/usr/src/sys/IBM01 amd64 From owner-freebsd-java@FreeBSD.ORG Sun Jan 13 09:51:52 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8855416A418 for ; Sun, 13 Jan 2008 09:51:52 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 2708F13C45D for ; Sun, 13 Jan 2008 09:51:51 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so1023588uge.37 for ; Sun, 13 Jan 2008 01:51:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=yISvbp8pswXl9ycFgMrIuzwUnOiEEBA+3fIJFiT97ZM=; b=tPp1jwWiwWiYIdA8LkqddAuwRlWQIBfYAYz06jaBYgVSDHuefIwG6sM3UfCth5tinzRerByiZNlQgXvgS/atJQhQ5MSah7U4zZ2jJQD9954T5/MKRA+8BMZi8VAYQ+AA7upsW21nMTYwX0gakQlG2nCRpQ856lJkaaJJJKhlFDs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=nwP1AM/8+8c+yI7uCC5WCDuO0h/Eem8So+kc/Ts6GUimmGcylX5OOZ03Qvvc2MdX/+h+HcU00e20WWrEV7hmaWLcC7Z+c3RwvKmPa2EA89cxrd+f5WXwQRi5VCUyy4Y/sLjynG5b20akdjcVi2eQwtbxSp6XfosSV0gS3mrdVQQ= Received: by 10.67.22.2 with SMTP id z2mr1997231ugi.1.1200216413101; Sun, 13 Jan 2008 01:26:53 -0800 (PST) Received: from self.rene-ladan.nl ( [77.163.174.49]) by mx.google.com with ESMTPS id o24sm16846529ugd.41.2008.01.13.01.26.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 13 Jan 2008 01:26:52 -0800 (PST) Message-ID: <4789D95A.8000307@gmail.com> Date: Sun, 13 Jan 2008 10:26:50 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.9 (X11/20071229) MIME-Version: 1.0 To: Huang wen hui References: <47889149.7020408@gddsn.org.cn> In-Reply-To: <47889149.7020408@gddsn.org.cn> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org, freebsd-eclipse@FreeBSD.org Subject: Re: eclipse 3.3.1 crash under 7.0-PRERELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 09:51:52 -0000 Huang wen hui schreef: > hi, > When I edit lib files on "user libraries", eclipse crash, use jdk1.6 > crash also. > > Eclipse 3.3.1 works nicely on my 7.0BETA4 i386 box using either jdk1.5 or jdk1.6 > %cat hs_err_pid1516.log > # > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGSEGV (0xb) at pc=0x000000080089438a, pid=1516, tid=0xb01120 > # > # Java VM: Java HotSpot(TM) 64-Bit Server VM > (1.5.0_13-p7-hwh_24_oct_2007_08_25 mixed mode) > # Problematic frame: > # C [libc.so.7+0x2f38a] realpath+0x21a > # > [..snip rest of backtrace..] I think rhis is more an Eclipse/Java problem, because Eclipse 3.3.1 sometimes also crashes on the Windows XP box at work (running jdk1.6u3) Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Sun Jan 13 10:43:51 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D997416A418; Sun, 13 Jan 2008 10:43:51 +0000 (UTC) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id 71FAD13C465; Sun, 13 Jan 2008 10:43:50 +0000 (UTC) (envelope-from hwh@gddsn.org.cn) Received: from hwh.gddsn.org.cn (hwh [192.168.168.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id C837238CB49; Sun, 13 Jan 2008 18:43:46 +0800 (CST) Message-ID: <4789EB5F.7040608@gddsn.org.cn> Date: Sun, 13 Jan 2008 18:43:43 +0800 From: Huang wen hui User-Agent: Thunderbird 2.0.0.6 (X11/20071103) MIME-Version: 1.0 To: Rene Ladan References: <47889149.7020408@gddsn.org.cn> <4789D95A.8000307@gmail.com> In-Reply-To: <4789D95A.8000307@gmail.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Cc: freebsd-eclipse@FreeBSD.org, freebsd-java@freebsd.org Subject: Re: eclipse 3.3.1 crash under 7.0-PRERELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 10:43:52 -0000 Rene Ladan дµÀ: > Huang wen hui schreef: > >> hi, >> When I edit lib files on "user libraries", eclipse crash, use jdk1.6 >> crash also. >> >> >> > Eclipse 3.3.1 works nicely on my 7.0BETA4 i386 box using > either jdk1.5 or jdk1.6 > > >> %cat hs_err_pid1516.log >> # >> # An unexpected error has been detected by HotSpot Virtual Machine: >> # >> # SIGSEGV (0xb) at pc=0x000000080089438a, pid=1516, tid=0xb01120 >> # >> # Java VM: Java HotSpot(TM) 64-Bit Server VM >> (1.5.0_13-p7-hwh_24_oct_2007_08_25 mixed mode) >> # Problematic frame: >> # C [libc.so.7+0x2f38a] realpath+0x21a >> # >> >> > [..snip rest of backtrace..] > > I think rhis is more an Eclipse/Java problem, > because Eclipse 3.3.1 sometimes also crashes > on the Windows XP box at work (running jdk1.6u3) > > Rene > this dirty patch fixed my problem: diff -u ./plugins/org.eclipse.swt/Eclipse\ SWT/gtk/org/eclipse/swt/widgets/FileDialog.java /tmp/FileDialog.java --- ./plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java 2007-09-22 00:58:07.000000000 +0800 +++ /tmp/FileDialog.java 2008-01-13 18:41:00.146067367 +0800 @@ -383,10 +383,11 @@ * when setting a file name that is not a true canonical path. * The fix is to use the canonical path. */ - int /*long*/ ptr = OS.realpath (buffer, null); + byte [] maxPath = new byte[1024]; + int /*long*/ ptr = OS.realpath (buffer, maxPath); if (ptr != 0) { OS.gtk_file_chooser_set_filename (handle, ptr); - OS.g_free (ptr); + //OS.g_free (ptr); } } else { if (fileName.length () > 0) { @@ -397,10 +398,11 @@ * when setting a file name that is not a true canonical path. * The fix is to use the canonical path. */ - int /*long*/ ptr = OS.realpath (buffer, null); + byte [] maxPath = new byte[1024]; + int /*long*/ ptr = OS.realpath (buffer, maxPath); if (ptr != 0) { OS.gtk_file_chooser_set_filename (handle, ptr); - OS.g_free (ptr); + //OS.g_free (ptr); } } } From owner-freebsd-java@FreeBSD.ORG Sun Jan 13 20:56:39 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 848E816A420 for ; Sun, 13 Jan 2008 20:56:39 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 34BE513C461 for ; Sun, 13 Jan 2008 20:56:38 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JE9sh-0007Qp-Cs for freebsd-java@freebsd.org; Sun, 13 Jan 2008 20:56:35 +0000 Received: from r5j156.net.upc.cz ([86.49.9.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jan 2008 20:56:35 +0000 Received: from gamato by r5j156.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jan 2008 20:56:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: martinko Date: Sun, 13 Jan 2008 21:56:27 +0100 Lines: 39 Message-ID: <478A7AFB.8040604@users.sf.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: r5j156.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko/20071204 SeaMonkey/1.1.7 In-Reply-To: Sender: news Cc: freebsd-database@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Oracle SQL Developer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2008 20:56:39 -0000 Marcin Cieslak wrote: > martinko wrote: >> Hallo, >> >> Would someone care to port Oracle's SQL Developer to FreeBSD, please ? >> >> >> >> >> Many thanks in advance! > > There is actually nothing to port, just download the non-JRE platform > independent zip file, unpack and run "bash sqldeveloper" from > sqldeveloper/sqldeveloper/bin directory. > > Works for me (7.0-BETA3 on amd64, self-compiled sun jdk15 from ports). > > --Marcin > Well, I've tried it on 6-STABLE (6.2.something) and it got stuck at splash screen. Btw, I've noticed output like this in terminal: expr: illegal option -- X usage: expr [-e] expression expr: illegal option -- D usage: expr [-e] expression Also, all the scripts use #!/bin/bash which doesn't work in FreeBSD. And I'd like to install it in /usr/local/... so that all users can use it and it can be included in portaudit checks and checked for upgrades via ports system, etc etc. Thanks, Martin From owner-freebsd-java@FreeBSD.ORG Mon Jan 14 06:12:59 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB13816A418; Mon, 14 Jan 2008 06:12:59 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id BDC6713C45D; Mon, 14 Jan 2008 06:12:59 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m0E6CwKN097686; Sun, 13 Jan 2008 22:12:58 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m0E6Cwlk097685; Sun, 13 Jan 2008 22:12:58 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sun, 13 Jan 2008 22:12:58 -0800 From: Greg Lewis To: Alex Pivovarov Message-ID: <20080114061258.GA97656@misty.eyesbeyond.com> References: <426b510c0801080204o44e5959bo3dbe070c74cdeb3b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <426b510c0801080204o44e5959bo3dbe070c74cdeb3b@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: glewis@freebsd.org, freebsd-java@freebsd.org Subject: Re: Why jdk-1.5.0 and diablo-jdk-1.5.0 does not contain sunpkcs11.jar in jre/lib/ext? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 06:13:00 -0000 On Tue, Jan 08, 2008 at 01:04:22PM +0300, Alex Pivovarov wrote: > Could you tell me why jdk-1.5.0 and diablo-jdk-1.5.0 does not contain > sunpkcs11.jar in jre/lib/ext? > Or I was doing something wrong when I install them. I use default options -- > the only think I uncheck is browser plugin. Turned out to be easier than I recalled. Update your ports and jdk15 will now install this JAR and the matching native library. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Jan 14 09:40:02 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49C1216A56B for ; Mon, 14 Jan 2008 09:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3308513C461 for ; Mon, 14 Jan 2008 09:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0E9e1ZY090047 for ; Mon, 14 Jan 2008 09:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0E9e1i5090046; Mon, 14 Jan 2008 09:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 14 Jan 2008 09:40:01 GMT Resent-Message-Id: <200801140940.m0E9e1i5090046@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Keller Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D56A16A417 for ; Mon, 14 Jan 2008 09:33:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C550713C43E for ; Mon, 14 Jan 2008 09:33:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0E9VxjB094781 for ; Mon, 14 Jan 2008 09:31:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m0E9VwZg094758; Mon, 14 Jan 2008 09:31:58 GMT (envelope-from nobody) Message-Id: <200801140931.m0E9VwZg094758@www.freebsd.org> Date: Mon, 14 Jan 2008 09:31:58 GMT From: Martin Keller To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 09:40:02 -0000 >Number: 119654 >Category: java >Synopsis: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 14 09:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Martin Keller >Release: 6.3-RC2 >Organization: United Planet GmbH >Environment: FreeBSD neville.dev.unitedplanet.de 6.3-RC2 FreeBSD 6.3-RC2 #0: Sun Dec 30 06:28:10 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws an UnsatisfiedLinkError. The image file used for the splash screen was a PNG. The Problem also occurs on FreeBSD 6.2. java.lang.UnsatisfiedLinkError: /usr/local/jdk1.6.0/jre/lib/i386/libsplashscreen.so: /usr/local/jdk1.6.0/jre/lib/i386/libsplashscreen.so: Undefined symbol "jpeg_resync_to_restart" at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:91) at de.uplanet.setup.MainFrame.(Unknown Source) at de.uplanet.setup.SetupController.go(Unknown Source) at de.uplanet.lucy.setup.ServerSetup.main(Unknown Source) >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Mon Jan 14 11:07:02 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97B6C16A4D0 for ; Mon, 14 Jan 2008 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 92A3713C4D5 for ; Mon, 14 Jan 2008 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0EB72Fd052603 for ; Mon, 14 Jan 2008 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0EB716p052599 for freebsd-java@FreeBSD.org; Mon, 14 Jan 2008 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Jan 2008 11:07:01 GMT Message-Id: <200801141107.m0EB716p052599@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 11:07:02 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 f java/72151 java JVM crash on 5.2.1-R o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o java/118956 java eclipse and netbeans break on diablo-jdk15 9 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/115279 java [UPDATE] java/java3d to 1.5.1 o java/115773 java java.nio channel selectors should use kqueue/kevent in o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o ports/118088 java java/eclipse-devel: The path of Variable Exec= in fil o java/119063 java An unexpected error has been detected by Java Runtime o java/119654 java jdk 1.6: java.awt.SplashScreen#getSplashScreen throws 13 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Jan 14 13:09:26 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 094D416A418 for ; Mon, 14 Jan 2008 13:09:26 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6A513C442 for ; Mon, 14 Jan 2008 13:09:25 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JEP44-0003TJ-RW for freebsd-java@freebsd.org; Mon, 14 Jan 2008 13:09:20 +0000 Received: from 81.210.234.246 ([81.210.234.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jan 2008 13:09:20 +0000 Received: from saper by 81.210.234.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jan 2008 13:09:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Marcin Cieslak Date: Mon, 14 Jan 2008 14:09:09 +0100 Lines: 54 Message-ID: <478B5EF5.3050204@system.pl> References: <478A7AFB.8040604@users.sf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.234.246 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.11) Gecko/20071215 SeaMonkey/1.1.7 In-Reply-To: <478A7AFB.8040604@users.sf.net> Sender: news Subject: Re: Oracle SQL Developer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 13:09:26 -0000 martinko wrote: > Marcin Cieslak wrote: >>> Would someone care to port Oracle's SQL Developer to FreeBSD, please ? >>> >>> >> There is actually nothing to port, just download the non-JRE platform >> independent zip file, unpack and run "bash sqldeveloper" from >> sqldeveloper/sqldeveloper/bin directory. >> >> Works for me (7.0-BETA3 on amd64, self-compiled sun jdk15 from ports). > I've tried it on 6-STABLE (6.2.something) and it got stuck at splash > screen. Btw, I've noticed output like this in terminal: > > expr: illegal option -- X > usage: expr [-e] expression > expr: illegal option -- D > usage: expr [-e] expression I have this as well. > Also, all the scripts use #!/bin/bash which doesn't work in FreeBSD. > And I'd like to install it in /usr/local/... so that all users can use > it and it can be included in portaudit checks and checked for upgrades > via ports system, etc etc. It's okay - but first you need to get it working. After those "expr" messages I get: Using oracle.home=/usr/home/saper/sw/sqldeveloper Using ide.user.dir=/usr/home/saper/.sqldeveloper Addin: Translator PlSql is trying to register a input type (.plsql) which con 2008-01-14 14:05:17 oracle.dbtools.raptor.timesten.TTAddin initialize SEVERE: Cannot find TimesTen JDBC jar files in CLASSPATH and the tool is working (haven't tried connecting though). using java version "1.5.0_13-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-p7-root_03_dec_2007_00_10) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-p7-root_03_dec_2007_00_10, mixed mode) Maybe your Java VM does not start up? Are other java apps running? This may be related to some diablo-jdk problems reported on the -java list recently. --Marcin From owner-freebsd-java@FreeBSD.ORG Mon Jan 14 13:18:42 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F61616A420 for ; Mon, 14 Jan 2008 13:18:42 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id ED59013C46A for ; Mon, 14 Jan 2008 13:18:41 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JEPD6-000415-Gx for freebsd-java@freebsd.org; Mon, 14 Jan 2008 13:18:40 +0000 Received: from 81.210.234.246 ([81.210.234.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jan 2008 13:18:40 +0000 Received: from saper by 81.210.234.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Jan 2008 13:18:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: Marcin Cieslak Date: Mon, 14 Jan 2008 14:18:33 +0100 Lines: 28 Message-ID: References: <200801140931.m0E9VwZg094758@www.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.234.246 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.11) Gecko/20071215 SeaMonkey/1.1.7 In-Reply-To: <200801140931.m0E9VwZg094758@www.freebsd.org> Sender: news Subject: Re: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 13:18:42 -0000 Martin Keller wrote: > java.lang.UnsatisfiedLinkError: /usr/local/jdk1.6.0/jre/lib/i386/libsplashscreen.so: /usr/local/jdk1.6.0/jre/lib/i386/libsplashscreen.so: Undefined symbol "jpeg_resync_to_restart" > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) > at java.lang.Runtime.loadLibrary0(Runtime.java:823) > at java.lang.System.loadLibrary(System.java:1030) > at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) > at java.security.AccessController.doPrivileged(Native Method) > at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:91) > at de.uplanet.setup.MainFrame.(Unknown Source) > at de.uplanet.setup.SetupController.go(Unknown Source) > at de.uplanet.lucy.setup.ServerSetup.main(Unknown Source) On my 7.0-PRERELEASE amd64 box this symbol is defined by the JPEG library: % nm /usr/local/lib/libjpeg.so.9 | grep resync 000000000000fb25 T jpeg_resync_to_restart Does adding java.library.path=/usr/local/lib (e.g. java -Djava.library.path ...) help? Does reinstalling your JPEG library help? Can you provide some code to repeat this error? --Marcin From owner-freebsd-java@FreeBSD.ORG Mon Jan 14 14:50:40 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B45DC16A505 for ; Mon, 14 Jan 2008 14:50:40 +0000 (UTC) (envelope-from Martin.Keller@unitedplanet.de) Received: from outmail.unitedplanet.de (guardian.unitedplanet.de [212.185.176.178]) by mx1.freebsd.org (Postfix) with ESMTP id 4841913C46B for ; Mon, 14 Jan 2008 14:50:40 +0000 (UTC) (envelope-from Martin.Keller@unitedplanet.de) Received: from ARNEB.unitedplanet.de (unknown [10.10.12.4]) by outmail.unitedplanet.de (Postfix) with ESMTP id D47AC24D68 for ; Mon, 14 Jan 2008 15:38:14 +0100 (CET) Received: from [10.10.15.18] ([10.10.15.18]) by ARNEB.unitedplanet.de with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Jan 2008 15:26:55 +0100 Message-ID: <478B712D.1080708@unitedplanet.de> Date: Mon, 14 Jan 2008 15:26:53 +0100 From: Martin Keller User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080109) MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <200801140931.m0E9VwZg094758@www.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jan 2008 14:26:55.0985 (UTC) FILETIME=[83C6EE10:01C856B9] Subject: Re: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 14:50:40 -0000 The missing symbol is defined on my box by libjpeg.so.9 too. However, defining the java.library.path or rebuilding/reinstalling the jpeg library doesn't change anything. To reproduce the problem, it's actually not neccessary to have a splash screen, simply calling SplashScreen#getSplashScreen is sufficient: import java.awt.SplashScreen; public class Test { public static void main(String[] args) { final SplashScreen l_splash = SplashScreen.getSplashScreen(); } } - Martin Marcin Cieslak schrieb: > Martin Keller wrote: > > >> java.lang.UnsatisfiedLinkError: /usr/local/jdk1.6.0/jre/lib/i386/libsplashscreen.so: /usr/local/jdk1.6.0/jre/lib/i386/libsplashscreen.so: Undefined symbol "jpeg_resync_to_restart" >> at java.lang.ClassLoader$NativeLibrary.load(Native Method) >> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) >> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) >> at java.lang.Runtime.loadLibrary0(Runtime.java:823) >> at java.lang.System.loadLibrary(System.java:1030) >> at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:91) >> at de.uplanet.setup.MainFrame.(Unknown Source) >> at de.uplanet.setup.SetupController.go(Unknown Source) >> at de.uplanet.lucy.setup.ServerSetup.main(Unknown Source) >> > > On my 7.0-PRERELEASE amd64 box this symbol is defined by the JPEG library: > > % nm /usr/local/lib/libjpeg.so.9 | grep resync > 000000000000fb25 T jpeg_resync_to_restart > > Does adding java.library.path=/usr/local/lib (e.g. java > -Djava.library.path ...) help? > > Does reinstalling your JPEG library help? > > Can you provide some code to repeat this error? > > --Marcin > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > From owner-freebsd-java@FreeBSD.ORG Mon Jan 14 15:20:04 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E0CE16A417 for ; Mon, 14 Jan 2008 15:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 00ED913C458 for ; Mon, 14 Jan 2008 15:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0EFK3nd031525 for ; Mon, 14 Jan 2008 15:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0EFK3Iv031519; Mon, 14 Jan 2008 15:20:03 GMT (envelope-from gnats) Date: Mon, 14 Jan 2008 15:20:03 GMT Message-Id: <200801141520.m0EFK3Iv031519@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Marcin Cieslak Cc: Subject: Re: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 15:20:04 -0000 The following reply was made to PR java/119654; it has been noted by GNATS. From: Marcin Cieslak To: bug-followup@FreeBSD.org Cc: martin.e.keller@unitedplanet.de Subject: Re: java/119654: jdk 1.6: java.awt.SplashScreen#getSplashScreen throws UnsatisfiedLinkError Date: Mon, 14 Jan 2008 15:48:35 +0100 How-To-Repeat: Confirmed on 7.0-PRERELEASE on amd64 using jdk1.6 built from ports. 1. Download and compile SplashDemo.java from http://java.sun.com/docs/books/tutorial/uiswing/misc/splashscreen.html 2. JAVA_VERSION=1.6 java -splash: misc/SplashDemo fails with Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/jdk1.6.0/jre/lib/amd64/libsplashscreen.so: /usr/local/jdk1.6.0/jre/lib/amd64/libsplashscreen.so: Undefined symbol "jpeg_resync_to_restart" 3. This command: LD_PRELOAD=/usr/local/lib/libjpeg.so.9 JAVA_VERSION=1.6 java -splash:/var/spool/obex/20080112b.jpg misc/SplashDemo works. % nm /usr/local/lib/libjpeg.so.9 | grep restart 000000000000addb t emit_restart 000000000000fb25 T jpeg_resync_to_restart 0000000000011c40 t process_restart 000000000000fa92 t read_restart_marker % nm /usr/local/jdk1.6.0/jre/lib/amd64/libjpeg.so | grep restart 000000000002f0e0 t emit_restart 0000000000029c20 t emit_restart 0000000000017040 t process_restart 000000000000f880 t process_restart 00000000000149d0 t read_restart_marker -- << Marcin Cieslak // saper@system.pl >> From owner-freebsd-java@FreeBSD.ORG Mon Jan 14 20:18:48 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1750216A421 for ; Mon, 14 Jan 2008 20:18:48 +0000 (UTC) (envelope-from gamma_brothers_@fanboxapps.com) Received: from smtp696.sms.ac (smtp696.sms.ac [208.69.96.96]) by mx1.freebsd.org (Postfix) with ESMTP id 02F3013C46A for ; Mon, 14 Jan 2008 20:18:43 +0000 (UTC) (envelope-from gamma_brothers_@fanboxapps.com) DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k3; d=fanboxapps.com; b=a44HoEMI0vBG3rnmdQ7tUegz7z78gLZxEXUavkGz1ozMPsDWNgBCd5crs8/hA6loZ+WFIFmXo7FG +vEJ3o/efDyhSpRRekwYsB/FFA4ohQBcLh8raoJspa/FoEgvGmAvsXUzxrh2yOGnRHjo6GGHXR0e 9YVLD7xS39y6/EVOaLs=; Received: from APPMSMQMAIL04.colo.sms.ac (10.1.2.88) by smtp696.sms.ac (PowerMTA(TM) v3.2r21) id hhf1qe0gma4i for ; Mon, 14 Jan 2008 11:51:35 -0800 (envelope-from ) Received: from APPMSMQMAIL04 ([127.0.0.1]) by APPMSMQMAIL04.colo.sms.ac with Microsoft SMTPSVC(6.0.3790.1830); Mon, 14 Jan 2008 11:51:30 -0800 thread-index: AchW5ts2U61knIZsTwCNmEf39W4GWQ== Thread-Topic: Challenge from Becky From: "Gamma Brothers" To: Date: Mon, 14 Jan 2008 11:51:30 -0800 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft CDO for Windows 2000 Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 X-OriginalArrivalTime: 14 Jan 2008 19:51:30.0044 (UTC) FILETIME=[DB3883C0:01C856E6] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Challenge from Becky X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 20:18:48 -0000 You have been challenged to a quick game of Gamma Brothers by Becky! Play now and beat Becky's score of 7. Note: Becky has requested to see your score; you have a choice whether or not to show your score. Most games take less than 3 minutes to play. You can see Becky's photo and profile, and communicate. PLAY NOW FanBox.com is the new web-based desktop that instantly turns every computer into your computer. The desktop includes over 10,000 applications and games to choose from, including the Gamma Brothers application - you can even challenge your friends and compare scores. This email was sent by Becky while using the 3rd party Gamma Brothers application on FanBox. Go here to learn more or stop receiving emails from friends using Gamma Brothers . FanBox: 255 G Street #723, San Diego, CA 92101, USA From owner-freebsd-java@FreeBSD.ORG Tue Jan 15 00:11:33 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C1716A47D for ; Tue, 15 Jan 2008 00:11:33 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id AC26513C461 for ; Tue, 15 Jan 2008 00:11:32 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3344447pyb.10 for ; Mon, 14 Jan 2008 16:11:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=jZNQNX89Q18ejX+kW58nSjZhWFr/A/RHBBKBkTGs3Ks=; b=B+rnSMtc6VGBSLDSzD56AEvQTJKDGg9Vmh4BCR8cnuEov7J+CCzquBrBQ1LWle/aS7GuM/7YMQubdPh+20otI/yLzauxeitfPYmgGB/FN4awsBpAeZY/epBcv9t49TQ7cpsqVFJ4hLN0GLrhmYBcD/NQzocJim+qWnkmvomFmHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=iCJsIecvnQik1TZGGtCtUsn2WrozClIFIcV2nfGQ1INSKx+iZoG0xmFdv9qnKLZdzhnTQpUCb79PejbircZXALi3QCGyixd84TyDqmRn5bEZHxKl/1ZitBbmevbT40iqHIC0FmgrggEkMk6rCKxl9Ciwpv5PkKqOmIQ4QHrawcQ= Received: by 10.65.241.20 with SMTP id t20mr15754912qbr.88.1200354270362; Mon, 14 Jan 2008 15:44:30 -0800 (PST) Received: by 10.65.126.12 with HTTP; Mon, 14 Jan 2008 15:44:30 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 07:44:30 +0800 From: "Jiawei Ye" To: java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Cannot compile jdk16 on latest -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 00:11:33 -0000 I have upgraded my machine to -current as of Jan 14. java/jdk16 stalled at va/jdk16/work/hotspot/src/share/vm/services -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/utilities -I/usr/ports/java/jdk16/work/hotspot/src/cpu/i486/vm -I/usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm -I/usr/ports/java/jdk16/work/hotspot/src/os_cpu/bsd_i486/vm -I../generated -DHOTSPOT_BUILD_VERSION="\"1.6.0_03-p3-leafy_15_jan_2008_05_57-b00\"" -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_RELEASE_VERSION="\"1.6.0\"" -O2 -fno-strict-aliasing -pipe -DCOMPILER2 -fno-rtti -fno-exceptions -pthread -fcheck-new -m32 -march=i586 -pipe -DCOMPILER2 -fPIC -fno-rtti -fno-exceptions -pthread -fcheck-new -m32 -march=i586 -pipe -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror -Wpointer-arith -Wconversion -Wsign-compare -c -x c++-header -c ../generated/incls/_precompiled.incl -o incls/_precompiled.incl.gch ^Cgmake[5]: *** Deleting file `incls/_precompiled.incl.gch' gmake[5]: *** [incls/_precompiled.incl.gch] Interrupt: 2 gmake[4]: *** [the_vm] Interrupt: 2 gmake[3]: *** [product] Interrupt: 2 gmake[2]: *** [generic_build2] Interrupt: 2 gmake[1]: *** [product] Interrupt: 2 gmake: *** [hotspot-build] Interrupt: 2 The compilation went on for 1.5hr before I killed it. Bootstrapped with diablo-jdk15. Has anyone else seen this symptom? Jiawei Ye -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From owner-freebsd-java@FreeBSD.ORG Tue Jan 15 00:24:19 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 156E316A4ED for ; Tue, 15 Jan 2008 00:24:19 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6632D13C4D9 for ; Tue, 15 Jan 2008 00:24:18 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (unknown [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTP id 21FFF28448 for ; Tue, 15 Jan 2008 08:24:17 +0800 (CST) Received: from localhost (unknown [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id AB18AEB5370; Tue, 15 Jan 2008 08:24:16 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id AxVJ8niIQhNa; Tue, 15 Jan 2008 08:24:14 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 65477EB536B; Tue, 15 Jan 2008 08:24:13 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=SQoSwB7P0Xgh+E2DKrrSK/0WUPsTuNcV8ZcXJ7zza03g7QRTwpEfPyQb+Ca0i46Pu KHVVk2e0SMxoDdwszrkkg== Message-ID: <478BFD2B.7030106@delphij.net> Date: Mon, 14 Jan 2008 16:24:11 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Jiawei Ye References: In-Reply-To: X-Enigmail-Version: 0.95.5 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: java Subject: Re: Cannot compile jdk16 on latest -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 00:24:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jiawei Ye wrote: > I have upgraded my machine to -current as of Jan 14. java/jdk16 stalled at > va/jdk16/work/hotspot/src/share/vm/services > -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/utilities > -I/usr/ports/java/jdk16/work/hotspot/src/cpu/i486/vm > -I/usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm > -I/usr/ports/java/jdk16/work/hotspot/src/os_cpu/bsd_i486/vm -I../generated > -DHOTSPOT_BUILD_VERSION="\"1.6.0_03-p3-leafy_15_jan_2008_05_57-b00\"" > -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_RELEASE_VERSION="\"1.6.0\"" -O2 > -fno-strict-aliasing -pipe -DCOMPILER2 -fno-rtti -fno-exceptions -pthread > -fcheck-new -m32 -march=i586 -pipe -DCOMPILER2 -fPIC -fno-rtti > -fno-exceptions -pthread -fcheck-new -m32 -march=i586 -pipe -O3 > -fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror -Wpointer-arith -Wconversion > -Wsign-compare -c -x c++-header -c ../generated/incls/_precompiled.incl > -o incls/_precompiled.incl.gch > ^Cgmake[5]: *** Deleting file `incls/_precompiled.incl.gch' > gmake[5]: *** [incls/_precompiled.incl.gch] Interrupt: 2 > gmake[4]: *** [the_vm] Interrupt: 2 > gmake[3]: *** [product] Interrupt: 2 > gmake[2]: *** [generic_build2] Interrupt: 2 > gmake[1]: *** [product] Interrupt: 2 > gmake: *** [hotspot-build] Interrupt: 2 > > The compilation went on for 1.5hr before I killed it. Bootstrapped with > diablo-jdk15. > > Has anyone else seen this symptom? What does '^T' (Ctrl+T) say? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHi/0qi+vbBBjt66ARAsL5AJ4wVyCK2cER6wvTCKcJfKjbfzgwDwCfYtH0 ZV5/+4AyJpgwRja4RgedZJ0= =rQk8 -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Tue Jan 15 05:43:18 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CBD716A417 for ; Tue, 15 Jan 2008 05:43:18 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 18EDA13C45D for ; Tue, 15 Jan 2008 05:43:17 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3474922pyb.10 for ; Mon, 14 Jan 2008 21:43:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=TE4u+pClKeWmmSJ+SQwdtECW+aTZUI04OniNhtx9rPc=; b=LZ7PUZ1JhkSq5la3xe7XEOjeinvTNzuiuzo77DMJKWUyLgMvbxeGvqGzMlNPVRWJ1dnsKhGRIId7HnfUaChvt/PU0V+JYmKIBv2mD8A2EP3ytnkYg1BCHTfq9D5mubGaItPUJhADNKQRoUW2nac5AbhRTTlYC6bTbnpCfpx1PrE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=thllZHsnrAOBCggUTyeJFIGN16bz05I8E1vAwAgHf+d6DzlsP6pLlbpLcGHVcq5xjN9JgWcQ30uP7WlWk5icLdfRf6aIZgeHKjC01R0hgDyJ+6ohlU7fTRZl0zRRragRx8gRaHDQrimBG+fMF8DCwqGIVtFzti3LaJyW9qEMbWU= Received: by 10.65.156.2 with SMTP id i2mr16425005qbo.60.1200375796503; Mon, 14 Jan 2008 21:43:16 -0800 (PST) Received: by 10.65.126.12 with HTTP; Mon, 14 Jan 2008 21:43:16 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 13:43:16 +0800 From: "Jiawei Ye" To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: latest -current java/jdk15 build error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 05:43:18 -0000 With -current from Jan 14, java/jdk15 build failed with gmake[4]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac' >>>Recursively making javac all @ Tue Jan 15 13:31:41 CST 2008 ... gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/javac VARIANT=OPT gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' /bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javac/javac/obj rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/com.sun.tools.javac/javac/.classes.list /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java -classpath ../../../tools/CompileProperties CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2841caf8, pid=30135, tid=0x8101100 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_13-p7-leafy_15_jan_2008_11_08mixed mode) # Problematic frame: # V [libjvm.so+0x270af8] # # An error report file with more information is saved as hs_err_pid30135.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java] Abort trap: 6 (core dumped) gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' gmake[5]: *** [optimized] Error 2 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac/javac' gmake[4]: *** [all] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/javac' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/javac' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. *** Error code 1 Stop in /usr/ports/java/jdk15. Stack trace of the core warning: core file may not match specified executable file. Core was generated by `initial thread'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libz.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so...(no debugging symbols found)...done. Loaded symbols for /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/native_threads/libhpi.so...(no debugging symbols found)...done. Loaded symbols for /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/native_threads/libhpi.so Reading symbols from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libverify.so...(no debugging symbols found)...done. Loaded symbols for /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libverify.so Reading symbols from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so...(no debugging symbols found)...done. Loaded symbols for /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so Reading symbols from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libzip.so...(no debugging symbols found)...done. Loaded symbols for /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libzip.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2817a037 in kill () from /lib/libc.so.7 [New Thread 0x8101100 (LWP 100235)] (gdb) where #0 0x2817a037 in kill () from /lib/libc.so.7 #1 0x280a1277 in raise () from /lib/libthr.so.3 #2 0x28178baa in abort () from /lib/libc.so.7 #3 0x2842f4a4 in os::abort () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #4 0x284cbd5e in VMError::report_and_die () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #5 0x28433020 in JVM_handle_bsd_signal () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #6 0x2842e606 in signalHandler () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #7 #8 0x2841caf8 in NativeLookup::lookup () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #9 0x2841cdc4 in NativeLookup::base_library_lookup () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #10 0x2837747f in initialize_converter_functions () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #11 0x284a97e4 in universe_post_init () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #12 0x2830236e in init_globals () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #13 0x2849c4db in Threads::create_vm () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #14 0x28331c59 in JNI_CreateJavaVM () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so #15 0xbfbfd328 in ?? () #16 0xffffffff in ?? () #17 0xffffffff in ?? () ---Type to continue, or q to quit--- #18 0x0804ff4f in ?? () #19 0xffffffff in ?? () #20 0x00000009 in ?? () #21 0x08052b94 in ?? () #22 0x00000057 in ?? () #23 0xbfbfdc54 in ?? () #24 0x00000001 in ?? () #25 0x08052b94 in ?? () #26 0x08052cb4 in ?? () #27 0x08116100 in ?? () #28 0xbfbfdbf8 in ?? () #29 0x0804bf41 in ?? () #30 0xbfbfdbe4 in ?? () #31 0xbfbfdbe0 in ?? () #32 0xbfbfdbb8 in ?? () #33 0x00000400 in ?? () #34 0xbfbfd3b8 in ?? () #35 0x00000400 in ?? () #36 0x08105040 in ?? () #37 0x00000001 in ?? () #38 0xbfbfd378 in ?? () #39 0x28073f64 in ?? () from /libexec/ld-elf.so.1 #40 0x08050043 in ?? () #41 0xbfbfdc14 in ?? () #42 0xbfbfdc10 in ?? () #43 0x00020002 in ?? () #44 0x28079474 in ?? () from /libexec/ld-elf.so.1 #45 0x00000000 in ?? () #46 0x280b8a00 in ?? () from /lib/libc.so.7 #47 0xbfbfd404 in ?? () #48 0x28055bf8 in _rtld_error () from /libexec/ld-elf.so.1 #49 0x00000004 in ?? () #50 0x081050c0 in ?? () #51 0x00000000 in ?? () #52 0x28331be0 in jni_DestroyJavaVM () from /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so Previous frame inner to this frame (corrupt stack?) The hs log file is as follows: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2841caf8, pid=30135, tid=0x8101100 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_13-p7-leafy_15_jan_2008_11_08mixed mode) # Problematic frame: # V [libjvm.so+0x270af8] # --------------- T H R E A D --------------- Current thread (0x0814d180): JavaThread [_thread_in_vm, id=135270656] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000 Registers: EAX=0xbfbfd0e0, EBX=0x28529a88, ECX=0xffffffff, EDX=0x00000000 ESP=0xbfbfd074, EBP=0xbfbfd0a8, ESI=0x0814d180, EDI=0x00000000 EIP=0x2841caf8, EFLAGS=0x00010216 Top of Stack: (sp=0xbfbfd074) 0xbfbfd074: 28529a88 bfbfd0a8 283034da 2e685520 0xbfbfd084: 2e6823a0 2e683d58 2e685518 0814d180 0xbfbfd094: 00000004 0814d180 28529a88 0814d180 0xbfbfd0a4: 00000000 bfbfd0f8 2841cdc4 00000000 0xbfbfd0b4: bfbfd0e0 0814d180 ffffffff 0817c030 0xbfbfd0c4: 0817c034 0817c038 bfbfd0e4 0817c09c 0xbfbfd0d4: 0817c0a0 0817c0a4 28529a88 00000001 0xbfbfd0e4: 0814d180 0814d180 28529a88 284fa68d Instructions: (pc=0x2841caf8) 0x2841cae8: 28 e8 00 00 00 00 5b 81 c3 9a cf 10 00 8b 7d 08 0x2841caf8: 8b 07 50 e8 d0 96 ff ff 83 c4 10 85 c0 74 0d 8b Stack: [0xbfa00000,0xbfc00000), sp=0xbfbfd074, free space=2036k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x270af8] V [libjvm.so+0x270dc4] V [libjvm.so+0x1cb47f] V [libjvm.so+0x2fd7e4] V [libjvm.so+0x15636e] V [libjvm.so+0x2f04db] V [libjvm.so+0x185c59] C [java+0x3f41] _init+0x3015 C [java+0x13c9] _init+0x49d --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 576K, used 10K [0x2a680000, 0x2a720000, 0x2ab60000) eden space 512K, 2% used [0x2a680000, 0x2a682908, 0x2a700000) from space 64K, 0% used [0x2a700000, 0x2a700000, 0x2a710000) to space 64K, 0% used [0x2a710000, 0x2a710000, 0x2a720000) tenured generation total 1408K, used 0K [0x2ab60000, 0x2acc0000, 0x2e680000) the space 1408K, 0% used [0x2ab60000, 0x2ab60000, 0x2ab60200, 0x2acc0000) compacting perm gen total 8192K, used 427K [0x2e680000, 0x2ee80000, 0x32680000) the space 8192K, 5% used [0x2e680000, 0x2e6eace8, 0x2e6eae00, 0x2ee80000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java 0x28086000 /lib/libz.so.4 0x28098000 /lib/libthr.so.3 0x280ab000 /lib/libc.so.7 0x281ac000 /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client/libjvm.so 0x28543000 /lib/libm.so.5 0x2855a000 /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/native_threads/libhpi.so 0x2856c000 /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libverify.so 0x28579000 /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so 0x2859a000 /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libzip.so 0x28052000 /libexec/ld-elf.so.1 VM Arguments: java_command: CompileProperties ../../../../src/share/classes/com/sun/tools/javac/resources/compiler.properties /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME= CLASSPATH= PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/leafy/bin LD_LIBRARY_PATH=/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/client:/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386:/usr/ports/java/jdk15/work/control/build/bsd-i586/../lib/i386: SHELL=/bin/sh ARCH=i586 Signal Handlers: SIGSEGV: [libjvm.so+0x3205c0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x3205c0], sa_mask[0]=0xfffefeff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x2825e0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x2825e0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x2825e0], sa_mask[0]=0xfffefeff, sa_flags=0x00000042 SIGUSR1: SIG_DFL, sa_mask[0]=0x20000000, sa_flags=0x00000002 SIGUSR2: SIG_DFL, sa_mask[0]=0x63807efb, sa_flags=0x00000000 SIGHUP: SIG_DFL, sa_mask[0]=0x00000001, sa_flags=0x00000002 SIGINT: SIG_DFL, sa_mask[0]=0x00000002, sa_flags=0x00000002 SIGQUIT: SIG_DFL, sa_mask[0]=0x00000004, sa_flags=0x00000002 SIGTERM: SIG_DFL, sa_mask[0]=0x00004000, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 1 (cores per cpu 1, threads per core 1) family 15 model 1 stepping 3, cmov, cx8, fxsr, mmx Memory: 4k page, physical 1923132k vm_info: Java HotSpot(TM) Client VM (1.5.0_13-p7-leafy_15_jan_2008_11_08) for freebsd-x86, built on Jan 15 2008 13:01:38 by root with gcc 4.2.120070719 [FreeBSD] -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From owner-freebsd-java@FreeBSD.ORG Tue Jan 15 07:02:55 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7212116A417 for ; Tue, 15 Jan 2008 07:02:55 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 1F75313C447 for ; Tue, 15 Jan 2008 07:02:54 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3502935pyb.10 for ; Mon, 14 Jan 2008 23:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=wometEFfXDofVvDpb6/BjDzt6DWSeE3h+3CcOq9aBGM=; b=kbA1Z6itmbFhX5ClyLZcsTGfd1ZEUoqsCvEZT2z49oeeOppH3qSOvlmtvw6PywleP5X4ToSbs6riNVdM5mKNXc4eqs4szPQ941VPGPDPgJTAU79mnL40QO8X6KSbck2+gc87klnOmxVQO+8RRPG7DVNVYh2B4EJeLbkSxFi3CiE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=D5ci4D14OmY4LbACiq6XqkkPk8j5X4tNnyl+2CQrHZWGlSsS8aAt7Uq1ZOD1sPxlPknyT8qLcKqf0NlngOnMPIK1zj82tegoDcG4dt1IkC7SkJZDW9RBX0o8ZWWM98VenUmoicYfoG8hadyNtZJndGxLwsVLye3khjF0HZIy5zw= Received: by 10.65.115.4 with SMTP id s4mr16588850qbm.47.1200380573452; Mon, 14 Jan 2008 23:02:53 -0800 (PST) Received: by 10.65.126.12 with HTTP; Mon, 14 Jan 2008 23:02:53 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 15:02:53 +0800 From: "Jiawei Ye" To: d@delphij.net In-Reply-To: <478BFD2B.7030106@delphij.net> MIME-Version: 1.0 References: <478BFD2B.7030106@delphij.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: java Subject: Re: Cannot compile jdk16 on latest -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 07:02:55 -0000 On Jan 15, 2008 8:24 AM, Xin LI wrote: > Jiawei Ye wrote: > > I have upgraded my machine to -current as of Jan 14. java/jdk16 stalled > at > > va/jdk16/work/hotspot/src/share/vm/services > > -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/utilities > > -I/usr/ports/java/jdk16/work/hotspot/src/cpu/i486/vm > > -I/usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm > > -I/usr/ports/java/jdk16/work/hotspot/src/os_cpu/bsd_i486/vm > -I../generated > > -DHOTSPOT_BUILD_VERSION="\"1.6.0_03-p3-leafy_15_jan_2008_05_57-b00\"" > > -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_RELEASE_VERSION="\"1.6.0\"" > -O2 > > -fno-strict-aliasing -pipe -DCOMPILER2 -fno-rtti -fno-exceptions > -pthread > > -fcheck-new -m32 -march=i586 -pipe -DCOMPILER2 -fPIC -fno-rtti > > -fno-exceptions -pthread -fcheck-new -m32 -march=i586 -pipe -O3 > > -fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror -Wpointer-arith > -Wconversion > > -Wsign-compare -c -x c++-header -c > ../generated/incls/_precompiled.incl > > -o incls/_precompiled.incl.gch > > ^Cgmake[5]: *** Deleting file `incls/_precompiled.incl.gch' > > gmake[5]: *** [incls/_precompiled.incl.gch] Interrupt: 2 > > gmake[4]: *** [the_vm] Interrupt: 2 > > gmake[3]: *** [product] Interrupt: 2 > > gmake[2]: *** [generic_build2] Interrupt: 2 > > gmake[1]: *** [product] Interrupt: 2 > > gmake: *** [hotspot-build] Interrupt: 2 > > > > The compilation went on for 1.5hr before I killed it. Bootstrapped with > > diablo-jdk15. > > > > Has anyone else seen this symptom? > > What does '^T' (Ctrl+T) say? > > Cheers, > - -- > Xin LI http://www.delphij.net/ > Here it is: load: 1.00 cmd: cc1plus 31106 [runnable] 4011.05u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4011.73u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4012.04u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4012.31u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4012.99u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4013.31u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4013.54u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4015.31u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4015.61u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4015.83u 0.46s 100% 109568k load: 1.00 cmd: cc1plus 31106 [runnable] 4467.44u 0.46s 98% 109568k load: 1.02 cmd: cc1plus 31106 [runnable] 4586.39u 0.46s 98% 109568k load: 1.01 cmd: cc1plus 31106 [runnable] 4612.37u 0.46s 100% 109568k Regards, -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From owner-freebsd-java@FreeBSD.ORG Tue Jan 15 08:11:26 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86ABB16A41B for ; Tue, 15 Jan 2008 08:11:26 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 9FEE513C448 for ; Tue, 15 Jan 2008 08:11:25 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3530460pyb.10 for ; Tue, 15 Jan 2008 00:11:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:references; bh=c2qL7+01OQXmDEMt1sUpaJj/HYuDuFfPto5FhdFG10o=; b=jeoYtQ1hyUw+VWWeDnHOYO2P/PNDK693Tr1Hem9FTadE6trj07Pi9GRZBqFuXdYGvNNuGjDhxh53iP19Y0MTVDV1HJmcPT/zEKncegVUiKKTC7u3HLKnPM8LFtI6PbjqcLYR2KJYPMw8lOAA+VYopc/Ux6evC48UvkgFW4rHVVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:references; b=IcDBRL02lX1nCoM73jHm81lWPrPfT9PL+te4Py3qwj5tSI7SB4OQ2HgRNjQduWk3YnTlOd9CpxeyMSGMHIEp2k2FZtQc9C52jn2Nd9hNpJ0ieTggXGfqFO0iCmiQbjNERk8G4sgfZNDCbLhN4skYiyKSLJBYosW93aqO3mrO9Fc= Received: by 10.64.233.12 with SMTP id f12mr16734414qbh.34.1200384684161; Tue, 15 Jan 2008 00:11:24 -0800 (PST) Received: by 10.65.126.12 with HTTP; Tue, 15 Jan 2008 00:11:24 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 16:11:24 +0800 From: "Jiawei Ye" In-Reply-To: MIME-Version: 1.0 References: <478BFD2B.7030106@delphij.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, java Subject: Re: Cannot compile jdk16 on latest -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 08:11:26 -0000 On Jan 15, 2008 3:02 PM, Jiawei Ye wrote: > On Jan 15, 2008 8:24 AM, Xin LI wrote: > > > Jiawei Ye wrote: > > > I have upgraded my machine to -current as of Jan 14. java/jdk16 > > stalled at > > > va/jdk16/work/hotspot/src/share/vm/services > > > -I/usr/ports/java/jdk16/work/hotspot/src/share/vm/utilities > > > -I/usr/ports/java/jdk16/work/hotspot/src/cpu/i486/vm > > > -I/usr/ports/java/jdk16/work/hotspot/src/os/bsd/vm > > > -I/usr/ports/java/jdk16/work/hotspot/src/os_cpu/bsd_i486/vm > > -I../generated > > > -DHOTSPOT_BUILD_VERSION="\" 1.6.0_03-p3-leafy_15_jan_2008_05_57-b00\"" > > > -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_RELEASE_VERSION="\"1.6.0\"" > > -O2 > > > -fno-strict-aliasing -pipe -DCOMPILER2 -fno-rtti -fno-exceptions > > -pthread > > > -fcheck-new -m32 -march=i586 -pipe -DCOMPILER2 -fPIC -fno-rtti > > > -fno-exceptions -pthread -fcheck-new -m32 -march=i586 -pipe -O3 > > > -fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror -Wpointer-arith > > -Wconversion > > > -Wsign-compare -c -x c++-header -c > > ../generated/incls/_precompiled.incl > > > -o incls/_precompiled.incl.gch > > > ^Cgmake[5]: *** Deleting file `incls/_precompiled.incl.gch' > > > gmake[5]: *** [incls/_precompiled.incl.gch] Interrupt: 2 > > > gmake[4]: *** [the_vm] Interrupt: 2 > > > gmake[3]: *** [product] Interrupt: 2 > > > gmake[2]: *** [generic_build2] Interrupt: 2 > > > gmake[1]: *** [product] Interrupt: 2 > > > gmake: *** [hotspot-build] Interrupt: 2 > > > > > > The compilation went on for 1.5hr before I killed it. Bootstrapped > > with > > > diablo-jdk15. > > > > > > Has anyone else seen this symptom? > > > > What does '^T' (Ctrl+T) say? > > > > Cheers, > > - -- > > Xin LI http://www.delphij.net/ > > > > Here it is: > > load: 1.00 cmd: cc1plus 31106 [runnable] 4011.05u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4011.73u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4012.04u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4012.31u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4012.99u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4013.31u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4013.54u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4015.31u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4015.61u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4015.83u 0.46s 100% 109568k > load: 1.00 cmd: cc1plus 31106 [runnable] 4467.44u 0.46s 98% 109568k > load: 1.02 cmd: cc1plus 31106 [runnable] 4586.39u 0.46s 98% 109568k > load: 1.01 cmd: cc1plus 31106 [runnable] 4612.37u 0.46s 100% 109568k > > Regards, > > > This compile has been going on for over 2hrs. The same system with an older -current used to compile the whole JDK16 in about 2hrs, now the output from ctrl-t load: 1.00 cmd: cc1plus 31106 [runnable] 8489.21u 0.46s 100% 109568k This certainly does not look right at all. Any suggestion to investigate further? Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From owner-freebsd-java@FreeBSD.ORG Wed Jan 16 11:09:06 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B94C16A418 for ; Wed, 16 Jan 2008 11:09:06 +0000 (UTC) (envelope-from missmahak@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id 32B5F13C458 for ; Wed, 16 Jan 2008 11:09:05 +0000 (UTC) (envelope-from missmahak@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so202515rvb.43 for ; Wed, 16 Jan 2008 03:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=5BBCtdfKieXlGBXcntAvLtas42QF4qDOcNYPFlpZOcw=; b=Kro5MHgaIBDq816UjYny2l/8dLCeW6/+upS6I2bzDnH3b7OErDQqKZi3O5inrBumgVxwGU22WawRNPYwnU58VA+IJQsCbn3LcGAC1iWtJIwCC/So1coyzoPaBQoUyuARcwfpNgXehWsfpVFydXvv0Mfi3IXghsnT11HWyWoEo/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=q4JXgn6vrWmqUTcbsFVcPB1AZY7MumBw8aLv0FZjDgSmevko67eY5cGGYgJ18+pk43Wm1dq/w6O06RNkyq7WaplJM4evBHgpCTawpebN/UANACrRmRDuN8ff6cb9SCy0DKeapjgbNJTU/yz2CqxB4W7FY/ZhyxuLvC9s/tao1tM= Received: by 10.140.158.4 with SMTP id g4mr457611rve.44.1200480231814; Wed, 16 Jan 2008 02:43:51 -0800 (PST) Received: from 21a ( [59.176.116.115]) by mx.google.com with ESMTPS id b5sm99859rva.20.2008.01.16.02.43.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 16 Jan 2008 02:43:50 -0800 (PST) Message-ID: <01ed01c8582c$a7ed4810$1501a8c0@21a> From: "Chetna Kohli" To: Date: Wed, 16 Jan 2008 15:29:29 +0530 MIME-Version: 1.0 X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: I want to import Products X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2008 11:09:06 -0000 Hi =20 1. We can get ready to buy clients for your products. We can bring such = people, who are searching at google for following keywords. They are ready to buy clients and they are searching these = products to make a purchase. If they reach at your site at this time, chances are very great that your site can make a sale = to them.=20 keywords:=20 exporter of india indian exporter exporter from india india's exporter exporter of abc (abc is your product name) abc exporter abc manufacturer indian abc exporter 2. We also offer you a 7 Days free trial. Get your free trial at = http://www.yesiwillbuy.com/free-trial.htm?chetna =20 3. For any further information, please let me know. I will be happy to = help you. You can call at my=20 US marketing phone number at +1-727-565-1339 or you may call me at India = at +91-93122-88917. Or you can send me direct email. I usually reply emails within few = hours. Please send us your contact phone number and your desired time, and we will call you to help you = with your first order.=20 regards Miss Chetna(Certified by GOOGLE as Certified Google Adwords = Professional) Suggest Your Friends to Use - FREE Trial - No Obligation 7 Days Google = Trial -=20 Start Getting Leads within 24 Hours for Your Products/Services http://www.yesiwillbuy.com/free-trial.htm?Chetna =20 Jan16-08 From owner-freebsd-java@FreeBSD.ORG Wed Jan 16 21:47:55 2008 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B788416A41A for ; Wed, 16 Jan 2008 21:47:55 +0000 (UTC) (envelope-from piotrekk@excite.com) Received: from excite.com (nn6.excitenetwork.com [207.159.120.60]) by mx1.freebsd.org (Postfix) with ESMTP id 9585113C45B for ; Wed, 16 Jan 2008 21:47:55 +0000 (UTC) (envelope-from piotrekk@excite.com) Received: by xprdmxin.myway.com (Postfix, from userid 110) id B9F1E8B31A; Wed, 16 Jan 2008 16:27:30 -0500 (EST) To: infofarmer@FreeBSD.org Received: from [84.75.149.198] by xprdmailfe17.nwk.excite.com via HTTP; Wed, 16 Jan 2008 16:27:30 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = e84426cb3f7baf87ec2d3c2fd2e63628 From: "Piotr" MIME-Version: 1.0 X-Sender: piotrekk@excite.com X-Mailer: PHP Importance: High X-Priority: 1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20080116212730.B9F1E8B31A@xprdmxin.myway.com> Date: Wed, 16 Jan 2008 16:27:30 -0500 (EST) Cc: java@FreeBSD.org Subject: java plugin bug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: piotrekk@excite.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2008 21:47:55 -0000 hi I've installed linux-sun-jre16 on my freeBSD 6.2-RELEASE-p9, but the java plugin doesn't work with linux-seamonkey ! # cd /usr/ports/java/linux-sun-jre16 # make install clean # cd /usr/ports/www/linux-seamonkey # make install clean # ln -s /usr/X11R6/linux-sun-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so /usr/X11R6/lib/browser_linux_plugins/libjavaplugin_oji.so # uname -a FreeBSD bsd.ch.bluee.net 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:07:33 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 kind regards piotr _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From owner-freebsd-java@FreeBSD.ORG Wed Jan 16 21:47:55 2008 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7D5516A41B for ; Wed, 16 Jan 2008 21:47:55 +0000 (UTC) (envelope-from piotrekk@excite.com) Received: from excite.com (nn6.excitenetwork.com [207.159.120.60]) by mx1.freebsd.org (Postfix) with ESMTP id 9581C13C467 for ; Wed, 16 Jan 2008 21:47:55 +0000 (UTC) (envelope-from piotrekk@excite.com) Received: by xprdmxin.myway.com (Postfix, from userid 110) id 166EF8B320; Wed, 16 Jan 2008 16:25:47 -0500 (EST) To: java@FreeBSD.org Received: from [84.75.149.198] by xprdmailfe17.nwk.excite.com via HTTP; Wed, 16 Jan 2008 16:25:47 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = e84426cb3f7baf87ec2d3c2fd2e63628 From: "Piotr" MIME-Version: 1.0 X-Sender: piotrekk@excite.com X-Mailer: PHP Importance: High X-Priority: 1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20080116212547.166EF8B320@xprdmxin.myway.com> Date: Wed, 16 Jan 2008 16:25:47 -0500 (EST) X-Mailman-Approved-At: Wed, 16 Jan 2008 22:10:37 +0000 Cc: infofarmer@FreeBSD.org Subject: (no subject) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: piotrekk@excite.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2008 21:47:55 -0000 hi I've installed linux-sun-jre16 on my freeBSD 6.2-RELEASE-p9, but the java plugin doesn't work with linux-seamonkey ! # cd /usr/ports/java/linux-sun-jre16 # make install clean # cd /usr/ports/www/linux-seamonkey # make install clean # ln -s /usr/X11R6/linux-sun-jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so /usr/X11R6/lib/browser_linux_plugins/libjavaplugin_oji.so # uname -a FreeBSD bsd.ch.bluee.net 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:07:33 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 kind regards piotr _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From owner-freebsd-java@FreeBSD.ORG Thu Jan 17 18:42:16 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B976916A417 for ; Thu, 17 Jan 2008 18:42:16 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 9DEDC13C43E for ; Thu, 17 Jan 2008 18:42:16 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org ([75.87.219.217]) by hrndva-omta04.mail.rr.com with ESMTP id <20080117182643.QKBT17975.hrndva-omta04.mail.rr.com@corinth.polands.org> for ; Thu, 17 Jan 2008 18:26:43 +0000 Received: from omnihp.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id m0HIQgoI012128 for ; Thu, 17 Jan 2008 12:26:42 -0600 (CST) (envelope-from doug@polands.org) Message-ID: <478F9DE1.9040003@polands.org> Date: Thu, 17 Jan 2008 12:26:41 -0600 From: Doug Poland User-Agent: Thunderbird 2.0.0.9 (X11/20071117) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/5491/Thu Jan 17 09:13:54 2008 on corinth.polands.org X-Virus-Status: Clean Subject: glassfish compilation on -current (also on 7.0) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 18:42:16 -0000 Ken, I'm getting the exact same error on 7.0-PRERELEASE. Were you able to resolve the issue? [java] BUILD FAILED [java] /tmp/workspace/glassfish/common-util/build.xml:74: Compile failed; see the compiler error output for details. [java] [java] [javac] Note: Recompile with -Xlint:unchecked for details. [java] [javac] 46 errors [java] Total time: 4 seconds [java] [ERROR] Java Result: 1 BUILD FAILED File...... /tmp/workspace/glassfish/bootstrap/maven.xml Element... maven:reactor Line...... 264 Column.... 40 Unable to obtain goal [build-pe] -- /tmp/workspace/glassfish/bootstrap/../../glassfish/bootstrap/maven.xml:642:28: No message Total time: 1 minutes 57 seconds Finished at: Thu Jan 17 12:10:43 CST 2008 -- Regards, Doug From owner-freebsd-java@FreeBSD.ORG Thu Jan 17 19:58:36 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6049716A418; Thu, 17 Jan 2008 19:58:36 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2CADC13C455; Thu, 17 Jan 2008 19:58:36 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.14.2/8.14.2) with ESMTP id m0HJmeFu063967; Thu, 17 Jan 2008 13:48:40 -0600 (CST) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.14.2/8.14.2/Submit) id m0HJmdxR063966; Thu, 17 Jan 2008 13:48:39 -0600 (CST) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: martinko In-Reply-To: <478A7AFB.8040604@users.sf.net> References: <478A7AFB.8040604@users.sf.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 17 Jan 2008 13:48:39 -0600 Message-Id: <1200599319.6367.75.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 FreeBSD GNOME Team Port Cc: freebsd-database@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Oracle SQL Developer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shildreth@allantgroup.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 19:58:36 -0000 On Sun, 2008-01-13 at 21:56 +0100, martinko wrote: > Marcin Cieslak wrote: > > martinko wrote: > >> Hallo, > >> > >> Would someone care to port Oracle's SQL Developer to FreeBSD, please ? > >> > >> > >> > >> > >> Many thanks in advance! > > > > There is actually nothing to port, just download the non-JRE platform > > independent zip file, unpack and run "bash sqldeveloper" from > > sqldeveloper/sqldeveloper/bin directory. > > > > Works for me (7.0-BETA3 on amd64, self-compiled sun jdk15 from ports). > > > > --Marcin > > > > > Well, > > I've tried it on 6-STABLE (6.2.something) and it got stuck at splash > screen. Btw, I've noticed output like this in terminal: When I first ran it, I had the same problem. Then I noticed that there was a prompt window behind the splash screen. I was able to grab the edge and pull the window over and answer the prompt. > > expr: illegal option -- X > usage: expr [-e] expression > expr: illegal option -- D > usage: expr [-e] expression > Linux expr has different options then the FreeBSD expr. I ignore these errors since they are testing paths and my install is working. > Also, all the scripts use #!/bin/bash which doesn't work in FreeBSD. I wrote a wrapper script to handle this, ============================================= #!/usr/local/bin/zsh cd ~/src/Java/sqldeveloper/sqldeveloper/bin/ bash ./sqldeveloper $@ ============================================= ...you could also link /usr/local/bin/bash to /bin/bash. > And I'd like to install it in /usr/local/... so that all users can use > it and it can be included in portaudit checks and checked for upgrades > via ports system, etc etc. > > Thanks, > > Martin > > _______________________________________________ > freebsd-database@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-database > To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Thu Jan 17 21:17:18 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CC6916A420 for ; Thu, 17 Jan 2008 21:17:18 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id 8D8ED13C467 for ; Thu, 17 Jan 2008 21:17:17 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so685344fka.11 for ; Thu, 17 Jan 2008 13:17:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; bh=WO3vn5kRQz+gIyza7lZq7NwV0925i0tmsakh6IcHFVI=; b=DnbA8rOL/jibqqLFUYte0HVTh/C/mmDFyayqyVdnVbfDkO3dtjapwWVgoj5Zjuz11T/mQUTRXKhPvteQWKbsntVNQN+vkfm9PEFbsB6Pn0RvibrjVOu4Q5jML/jP388ITayHpwVQUZ11zEjDji4J9bvZ3RNphyduMM1P/hWhvZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; b=OSgYCdLF5OKzB+Kdvz7cPM9feCGssiReIetirPYWqa1a3CHJrQ5GlsjjP8Oi3FOH59YzXcFzL41zVwGJUY10kFOS/Rhw6Jpavt2yuUAJ/nnXeneqIwXnWJrBsqcqBOK12i4vUlHAsGXYC3iYVXS1CTKYXxGTpmScglz3Ufyrtkw= Received: by 10.78.170.17 with SMTP id s17mr3562004hue.35.1200603181206; Thu, 17 Jan 2008 12:53:01 -0800 (PST) Received: from gauss.sanabria.es ( [83.33.208.242]) by mx.google.com with ESMTPS id 5sm4997445nfv.32.2008.01.17.12.52.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Jan 2008 12:53:00 -0800 (PST) Received: by gauss.sanabria.es (Postfix, from userid 1001) id 9DF58157C; Thu, 17 Jan 2008 21:52:55 +0100 (CET) Date: Thu, 17 Jan 2008 21:52:55 +0100 From: Jose Garcia Juanino To: "Scott T. Hildreth" Message-ID: <20080117205255.GA1480@gauss.sanabria.es> Mail-Followup-To: "Scott T. Hildreth" , martinko , freebsd-database@freebsd.org, freebsd-ports@freebsd.org, freebsd-java@freebsd.org References: <478A7AFB.8040604@users.sf.net> <1200599319.6367.75.camel@scotth.emsphone.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <1200599319.6367.75.camel@scotth.emsphone.com> X-Operating-System: FreeBSD 7.0-RC1 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-database@freebsd.org, martinko , freebsd-ports@freebsd.org, freebsd-java@freebsd.org Subject: Re: Oracle SQL Developer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 21:17:18 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El jueves 17 de enero a las 20:48:39 CET, Scott T. Hildreth escribi=F3: >=20 > On Sun, 2008-01-13 at 21:56 +0100, martinko wrote: > > Marcin Cieslak wrote: > > > martinko wrote: > > >> Hallo, > > >> > > >> Would someone care to port Oracle's SQL Developer to FreeBSD, please= ? > > >> > > >> > > >> > > >> > > >> Many thanks in advance! > > >=20 > > > There is actually nothing to port, just download the non-JRE platform > > > independent zip file, unpack and run "bash sqldeveloper" from > > > sqldeveloper/sqldeveloper/bin directory. > > >=20 > > > Works for me (7.0-BETA3 on amd64, self-compiled sun jdk15 from ports). > > >=20 > > > --Marcin > > >=20 > >=20 > >=20 > > Well, > >=20 > > I've tried it on 6-STABLE (6.2.something) and it got stuck at splash=20 > > screen. Btw, I've noticed output like this in terminal: >=20 > When I first ran it, I had the same problem. Then I noticed that > there was a prompt window behind the splash screen. I was able to=20 > grab the edge and pull the window over and answer the prompt. In my window manager I was able to move that window to another place and answer "No" to the question. The window is hidden by the splash screen, but it is possible to move it by mean of the menu window in the task bar. >=20 > >=20 > > expr: illegal option -- X > > usage: expr [-e] expression > > expr: illegal option -- D > > usage: expr [-e] expression > >=20 >=20 > Linux expr has different options then the FreeBSD expr. I ignore=20 > these errors since they are testing paths and my install is working. A workaround is to prefix the arguments of expr command with a double hyphen (--) > > Also, all the scripts use #!/bin/bash which doesn't work in FreeBSD. It does not matter as the script are executed under sh shell: $ sh sqldeveloper > I wrote a wrapper script to handle this, >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > #!/usr/local/bin/zsh >=20 > cd ~/src/Java/sqldeveloper/sqldeveloper/bin/ > bash ./sqldeveloper $@ >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > ...you could also link /usr/local/bin/bash to /bin/bash. I think it would be possible to run sqldeveloper without any reference to bash shell. I have submitted a problem report to port sqldeveloper: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D119756 Any feedback will be appreciated. Regards --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHj8AnFOo0zaS9RnIRAlHTAJ9+/Flx09SqXH/mbTER/73UpT8DegCeP1m1 SHz3EnLXV94SIhReC1WJgZ0= =NVYf -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 00:49:38 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47A2216A421; Fri, 18 Jan 2008 00:49:38 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from smtp.earth.threerings.net (smtp1.earth.threerings.net [64.127.109.108]) by mx1.freebsd.org (Postfix) with ESMTP id C660613C45A; Fri, 18 Jan 2008 00:49:37 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from [192.168.54.11] (timor.sea.earth.threerings.net [192.168.54.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: landonf) by smtp.earth.threerings.net (Postfix) with ESMTP id 814A861E40; Thu, 17 Jan 2008 16:18:33 -0800 (PST) In-Reply-To: References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-95--1030004556" Message-Id: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> From: Landon Fuller Date: Thu, 17 Jan 2008 16:18:14 -0800 To: "Arno J. Klaassen" , Daniel Eischen Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.753) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: nate@yogotech.com, java@freebsd.org, ivo@scito.com, julian@freebsd.org, davidxu@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 00:49:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-95--1030004556 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Dec 2, 2007, at 09:31, Arno J. Klaassen wrote: > For info, the attached patch, which partially reverts mfc of rev 1.286 > of kern_fork.c, seems to work as well (without the above patch to > be clear), I just upgraded our 8-core build server from pre-november 6-STABLE to 6.3-RELEASE, and ran into this issue, causing our fork-heavy builder processes to lock up regularly. Your suggested patch (reverting the 1.286 MFC to sys/kern/ kern_fork.c) allows our builds to run to completion; I'll try digging into this further. Given how easy this is to reproduce, I'm hoping this is possible to fix before 6.3 is officially released? Here's a simple reproduction case that results in instant spinning sub-processes: #0 0x0000000800648b13 in mutex_lock_common (curthread=0x0, m=0x8007616e8, abstime=0x0) at /usr/src/lib/libpthread/thread/ thr_mutex.c:503 #1 0x000000080064ac25 in _pthread_mutex_lock (m=0x8007616e8) at /usr/ src/lib/libpthread/thread/thr_mutex.c:868 #2 0x000000080063e9ce in _spinlock (lck=0x8009ac200) at /usr/src/lib/ libpthread/thread/thr_spinlock.c:97 #3 0x00000008007eafc3 in pubrealloc (ptr=0x0, size=24, func=0x8008802b7 " in malloc():") at /usr/src/lib/libc/stdlib/ malloc.c:1090 #4 0x00000008007eb1e1 in malloc (size=24) at /usr/src/lib/libc/ stdlib/malloc.c:1150 #5 0x000000080065ab8c in _lockuser_init (lu=0x52e068, priv=0x52e000) at /usr/src/lib/libpthread/sys/lock.c:99 #6 0x000000080065ac69 in _lockuser_reinit (lu=0x52e068, priv=0x52e000) at /usr/src/lib/libpthread/sys/lock.c:128 #7 0x000000080064d6d0 in _kse_single_thread (curthread=0x50cc00) at / usr/src/lib/libpthread/thread/thr_kern.c:343 #8 0x000000080063b627 in _fork () at /usr/src/lib/libpthread/thread/ thr_fork.c:101 #9 0x00000000004008f1 in forker () #10 0x000000080064516e in thread_start (curthread=0x50cc00, start_routine=0x4008e0 , arg=0x0) at /usr/src/lib/libpthread/ thread/thr_create.c:341 #11 0x00000008007b3cd9 in makectx_wrapper (ucp=0x800530860, func=0x800645150 , args=0x7fffff7fcfd0) at /usr/src/lib/ libc/amd64/gen/makecontext.c:100 #12 0x0000000000000000 in ?? () #13 0x000000000050cc00 in ?? () #14 0x00000000004008e0 in frame_dummy () #include #include #include void *forker (void *arg) { while (1) { pid_t pid = fork(); if (pid == 0) { exit(0); } else if (pid > 0) { int status; waitpid(pid, &status, 0); } else { printf("Fork failed\n"); abort(); } } } int main(void) { int i = 0; for (i = 0; i < 4; i++) { pthread_t thr; pthread_create(&thr, NULL, forker, NULL); pthread_detach(thr); } while(1) sleep(1000); } --Apple-Mail-95--1030004556 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHj/BGlplZCE/15mMRAkIJAJwORDIrtSz6ytnP5STB7bbpTqr79QCbBxvR hWbbpVd+1hyjvxeCoOY6FHQ= =uZXJ -----END PGP SIGNATURE----- --Apple-Mail-95--1030004556-- From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 01:01:42 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 617C616A418 for ; Fri, 18 Jan 2008 01:01:42 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.freebsd.org (Postfix) with ESMTP id DFA5213C4D3 for ; Fri, 18 Jan 2008 01:01:36 +0000 (UTC) (envelope-from ken@tydfam.jp) Received: from localhost (p5223-ipbfp02fukui.fukui.ocn.ne.jp [125.207.67.223]) by tydfam.jp (8.14.2/8.14.2) with ESMTP id m0I11JcF012716; Fri, 18 Jan 2008 10:01:31 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Fri, 18 Jan 2008 10:01:20 +0900 (JST) Message-Id: <20080118.100120.258124179.ken@tydfam.jp> To: doug@polands.org From: Ken Yamada In-Reply-To: <478F9DE1.9040003@polands.org> References: <478F9DE1.9040003@polands.org> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92/5493/Fri Jan 18 03:09:26 2008 on daemon.sub.tydfam.jp X-Virus-Status: Clean X-Spam-Status: No, score=4.5 required=9.5 tests=HELO_LOCALHOST autolearn=no version=3.2.3 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on daemon.sub.tydfam.jp Cc: freebsd-java@freebsd.org Subject: Re: glassfish compilation on -current (also on 7.0) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 01:01:42 -0000 Doug, No, I haven't dig in too much on this as there were no responses. From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 01:16:50 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3562B16A418; Fri, 18 Jan 2008 01:16:50 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from smtp.earth.threerings.net (smtp1.earth.threerings.net [64.127.109.108]) by mx1.freebsd.org (Postfix) with ESMTP id EAC1C13C4D3; Fri, 18 Jan 2008 01:16:49 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from [192.168.54.11] (timor.sea.earth.threerings.net [192.168.54.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: landonf) by smtp.earth.threerings.net (Postfix) with ESMTP id 10F5161F1A; Thu, 17 Jan 2008 17:16:49 -0800 (PST) In-Reply-To: <478FFC91.4050508@elischer.org> References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-98--1026509058" Message-Id: <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> From: Landon Fuller Date: Thu, 17 Jan 2008 17:16:30 -0800 To: Julian Elischer Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.753) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: nate@yogotech.com, ivo@scito.com, Alfred Perlstein , Daniel Eischen , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 01:16:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-98--1026509058 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Jan 17, 2008, at 17:10, Julian Elischer wrote: > I gather it is the PARENT that hangs here? Parent continues, the child hangs in fork(). --Apple-Mail-98--1026509058 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHj/3ulplZCE/15mMRAhUjAJ0VXKCPw69iKqx+jSJ1D3t9QYhtpgCfTEhA Y4imUVT/S/cFce9/zvmbkZc= =wELE -----END PGP SIGNATURE----- --Apple-Mail-98--1026509058-- From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 01:21:17 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F019816A473 for ; Fri, 18 Jan 2008 01:21:17 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outE.internet-mail-service.net (outE.internet-mail-service.net [216.240.47.228]) by mx1.freebsd.org (Postfix) with ESMTP id C0AB013C4E3 for ; Fri, 18 Jan 2008 01:21:17 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Thu, 17 Jan 2008 17:21:17 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 2A96D126F4F; Thu, 17 Jan 2008 17:21:16 -0800 (PST) Message-ID: <478FFF09.7020207@elischer.org> Date: Thu, 17 Jan 2008 17:21:13 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Landon Fuller References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> In-Reply-To: <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nate@yogotech.com, ivo@scito.com, Alfred Perlstein , Daniel Eischen , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 01:21:18 -0000 Landon Fuller wrote: > > On Jan 17, 2008, at 17:10, Julian Elischer wrote: > >> I gather it is the PARENT that hangs here? >> > > Parent continues, the child hangs in fork(). no the child hangs in mutex_lock_common() please do a ktrace of the program and send that to me From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 01:24:38 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB8E616A419; Fri, 18 Jan 2008 01:24:38 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id A55C713C4D3; Fri, 18 Jan 2008 01:24:38 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 4C5DC8C0BD; Thu, 17 Jan 2008 19:00:18 -0600 (CST) Date: Thu, 17 Jan 2008 19:00:18 -0600 To: Landon Fuller Message-ID: <20080118010018.GA5730@soaustin.net> References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> User-Agent: Mutt/1.5.13 (2006-08-11) From: linimon@lonesome.com (Mark Linimon) Cc: nate@yogotech.com, ivo@scito.com, Daniel Eischen , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 01:24:38 -0000 On Thu, Jan 17, 2008 at 04:18:14PM -0800, Landon Fuller wrote: > I'm hoping this is possible to fix before 6.3 is officially released? 6.3 is past the point of any more changes at this point, sorry. mcl From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 01:26:10 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B22FE16A417 for ; Fri, 18 Jan 2008 01:26:10 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outC.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id 80C2713C44B for ; Fri, 18 Jan 2008 01:26:10 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Thu, 17 Jan 2008 17:10:45 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 3B65D126F4F; Thu, 17 Jan 2008 17:10:44 -0800 (PST) Message-ID: <478FFC91.4050508@elischer.org> Date: Thu, 17 Jan 2008 17:10:41 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Landon Fuller References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> In-Reply-To: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nate@yogotech.com, ivo@scito.com, Alfred Perlstein , Daniel Eischen , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 01:26:10 -0000 Landon Fuller wrote: > > On Dec 2, 2007, at 09:31, Arno J. Klaassen wrote: > >> For info, the attached patch, which partially reverts mfc of rev 1.286 >> >> of kern_fork.c, seems to work as well (without the above patch to be >> clear), >> > > I just upgraded our 8-core build server from pre-november 6-STABLE to > 6.3-RELEASE, and ran into this issue, causing our fork-heavy builder > processes to lock up regularly. > > Your suggested patch (reverting the 1.286 MFC to sys/kern/kern_fork.c) > allows our builds to run to completion; I'll try digging into this > further. Given how easy this is to reproduce, I'm hoping this is > possible to fix before 6.3 is officially released? This is a problem.. the reason it was changed was that the previous code results in heavily loaded threaded processes that fork, hanging in indefinite lockups IN THE KERNEL. Eventually the whole machine would become unuseable. In particular when there is NFS being used but in other situations too. SO I'm damned if I do and damned if I don't on this. We were able to prove to ourselves that if a program got into this state it was a definite programming error. As was stated in the discussion to this change: "The change is trying to protect the user from doing something that they shouldn't be doing anyhow." The previous kernel tried to stop all other threads from running and thus, stopping them from changing anything, while the kernel copies the memory into the child process. The fact is that the kernel can't really protect the process from doing this and the other threads in the parent can still leave things in a state that will screw up the child. I gather it is the PARENT that hangs here? It's possible that the answer is that the library needs to be changed as well. Dan, what is the library doing here? > > Here's a simple reproduction case that results in instant spinning > sub-processes: > > #0 0x0000000800648b13 in mutex_lock_common (curthread=0x0, > m=0x8007616e8, abstime=0x0) at > /usr/src/lib/libpthread/thread/thr_mutex.c:503 > #1 0x000000080064ac25 in _pthread_mutex_lock (m=0x8007616e8) at > /usr/src/lib/libpthread/thread/thr_mutex.c:868 > #2 0x000000080063e9ce in _spinlock (lck=0x8009ac200) at > /usr/src/lib/libpthread/thread/thr_spinlock.c:97 > #3 0x00000008007eafc3 in pubrealloc (ptr=0x0, size=24, func=0x8008802b7 > " in malloc():") at /usr/src/lib/libc/stdlib/malloc.c:1090 > #4 0x00000008007eb1e1 in malloc (size=24) at > /usr/src/lib/libc/stdlib/malloc.c:1150 > #5 0x000000080065ab8c in _lockuser_init (lu=0x52e068, priv=0x52e000) at > /usr/src/lib/libpthread/sys/lock.c:99 > #6 0x000000080065ac69 in _lockuser_reinit (lu=0x52e068, priv=0x52e000) > at /usr/src/lib/libpthread/sys/lock.c:128 > #7 0x000000080064d6d0 in _kse_single_thread (curthread=0x50cc00) at > /usr/src/lib/libpthread/thread/thr_kern.c:343 > #8 0x000000080063b627 in _fork () at > /usr/src/lib/libpthread/thread/thr_fork.c:101 > #9 0x00000000004008f1 in forker () > #10 0x000000080064516e in thread_start (curthread=0x50cc00, > start_routine=0x4008e0 , arg=0x0) at > /usr/src/lib/libpthread/thread/thr_create.c:341 > #11 0x00000008007b3cd9 in makectx_wrapper (ucp=0x800530860, > func=0x800645150 , args=0x7fffff7fcfd0) at > /usr/src/lib/libc/amd64/gen/makecontext.c:100 > #12 0x0000000000000000 in ?? () > #13 0x000000000050cc00 in ?? () > #14 0x00000000004008e0 in frame_dummy () > > #include > #include > #include > > void *forker (void *arg) { > while (1) { > pid_t pid = fork(); > if (pid == 0) { > exit(0); > } else if (pid > 0) { > int status; > waitpid(pid, &status, 0); > } else { > printf("Fork failed\n"); > abort(); > } > } > } > > int main(void) { > int i = 0; > for (i = 0; i < 4; i++) { > pthread_t thr; > pthread_create(&thr, NULL, forker, NULL); > pthread_detach(thr); > } > > while(1) > sleep(1000); > } From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 01:43:02 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA7D216A4C9 for ; Fri, 18 Jan 2008 01:43:02 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outS.internet-mail-service.net (outS.internet-mail-service.net [216.240.47.242]) by mx1.freebsd.org (Postfix) with ESMTP id 5025113C474 for ; Fri, 18 Jan 2008 01:43:02 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Thu, 17 Jan 2008 17:43:01 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id AB786126F66; Thu, 17 Jan 2008 17:43:00 -0800 (PST) Message-ID: <47900422.9050905@elischer.org> Date: Thu, 17 Jan 2008 17:42:58 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Landon Fuller References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> <478FFF09.7020207@elischer.org> In-Reply-To: <478FFF09.7020207@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nate@yogotech.com, ivo@scito.com, Alfred Perlstein , Daniel Eischen , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 01:43:02 -0000 Julian Elischer wrote: > Landon Fuller wrote: >> >> On Jan 17, 2008, at 17:10, Julian Elischer wrote: >> >>> I gather it is the PARENT that hangs here? >>> >> >> Parent continues, the child hangs in fork(). > > no the child hangs in mutex_lock_common() > > please do a ktrace of the program and send that to me > Here's my guess as to what is happening: thos is not based on code.. thread 1 calls the dummy fork(3) thread 2 calls the dummy fork(3) thread 1 calls fork(2), (the syscall, from within the dummy fork) thread2 calls fork(2) (the real one in the kernel) thread 1 proceeds thread 2 blocks on a VM lock until thread 1 completes kernel duplicates the memory space thread 1 returns from fork(2) thread 1 takes out mutex X inside dummy fork(3) thread 2 proceeeds in the kernel on forking. kernel duplicates the memory space (including mutex X) thread 2 returns from kernel and looks for mutex X thread 2 in client tries to take out mutex X inside dummy fork(3) and waits. thread 1 releases mutex X thread 2 proceeeds ================================ in child1 thread1 runs fine. in child2 thread2 waits for thread 1 to drop the mutex (there is no thread1) the question is: what is the mutex being acquired AFTER forking? Dan? From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 01:50:46 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F121F16A47D; Fri, 18 Jan 2008 01:50:46 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id C56E513C46B; Fri, 18 Jan 2008 01:50:46 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id CCC641A4D84; Thu, 17 Jan 2008 17:30:49 -0800 (PST) Date: Thu, 17 Jan 2008 17:30:49 -0800 From: Alfred Perlstein To: Landon Fuller Message-ID: <20080118013049.GO99258@elvis.mu.org> References: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> User-Agent: Mutt/1.4.2.3i Cc: nate@yogotech.com, ivo@scito.com, Daniel Eischen , Julian Elischer , java@freebsd.org, julian@freebsd.org, davidxu@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 01:50:47 -0000 * Landon Fuller [080117 17:13] wrote: > On Jan 17, 2008, at 17:10, Julian Elischer wrote: > > I gather it is the PARENT that hangs here? > > Parent continues, the child hangs in fork(). Julian, is this happening in FreeBSD or in IronportBSD? If it's happening in FreeBSD this is because we never committed the fix to libkse that was needed in userland. Daniel objected to my patch (which Ironport had already absorbed) and we had no way to test his "more proper patch" so it just sat unfixed. PErhaps now we can try Daniel's patch now that we have another user with a bug. Daniel, can you please dig up your patch? -Alfred From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 02:08:01 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60DCB16A417; Fri, 18 Jan 2008 02:08:01 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from smtp.earth.threerings.net (smtp1.earth.threerings.net [64.127.109.108]) by mx1.freebsd.org (Postfix) with ESMTP id DF4B113C47E; Fri, 18 Jan 2008 02:08:00 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from [192.168.54.11] (timor.sea.earth.threerings.net [192.168.54.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: landonf) by smtp.earth.threerings.net (Postfix) with ESMTP id 5B91461E20; Thu, 17 Jan 2008 18:08:00 -0800 (PST) In-Reply-To: <478FFF09.7020207@elischer.org> References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> <478FFF09.7020207@elischer.org> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1--1023453280" Message-Id: Content-Transfer-Encoding: 7bit From: Landon Fuller Date: Thu, 17 Jan 2008 18:07:25 -0800 To: Julian Elischer X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.753) Cc: nate@yogotech.com, ivo@scito.com, Alfred Perlstein , Daniel Eischen , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 02:08:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-1--1023453280 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Jan 17, 2008, at 17:21, Julian Elischer wrote: > Landon Fuller wrote: >> On Jan 17, 2008, at 17:10, Julian Elischer wrote: >>> I gather it is the PARENT that hangs here? >>> >> Parent continues, the child hangs in fork(). > > no the child hangs in mutex_lock_common() Sorry, of course. I just meant that fork() had not yet returned. > please do a ktrace of the program and send that to me Here's a trace of the parent process and descendents: http://landonf.bikemonkey.org/static/code/freebsd/fork.ktrace.out.bz2 Cheers, landon --Apple-Mail-1--1023453280 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHkAnelplZCE/15mMRArtxAJ41sqYDBxBl4BvfOJdr5a+FJ1vFywCgiW9H d+vqwZ0AM7Chz/2rS7wB60M= =jlCg -----END PGP SIGNATURE----- --Apple-Mail-1--1023453280-- From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 02:56:26 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E994216A419; Fri, 18 Jan 2008 02:56:26 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2603D13C447; Fri, 18 Jan 2008 02:56:23 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m0I2cD0Y022742; Thu, 17 Jan 2008 21:38:13 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Thu, 17 Jan 2008 21:38:14 -0500 (EST) Date: Thu, 17 Jan 2008 21:38:13 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Alfred Perlstein In-Reply-To: <20080118013049.GO99258@elvis.mu.org> Message-ID: References: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> <20080118013049.GO99258@elvis.mu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ivo@scito.com, nate@yogotech.com, Landon Fuller , Julian Elischer , java@freebsd.org, julian@freebsd.org, davidxu@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 02:56:27 -0000 On Thu, 17 Jan 2008, Alfred Perlstein wrote: > * Landon Fuller [080117 17:13] wrote: >> On Jan 17, 2008, at 17:10, Julian Elischer wrote: >> >> I gather it is the PARENT that hangs here? >> >> Parent continues, the child hangs in fork(). > > Julian, is this happening in FreeBSD or in IronportBSD? > > If it's happening in FreeBSD this is because we never committed > the fix to libkse that was needed in userland. > > Daniel objected to my patch (which Ironport had already absorbed) > and we had no way to test his "more proper patch" so it just sat > unfixed. > > PErhaps now we can try Daniel's patch now that we have another > user with a bug. > > Daniel, can you please dig up your patch? See -current, I think the problem you were seeing is fixed there. -- DE From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 02:56:35 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E6F116A41A; Fri, 18 Jan 2008 02:56:35 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id C8C5C13C459; Fri, 18 Jan 2008 02:56:34 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m0I2ah54022279; Thu, 17 Jan 2008 21:36:43 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Thu, 17 Jan 2008 21:36:44 -0500 (EST) Date: Thu, 17 Jan 2008 21:36:43 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Julian Elischer In-Reply-To: <478FFC91.4050508@elischer.org> Message-ID: References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ivo@scito.com, Alfred Perlstein , nate@yogotech.com, Landon Fuller , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 02:56:35 -0000 On Thu, 17 Jan 2008, Julian Elischer wrote: > Landon Fuller wrote: >> >> On Dec 2, 2007, at 09:31, Arno J. Klaassen wrote: >> >>> For info, the attached patch, which partially reverts mfc of rev 1.286 >>> >>> of kern_fork.c, seems to work as well (without the above patch to be >>> clear), >>> >> >> I just upgraded our 8-core build server from pre-november 6-STABLE to >> 6.3-RELEASE, and ran into this issue, causing our fork-heavy builder >> processes to lock up regularly. >> >> Your suggested patch (reverting the 1.286 MFC to sys/kern/kern_fork.c) >> allows our builds to run to completion; I'll try digging into this further. >> Given how easy this is to reproduce, I'm hoping this is possible to fix >> before 6.3 is officially released? > > > This is a problem.. the reason it was changed was that the > previous code results in heavily loaded threaded processes that > fork, hanging in indefinite lockups IN THE KERNEL. Eventually > the whole machine would become unuseable. In particular when > there is NFS being used but in other situations too. SO I'm > damned if I do and damned if I don't on this. > > We were able to prove to ourselves that if a program got into this > state it was a definite programming error. As was stated in the > discussion to this change: > "The change is trying to protect the user from doing something that they > shouldn't be doing anyhow." > The previous kernel tried to stop all other threads from running > and thus, stopping them from changing anything, while the > kernel copies the memory into the child process. The fact is that > the kernel can't really protect the process from doing this and > the other threads in the parent can still leave things in a state > that will screw up the child. > > I gather it is the PARENT that hangs here? It must be the child that hangs. > It's possible that the answer is that the library needs to > be changed as well. Dan, what is the library doing here? I suppose it is malloc() that is getting into an inconsistent state in the child. Creating a thread causes malloc() usage, so threads in the parent can cause the malloc lock to look like it's been locked just as the process is forked from a different thread. You might want to check out any differences between libkse in -current and libpthread in 6.x. I don't think there is an issue with -current. -- DE From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 04:09:09 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC5F616A419 for ; Fri, 18 Jan 2008 04:09:09 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.238]) by mx1.freebsd.org (Postfix) with ESMTP id 4612C13C459 for ; Fri, 18 Jan 2008 04:09:09 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by qb-out-0506.google.com with SMTP id a10so95815qbd.7 for ; Thu, 17 Jan 2008 20:09:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=yPHqQcecQT8FmROJPcL0PSNB9NOkt415uUgrEpOji8E=; b=ZiMycJ6HzsPSOI3/7Ah58qXFY4Q0X/TTmfkCG8NZ6VMH/DBH0anWLWNj0YXRCjziI/gQ0EVYwLR6pdC0UL1yk2GiwuzIe4yyyOiV2k+SVB91B8L/FIiSiQsGhZ3BQJS0jwRYXsYpPpMY0oMR/+/S7iQJh70wjFSX2JPSIIxmZw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=M1jSxy42epQHuLr0VROJskWT0K01BEIC3kcNzhMjS2u+5vi/NkmMmqUV285UX7ZQsbrNHkf5k1UQ8OmKeQkTTtopxCDfW1zmERdb9Ftx6+RE2vthwFr0y9Jun9zWOOtaajqDGrSGQGITAylZeg+ThnRbuuQadZs5SCZ5uHN9lcs= Received: by 10.64.181.12 with SMTP id d12mr6299256qbf.27.1200629348477; Thu, 17 Jan 2008 20:09:08 -0800 (PST) Received: by 10.65.126.12 with HTTP; Thu, 17 Jan 2008 20:09:08 -0800 (PST) Message-ID: Date: Fri, 18 Jan 2008 12:09:08 +0800 From: "Jiawei Ye" To: "Ken Yamada" In-Reply-To: <20080118.100120.258124179.ken@tydfam.jp> MIME-Version: 1.0 References: <478F9DE1.9040003@polands.org> <20080118.100120.258124179.ken@tydfam.jp> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: doug@polands.org, freebsd-java@freebsd.org Subject: Re: glassfish compilation on -current (also on 7.0) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 04:09:09 -0000 On Jan 18, 2008 9:01 AM, Ken Yamada wrote: > Doug, > No, I haven't dig in too much on this as there were no responses. > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > Does this help? http://forums.java.net/jive/message.jspa?messageID=172881 Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 04:23:35 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C856816A473 for ; Fri, 18 Jan 2008 04:23:35 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outY.internet-mail-service.net (outY.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id 8790213C45B for ; Fri, 18 Jan 2008 04:23:35 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Thu, 17 Jan 2008 20:23:34 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 7239C126F6E; Thu, 17 Jan 2008 20:23:33 -0800 (PST) Message-ID: <479029C2.7020404@elischer.org> Date: Thu, 17 Jan 2008 20:23:30 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Alfred Perlstein References: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> <20080118013049.GO99258@elvis.mu.org> In-Reply-To: <20080118013049.GO99258@elvis.mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nate@yogotech.com, ivo@scito.com, Daniel Eischen , Landon Fuller , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 04:23:35 -0000 Alfred Perlstein wrote: > * Landon Fuller [080117 17:13] wrote: >> On Jan 17, 2008, at 17:10, Julian Elischer wrote: >> >> I gather it is the PARENT that hangs here? >> >> Parent continues, the child hangs in fork(). > > Julian, is this happening in FreeBSD or in IronportBSD? FreeBSD 6.3 nothing to do with IronPort. > > If it's happening in FreeBSD this is because we never committed > the fix to libkse that was needed in userland. > > Daniel objected to my patch (which Ironport had already absorbed) > and we had no way to test his "more proper patch" so it just sat > unfixed. > > PErhaps now we can try Daniel's patch now that we have another > user with a bug. > > Daniel, can you please dig up your patch? > > -Alfred From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 04:30:41 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 528F216A419; Fri, 18 Jan 2008 04:30:41 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 193B113C43E; Fri, 18 Jan 2008 04:30:41 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 391A11A4D84; Thu, 17 Jan 2008 20:27:13 -0800 (PST) Date: Thu, 17 Jan 2008 20:27:13 -0800 From: Alfred Perlstein To: Julian Elischer Message-ID: <20080118042713.GR99258@elvis.mu.org> References: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> <20080118013049.GO99258@elvis.mu.org> <479029C2.7020404@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <479029C2.7020404@elischer.org> User-Agent: Mutt/1.4.2.3i Cc: nate@yogotech.com, ivo@scito.com, Daniel Eischen , Landon Fuller , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 04:30:41 -0000 * Julian Elischer [080117 20:20] wrote: > Alfred Perlstein wrote: > >* Landon Fuller [080117 17:13] wrote: > >> On Jan 17, 2008, at 17:10, Julian Elischer wrote: > >> > >> I gather it is the PARENT that hangs here? > >> > >> Parent continues, the child hangs in fork(). > > > >Julian, is this happening in FreeBSD or in IronportBSD? > > FreeBSD 6.3 > > nothing to do with IronPort. Then very likely to do with the uncommitted patch from either myself or from DE. -Alfred From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 04:30:59 2008 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27D7A16A46B for ; Fri, 18 Jan 2008 04:30:59 +0000 (UTC) (envelope-from msa@allman.ms) Received: from mail102.csoft.net (mail102.csoft.net [205.205.219.4]) by mx1.freebsd.org (Postfix) with ESMTP id DABAA13C4CC for ; Fri, 18 Jan 2008 04:30:58 +0000 (UTC) (envelope-from msa@allman.ms) Received: by mail102.csoft.net (Postfix, from userid 3922) id 5CAD21D2D3; Thu, 17 Jan 2008 23:13:00 -0500 (EST) Date: Thu, 17 Jan 2008 20:13:00 -0800 (PST) From: Michael Allman To: freebsd-java@FreeBSD.org Message-ID: <20080117200016.P64623@yvyyl.pfbsg.arg> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: landonf@macports.org Subject: bsd implementation of Java_sun_nio_ch_FileChannelImpl_transferTo0 ignores "count" argument X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 04:30:59 -0000 There's a bug in the bsd patch to FileChannelImpl.c, as described in the subject of this message. FYI, I have verified this using the "current" jdk16 freebsd patchset found here: http://www.eyesbeyond.com/freebsddom/java/JDK16JRLConfirm.html I haven't fully analyzed the impact of this defect. I can say that in my case, if I call FileChannel.transferTo(0, 100, socketChannel), where 100 is less than the length of the file in question, it transfers the entire file to the destination. According to the docs for this method, it should only transfer a maximum of 100 bytes. This is key to my particular usage of this method. I can attempt to provide a patch, but C is not my thing, and I could not make a reliable claim as to the correctness of my patch. Also, there's the whole license issue. Fixing this seems simple enough, though. I would like to help insofar as I can. Also, I know this is getting pushy, but it seems like fixing this issue would be a great time to replace the current implementation of this method with a true bsd sendfile() call. I could give that a try, too. Cheers, Michael (CC'ing Landon Fuller because this is a bug in Soylatte, too) From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 08:00:35 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B99EC16A418 for ; Fri, 18 Jan 2008 08:00:35 +0000 (UTC) (envelope-from clcchu@hotmail.com) Received: from bay0-omc1-s30.bay0.hotmail.com (bay0-omc1-s30.bay0.hotmail.com [65.54.246.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7D66813C447 for ; Fri, 18 Jan 2008 08:00:35 +0000 (UTC) (envelope-from clcchu@hotmail.com) Received: from BAY134-W3 ([65.55.139.38]) by bay0-omc1-s30.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Jan 2008 23:48:36 -0800 Message-ID: X-Originating-IP: [58.176.16.164] From: Clarence Chu To: Date: Fri, 18 Jan 2008 15:48:36 +0800 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 18 Jan 2008 07:48:36.0472 (UTC) FILETIME=[8835A780:01C859A6] Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: build jdk14 under -7+ X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 08:00:35 -0000 Dear All, It's my way of building it, wish you like it: 1) build and install lang/gcc34 2) rename the cc gcc CC g++ c++ under /usr/bin 3) make symbolic links of the above to the gcc34 counterparts 4) build jdk14 as 'cd /usr/ports/java/jdk14; make install' it is simple, isn't it? Best wishes. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 08:15:59 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DD4D16A46B for ; Fri, 18 Jan 2008 08:15:59 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id B2F9913C4EB for ; Fri, 18 Jan 2008 08:15:58 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m0I8FtJi004799; Fri, 18 Jan 2008 00:15:55 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m0I8Ftq9004798; Fri, 18 Jan 2008 00:15:55 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 18 Jan 2008 00:15:54 -0800 From: Greg Lewis To: Michael Allman Message-ID: <20080118081554.GA4645@misty.eyesbeyond.com> References: <20080117200016.P64623@yvyyl.pfbsg.arg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080117200016.P64623@yvyyl.pfbsg.arg> User-Agent: Mutt/1.4.2.2i Cc: landonf@macports.org, freebsd-java@freebsd.org Subject: Re: bsd implementation of Java_sun_nio_ch_FileChannelImpl_transferTo0 ignores "count" argument X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 08:15:59 -0000 On Thu, Jan 17, 2008 at 08:13:00PM -0800, Michael Allman wrote: > There's a bug in the bsd patch to FileChannelImpl.c, as described in the > subject of this message. FYI, I have verified this using the "current" > jdk16 freebsd patchset found here: > > http://www.eyesbeyond.com/freebsddom/java/JDK16JRLConfirm.html D'oh...there certainly is. > I haven't fully analyzed the impact of this defect. I can say that in my > case, if I call FileChannel.transferTo(0, 100, socketChannel), where 100 > is less than the length of the file in question, it transfers the entire > file to the destination. According to the docs for this method, it should > only transfer a maximum of 100 bytes. This is key to my particular usage > of this method. The problem is that it ignores the count entirely and just transfers the whole thing. > I can attempt to provide a patch, but C is not my thing, and I could not > make a reliable claim as to the correctness of my patch. Also, there's > the whole license issue. Fixing this seems simple enough, though. I > would like to help insofar as I can. Something like this maybe? (Untested) --- ../../j2se/src/solaris/native/sun/nio/ch/FileChannelImpl.c 6 Mar 2007 17:45:05 -0000 1.11 +++ ../../j2se/src/solaris/native/sun/nio/ch/FileChannelImpl.c 18 Jan 2008 08:11:36 -0000 @@ -264,11 +264,12 @@ return IOS_THROWN; } - while ((r = pread(srcFD, buf, 4096, offset)) > 0) { + while (count > 0 && (r = pread(srcFD, buf, (count < 4096) ? count : 4096, offset)) > 0) { w = write(dstFD, buf, r); if (w == -1) break; offset += w; + count -= w; } free(buf); > Also, I know this is getting pushy, but it seems like fixing this issue > would be a great time to replace the current implementation of this method > with a true bsd sendfile() call. I could give that a try, too. As noted in the comments, you can't since the BSD implementation of sendfile(2) expects to be sending the file to a socket, not just any old file descriptor. Solaris and Linux are both ok with any old fd. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 08:47:33 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60A3E16A41A for ; Fri, 18 Jan 2008 08:47:33 +0000 (UTC) (envelope-from msa@allman.ms) Received: from mail102.csoft.net (mail102.csoft.net [205.205.219.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0FFC113C45A for ; Fri, 18 Jan 2008 08:47:32 +0000 (UTC) (envelope-from msa@allman.ms) Received: by mail102.csoft.net (Postfix, from userid 3922) id 9F0751D0CB; Fri, 18 Jan 2008 03:47:32 -0500 (EST) Date: Fri, 18 Jan 2008 00:47:32 -0800 (PST) From: Michael Allman To: Greg Lewis In-Reply-To: <20080118081554.GA4645@misty.eyesbeyond.com> Message-ID: <20080118002952.M20016@yvyyl.pfbsg.arg> References: <20080117200016.P64623@yvyyl.pfbsg.arg> <20080118081554.GA4645@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: landonf@macports.org, freebsd-java@freebsd.org Subject: Re: bsd implementation of Java_sun_nio_ch_FileChannelImpl_transferTo0 ignores "count" argument X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 08:47:33 -0000 On Fri, 18 Jan 2008, Greg Lewis wrote: > On Thu, Jan 17, 2008 at 08:13:00PM -0800, Michael Allman wrote: >> I can attempt to provide a patch, but C is not my thing, and I could not >> make a reliable claim as to the correctness of my patch. Also, there's >> the whole license issue. Fixing this seems simple enough, though. I >> would like to help insofar as I can. > > Something like this maybe? (Untested) > > --- ../../j2se/src/solaris/native/sun/nio/ch/FileChannelImpl.c 6 Mar 2007 17:45:05 -0000 1.11 > +++ ../../j2se/src/solaris/native/sun/nio/ch/FileChannelImpl.c 18 Jan 2008 08:11:36 -0000 > @@ -264,11 +264,12 @@ > return IOS_THROWN; > } > > - while ((r = pread(srcFD, buf, 4096, offset)) > 0) { > + while (count > 0 && (r = pread(srcFD, buf, (count < 4096) ? count : 4096, offset)) > 0) { > w = write(dstFD, buf, r); > if (w == -1) > break; > offset += w; > + count -= w; > } > free(buf); You're reading my mind. >> Also, I know this is getting pushy, but it seems like fixing this issue >> would be a great time to replace the current implementation of this method >> with a true bsd sendfile() call. I could give that a try, too. > > As noted in the comments, you can't since the BSD implementation of > sendfile(2) expects to be sending the file to a socket, not just any old > file descriptor. Solaris and Linux are both ok with any old fd. I think the calling code can handle a failure gracefully. See FileChannelImpl.java, transferToDirectly(). I am going to have a go at this (sendfile support) in leopard. The freebsd call is a little different, and I don't have ready access to a freebsd machine. Michael From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 09:30:59 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7463616A421 for ; Fri, 18 Jan 2008 09:30:59 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0DF1013C45D for ; Fri, 18 Jan 2008 09:30:58 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so1439333pyb.10 for ; Fri, 18 Jan 2008 01:30:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=I8L8uA6BpVQzU71p8GYdSYN12iz4U5QwgTVOml+Ahdk=; b=vd9DPR6eYWsHA8Efrlx01iSZLVP+I7CNyAEb0lNz/zHyQlHh/eHWbPWnm6rke3qszLnUFyTzKwJB1iBvcxvy6MKjvu56LAQBEec1QCnL85xjfMcFa/VzVdnQeOMy2lTUujnvzHioyHf7fcxEGdg4DkAGxSPejAf6Kff+6FUcvcE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=LCRfsuQx+mNkxeHWYomHy+pDJVbdCUNAZvEBVcDTqIB+7/dUkYSaKwhO6C9wgZbt8Sg7pHYA82hgbAKXd1vPhMYmOqhzkGH16pxtq5RkYZNkhkVUQsvOcI6pryw/aJMKOSqC2a9ybeHtqz4NWFv7zFCsyaY5wC8NkeNqeKhHdj4= Received: by 10.64.131.4 with SMTP id e4mr6729587qbd.68.1200648657538; Fri, 18 Jan 2008 01:30:57 -0800 (PST) Received: by 10.65.126.12 with HTTP; Fri, 18 Jan 2008 01:30:57 -0800 (PST) Message-ID: Date: Fri, 18 Jan 2008 17:30:57 +0800 From: "Jiawei Ye" To: "Clarence Chu" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org Subject: Re: build jdk14 under -7+ X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 09:30:59 -0000 On Jan 18, 2008 3:48 PM, Clarence Chu wrote: > > > Dear All, > > It's my way of building it, wish you like it: > > 1) build and install lang/gcc34 > 2) rename the cc gcc CC g++ c++ under /usr/bin > 3) make symbolic links of the above to the gcc34 counterparts > 4) build jdk14 as 'cd /usr/ports/java/jdk14; make install' > > it is simple, isn't it? > > Best wishes. > > What if you use CC= and CXX= for make args? Does that work as well? Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 15:05:15 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1380F16A419 for ; Fri, 18 Jan 2008 15:05:15 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id A985813C468 for ; Fri, 18 Jan 2008 15:05:14 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org ([75.87.219.217]) by hrndva-omta04.mail.rr.com with ESMTP id <20080118150513.KKCJ17975.hrndva-omta04.mail.rr.com@corinth.polands.org>; Fri, 18 Jan 2008 15:05:13 +0000 Received: from omnihp.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id m0IF5Cwo017586; Fri, 18 Jan 2008 09:05:12 -0600 (CST) (envelope-from doug@polands.org) Message-ID: <4790C027.7090004@polands.org> Date: Fri, 18 Jan 2008 09:05:11 -0600 From: Doug Poland User-Agent: Thunderbird 2.0.0.9 (X11/20071117) MIME-Version: 1.0 To: Ken Yamada References: <478F9DE1.9040003@polands.org> <20080118.100120.258124179.ken@tydfam.jp> In-Reply-To: <20080118.100120.258124179.ken@tydfam.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/5493/Thu Jan 17 12:09:26 2008 on corinth.polands.org X-Virus-Status: Clean Cc: freebsd-java@freebsd.org Subject: Re: glassfish compilation on -current (also on 7.0) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 15:05:15 -0000 Ken Yamada wrote: > Doug, > No, I haven't dig in too much on this as there were no responses. > I did get a response from the java.net forums (http://forums.java.net/jive/thread.jspa?messageID=254677𾋕). The instructions have one checkout from the cvs trunk. I changed my cvs checkout command: cvs -d :pserver:guest@cvs.dev.java.net:/cvs co -r SJSAS91_UR1_BRANCH glassfish/bootstrap but now I have several errors on maven boot-strap-all and different build failures. -- Regards, Doug From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 19:27:20 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83A8616A419; Fri, 18 Jan 2008 19:27:20 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from smtp.earth.threerings.net (smtp1.earth.threerings.net [64.127.109.108]) by mx1.freebsd.org (Postfix) with ESMTP id 44B1913C45D; Fri, 18 Jan 2008 19:27:20 +0000 (UTC) (envelope-from landonf@threerings.net) Received: from [192.168.54.11] (timor.sea.earth.threerings.net [192.168.54.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: landonf) by smtp.earth.threerings.net (Postfix) with ESMTP id 7C1E761E47; Fri, 18 Jan 2008 11:27:19 -0800 (PST) In-Reply-To: <20080118042713.GR99258@elvis.mu.org> References: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> <478FFC91.4050508@elischer.org> <4E316E30-3A6B-4E58-A701-E85389BEC6EE@threerings.net> <20080118013049.GO99258@elvis.mu.org> <479029C2.7020404@elischer.org> <20080118042713.GR99258@elvis.mu.org> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-4--961062185" Message-Id: Content-Transfer-Encoding: 7bit From: Landon Fuller Date: Fri, 18 Jan 2008 11:27:17 -0800 To: Alfred Perlstein X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.753) Cc: ivo@scito.com, nate@yogotech.com, davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org, Daniel Eischen , Julian Elischer Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 19:27:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-4--961062185 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Jan 17, 2008, at 20:27, Alfred Perlstein wrote: > * Julian Elischer [080117 20:20] wrote: >> Alfred Perlstein wrote: >>> * Landon Fuller [080117 17:13] wrote: >>>> On Jan 17, 2008, at 17:10, Julian Elischer wrote: >>>> >>>> I gather it is the PARENT that hangs here? >>>> >>>> Parent continues, the child hangs in fork(). >>> >>> Julian, is this happening in FreeBSD or in IronportBSD? >> >> FreeBSD 6.3 >> >> nothing to do with IronPort. > > Then very likely to do with the uncommitted patch from either myself > or from DE. Hey Alfred, Which patch(es) are you thinking of? -landonf --Apple-Mail-4--961062185 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHkP2VlplZCE/15mMRAqdZAJ9vnKbb/PwUe/U0G9Bd5sQ82U53WgCdFf3W +nx42DUoJ9fc9Yhh8UaejNU= =aQj6 -----END PGP SIGNATURE----- --Apple-Mail-4--961062185-- From owner-freebsd-java@FreeBSD.ORG Fri Jan 18 21:46:34 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 568C816A417; Fri, 18 Jan 2008 21:46:34 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id DFAE613C45D; Fri, 18 Jan 2008 21:46:33 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.14.2/jtpda-5.4) with ESMTP id m0ILD3nh038427 ; Fri, 18 Jan 2008 22:13:08 +0100 (CET) X-Ids: 164 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.13.3/jtpda-5.2) with ESMTP id m0ILD2Ec007070 ; Fri, 18 Jan 2008 22:13:02 +0100 (MET) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.13.3/8.13.1/Submit) id m0ILD1Oc007067; Fri, 18 Jan 2008 22:13:01 +0100 (MET) (envelope-from arno) To: Landon Fuller References: <200711301716.lAUHGEV1064334@repoman.freebsd.org> <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> From: "Arno J. Klaassen" Date: 18 Jan 2008 22:13:01 +0100 In-Reply-To: <90584F61-91FE-446E-978E-FD234553E8FC@threerings.net> Message-ID: Lines: 83 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (shiva.jussieu.fr [134.157.0.164]); Fri, 18 Jan 2008 22:13:08 +0100 (CET) X-Virus-Scanned: ClamAV 0.92/5495/Fri Jan 18 18:03:36 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at shiva.jussieu.fr with ID 4791165F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Cc: nate@yogotech.com, ivo@scito.com, Daniel Eischen , davidxu@freebsd.org, java@freebsd.org, julian@freebsd.org Subject: Re: cvs commit: src/lib/libkse/thread thr_kern.c X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2008 21:46:34 -0000 Hello, >LF On Dec 2, 2007, at 09:31, Arno J. Klaassen wrote: >LF > For info, the attached patch, which partially reverts mfc of rev 1.286 >LF > of kern_fork.c, seems to work as well (without the above patch to >LF > be clear), >LF I just upgraded our 8-core build server from pre-november 6-STABLE to >LF 6.3-RELEASE, and ran into this issue, causing our fork-heavy builder >LF processes to lock up regularly. >LF Your suggested patch (reverting the 1.286 MFC to sys/kern/ >LF kern_fork.c) allows our builds to run to completion; Bon, I can just say that the box of my problem is a heavily used production server, running flawlessly, and uninterrupted, since the end of November with the kern_fork.c partial revert. It doesn't seem to hurt or disrupt anything else (I use). > JE .. the reason it was changed was that the > JE previous code results in heavily loaded threaded processes that > JE fork, hanging in indefinite lockups IN THE KERNEL. Eventually > JE the whole machine would become unuseable. In particular when > JE there is NFS being used but in other situations too. SO I'm > JE damned if I do and damned if I don't on this. maybe; we almost exclusively (now) use FreeBSD for Java + NFS (some vestiges of C[++] resisting); I only got this problem on 2X2-smp RELENG_6, not on RELENG[67] UP or 1x2 SMP; I had a 'similar' problem in 2x2-SMp RELENG_7 with was bandaided with rev 1.128 of lib/libkse/thread/thr_kern. JE> > please do a ktrace of the program and send that to me JE> > JE> Here's my guess as to what is happening: JE> thos is not based on code.. JE> JE> thread 1 calls the dummy fork(3) JE> thread 2 calls the dummy fork(3) JE> thread 1 calls fork(2), (the syscall, from within the dummy fork) JE> thread2 calls fork(2) (the real one in the kernel) JE> thread 1 proceeds JE> thread 2 blocks on a VM lock until thread 1 completes JE> kernel duplicates the memory space JE > thread 1 returns from fork(2) JE > thread 1 takes out mutex X inside dummy fork(3) JE> thread 2 proceeeds in the kernel on forking. JE> kernel duplicates the memory space (including mutex X) JE > thread 2 returns from kernel and looks for mutex X JE > thread 2 in client tries to take out mutex X inside dummy fork(3) and JE > waits. JE > thread 1 releases mutex X JE > thread 2 proceeeds JE > ================================ JE > in child1 thread1 runs fine. JE > in child2 thread2 waits for thread 1 to drop the mutex JE> (there is no thread1) [ .. alternatif .. ] DE > I suppose it is malloc() that is getting into an inconsistent DE > state in the child. I'm not qualified for the FreeBSD internals, though both sound plausible to me in the sense that the thread-library does not seem to matter : easy to provoke with libpthread on RELENG_6, just a bit less easy to provoke with libthr on RELENG_6 (see PR 116667 and 166668), harder to provoke with libpthread on RELENG_7 (with above band-aid sufficient for me to not be able to reproduce it again) and /me unable to provoke it with libthr on RELENG_7. Hope this helps tot get a clue Best regards, Arno From owner-freebsd-java@FreeBSD.ORG Sat Jan 19 06:27:54 2008 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B164F16A418; Sat, 19 Jan 2008 06:27:54 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7A9F313C45D; Sat, 19 Jan 2008 06:27:54 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0J6Rsmb068671; Sat, 19 Jan 2008 06:27:54 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0J6RsFJ068667; Sat, 19 Jan 2008 06:27:54 GMT (envelope-from linimon) Date: Sat, 19 Jan 2008 06:27:54 GMT Message-Id: <200801190627.m0J6RsFJ068667@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/119732: java/linux-sun-jre16: linux-sun-jre16 plugin doesn't work with linux-seamonkey X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 06:27:54 -0000 Synopsis: java/linux-sun-jre16: linux-sun-jre16 plugin doesn't work with linux-seamonkey Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jan 19 06:27:08 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=119732 From owner-freebsd-java@FreeBSD.ORG Sat Jan 19 15:13:33 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A388716A475 for ; Sat, 19 Jan 2008 15:13:33 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 3D03813C4E1 for ; Sat, 19 Jan 2008 15:13:33 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so149754nfb.33 for ; Sat, 19 Jan 2008 07:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=wCOefhHXbV/6FLNnH1K+koEIl2nhd5rqJUKagPX5EUY=; b=AMSIXEK4hMaEhe4yA8v1DfIMtIPadM+OjLpE4mQtLIXQMEuxDAWSEohOI8ZBtmE8WxIRrqWVNpJHKVgpXaY8CvPhXwuL5PAF7FC6pM6MrtZkT737FctsMvwITqKHnlgpWEoTLfuKEjf1gxj3Lj3HsB8iIULwJIMtn5PmwC3qBx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=i6e4MsQ1+S/77qO/N6UokYWyRPU79JIVlCJwi0eQjDbfAYlFmyvftrmD1kg8tZe3J6Ek1HO46//2LwVU3fSgn0GcgmdhMv1X/tJ2TQ7Z/R5YHWA32IkP7Nk/2LKSB4D/Hq4tT+eSYICO7qzaINrfmFTv3/nvN6BD5zvYHAhFwyE= Received: by 10.78.185.15 with SMTP id i15mr6607661huf.15.1200755611541; Sat, 19 Jan 2008 07:13:31 -0800 (PST) Received: from self.rene-ladan.nl ( [77.163.174.49]) by mx.google.com with ESMTPS id k9sm1051469nfh.37.2008.01.19.07.13.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 19 Jan 2008 07:13:30 -0800 (PST) Message-ID: <47921398.6060802@gmail.com> Date: Sat, 19 Jan 2008 16:13:28 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.9 (X11/20071229) MIME-Version: 1.0 To: Greg Lewis References: <47828827.5080505@gmail.com> <20080107205815.GA45501@misty.eyesbeyond.com> <4782BE95.3000801@gmail.com> <4782C25E.9050503@gmail.com> In-Reply-To: <4782C25E.9050503@gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: java@freebsd.org Subject: Re: jdks compatible with argouml? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 15:13:33 -0000 Rene Ladan schreef: > Rene Ladan schreef: >> Greg Lewis schreef: >>> On Mon, Jan 07, 2008 at 09:14:31PM +0100, Rene Ladan wrote: >>>> Hi, >>>> >>>> while the website reports that devel/argouml (which I maintain) needs at least >>>> JDK 1.4, I've found this: >>>> >>>> FreeBSD | JDK | works? >>>> 7.0-B4 | diablo-15 | no (exits after splash screen with error code 1 IIRC) >>>> 7.0-B4 | jdk16 | yes >>>> 8.0-CUR | diablo-15 | no (same problem) >>>> 8.0-CUR | jdk16 | yes >>>> >>>> This is all on a dualcore i386 box. The port currently requires jdk1.4 (any vendor/os), >>>> but maybe the people on this list can give some feedback to determine a stricter/better >>>> requirement? >>> Try it with jdk15 instead of diablo-jdk15. Trying jdk14 is going to be >>> painful since it doesn't compile with the version of gcc used by 7.x. >>> >> argouml runs fine with jdk15 bootstrapped with diablo-jdk15, jdk16 was also bootstrapped >> with diablo-jdk15. Linux emulation is the default 2.4.2, with linux_base-fc4_10 and >> linux-xorg-libs-6.8.2_5 installed. >> >> So FreeBSD 7.0-BETA4 + jdk15 also works. >> >> As java/jdk14 is BROKEN for FreeBSD 7+, how about testing java/linux-sun-jdk14 instead? >> > I can install linux-sun-jdk14 on my box and show its version, but argouml won't start at > all complaining that the default stack size (40MB ?) is too small. Changing the startup > script from > > JAVA_VERSION="1.4+" "/usr/local/bin/java" -jar "/usr/local/share/argouml/argouml.jar" "$@" > > to > > JAVA_VERSION="1.4" "/usr/local/bin/java" -Xss160M -jar "/usr/local/share/argouml/argouml.jar" "$@" > ^ > | > force selection of linux-sun-jdk14 > > > (or -Xss160m) doesn't work either. > Would it be sensible to change devel/argouml to require freebsd/linux jdk1.5+ ? Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Sat Jan 19 15:29:37 2008 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C8C16A41A for ; Sat, 19 Jan 2008 15:29:37 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.ipv6.droso.net [IPv6:2001:6c8:6:c:206:5bff:fef8:267d]) by mx1.freebsd.org (Postfix) with ESMTP id 03F7A13C4D9 for ; Sat, 19 Jan 2008 15:29:37 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id CC4331CC34; Sat, 19 Jan 2008 16:29:35 +0100 (CET) Date: Sat, 19 Jan 2008 16:29:35 +0100 From: Erwin Lansing To: java@FreeBSD.org Message-ID: <20080119152935.GU1331@droso.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1C2QhcYtVTlNtC1j" Content-Disposition: inline X-Operating-System: FreeBSD/i386 7.0-BETA2 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: [ports-i386@FreeBSD.org: java3d-1.3.1_2 failed on i386 6] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 15:29:37 -0000 --1C2QhcYtVTlNtC1j Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable FYI; can you please investigate and/or report to the developers? If you are already aware of this problem but do not yet have a fix, please mark the port BROKEN in the appropriate case, so that users do not unexpectedly encounter it. See http://pointyhat.freebsd.org for the full log. Thanks, -erwin ----- Forwarded message from User Ports-i386 ----- Date: Sat, 19 Jan 2008 13:36:16 GMT =46rom: User Ports-i386 To: kris@FreeBSD.org, linimon@FreeBSD.org, erwin@FreeBSD.org, cvs@oook.cz Subject: java3d-1.3.1_2 failed on i386 6 You can also find this build log at http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.6.2008011823/java= 3d-1.3.1_2.log building java3d-1.3.1_2 on gohan31.freebsd.org in directory /x/tmp/6/chroot/9 building for: 6.3-STABLE i386 maintained by: java@FreeBSD.org port directory: /usr/ports/java/java3d build started at Sat Jan 19 13:34:40 UTC 2008 FETCH_DEPENDS=3D PATCH_DEPENDS=3D EXTRACT_DEPENDS=3D BUILD_DEPENDS=3D RUN_DEPENDS=3Dcompositeproto-0.4.tbz damageproto-1.1.0_2.tbz diablo-jdk-1.5= =2E0.07.01_9.tbz expat-2.0.0_1.tbz fixesproto-4.0.tbz fontcacheproto-0.1.2.= tbz fontconfig-2.4.2_2,1.tbz fontsproto-2.0.2.tbz freetype2-2.3.5.tbz input= proto-1.4.2.1.tbz javavmwrapper-2.3.tbz kbproto-1.0.3.tbz libFS-1.0.0.tbz l= ibICE-1.0.4,1.tbz libSM-1.0.3,1.tbz libX11-1.1.3,1.tbz libXScrnSaver-1.1.2.= tbz libXTrap-1.0.0.tbz libXau-1.0.3_2.tbz libXaw-1.0.4,1.tbz libXcomposite-= 0.4.0,1.tbz libXcursor-1.1.9.tbz libXdamage-1.1.1.tbz libXdmcp-1.0.2.tbz li= bXevie-1.0.2.tbz libXext-1.0.3,1.tbz libXfixes-4.0.3.tbz libXfont-1.3.1_1,1= =2Etbz libXfontcache-1.0.4.tbz libXft-2.1.12.tbz libXi-1.1.3,1.tbz libXiner= ama-1.0.2,1.tbz libXmu-1.0.3,1.tbz libXp-1.0.0,1.tbz libXpm-3.5.7.tbz libXp= rintAppUtil-1.0.1.tbz libXprintUtil-1.0.1.tbz libXrandr-1.2.2.tbz libXrende= r-0.9.4.tbz libXres-1.0.3_2.tbz libXt-1.0.5.tbz libXtst-1.0.3.tbz libXv-1.0= =2E3,1.tbz libXvMC-1.0.4.tbz libXxf86dga-1.0.2.tbz libXxf86misc-1.0.1.tbz l= ibXxf86vm-1.0.1.tbz lib dmx-1.0.2.tbz libfontenc-1.0.4.tbz liboldX-1.0.1.tbz libxkbfile-1.0.4.tbz = libxkbui-1.0.2.tbz linuxpluginwrapper-20051113_8.tbz pixman-0.9.6.tbz pkg-c= onfig-0.22_1.tbz printproto-1.0.3.tbz randrproto-1.2.1.tbz recordproto-1.13= =2E2.tbz renderproto-0.9.3.tbz scrnsaverproto-1.1.0.tbz trapproto-3.4.3.tbz= videoproto-2.2.2.tbz xextproto-7.0.2.tbz xf86dgaproto-2.0.3.tbz xf86miscpr= oto-0.9.2.tbz xf86vidmodeproto-2.2.2.tbz xineramaproto-1.1.2.tbz xorg-libra= ries-7.3_1.tbz xproto-7.0.10_1.tbz xtrans-1.0.4.tbz prefixes: LOCALBASE=3Dusr/local X11BASE=3Dusr/local add_pkg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D> java3d-sdk-1.3.1-linux-i386.bin doesn't seem to exist in /tmp/distfile= s/. =3D> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/port= s/distfiles/. fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/java3d-sdk-= 1.3.1-linux-i386.bin: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/ports= /distfiles/. fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/ports/distfiles/java3d-sdk-1= =2E3.1-linux-i386.bin: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://ftp.tux.org/pub/java/java3d/1.3.1/i386/= fcs/. fetch: ftp://ftp.tux.org/pub/java/java3d/1.3.1/i386/fcs/java3d-sdk-1.3.1-li= nux-i386.bin: Connection refused =3D> Attempting to fetch from ftp://metalab.unc.edu/pub/linux/devel/lang/ja= va/blackdown.org/java3d/1.3.1/i386/fcs/. fetch: transfer timed out =3D> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/port= s/distfiles/. fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/java3d-sdk-= 1.3.1-linux-i386.bin: File unavailable (e.g., file not found, no access) =3D> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/ports= /distfiles/. fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/ports/distfiles/java3d-sdk-1= =2E3.1-linux-i386.bin: File unavailable (e.g., file not found, no access) =3D> Couldn't fetch it - please try to retrieve this =3D> port manually into /tmp/distfiles/ and try again. *** Error code 1 Stop in /a/ports/java/java3d. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D build of /usr/ports/java/java3d ended at Sat Jan 19 13:36:56 UTC 2008 ----- End forwarded message ----- --=20 Erwin Lansing http://droso.org (o_ _o) Errare humanum est \\\_\ /_/// erwin@FreeBSD.org perseverare diabolicum <____) (____> erwin@aauug.dk --1C2QhcYtVTlNtC1j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHkhdfqy9aWxUlaZARAoJsAJ9MoL4mdf8t8w9EOSTcDZ1mpFlswACfWzDq HHBBXT9klNiLCrTvdFFqmnE= =8jxF -----END PGP SIGNATURE----- --1C2QhcYtVTlNtC1j-- From owner-freebsd-java@FreeBSD.ORG Sat Jan 19 15:43:15 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C84F16A418 for ; Sat, 19 Jan 2008 15:43:15 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 58A1B13C4E7 for ; Sat, 19 Jan 2008 15:43:15 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.1/8.13.3) with ESMTP id m0JFhD2E015082; Sat, 19 Jan 2008 07:43:14 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.1/8.13.3/Submit) id m0JFhDc5015081; Sat, 19 Jan 2008 07:43:13 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Sat, 19 Jan 2008 07:43:12 -0800 From: Greg Lewis To: Rene Ladan Message-ID: <20080119154312.GA15039@misty.eyesbeyond.com> References: <47828827.5080505@gmail.com> <20080107205815.GA45501@misty.eyesbeyond.com> <4782BE95.3000801@gmail.com> <4782C25E.9050503@gmail.com> <47921398.6060802@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47921398.6060802@gmail.com> User-Agent: Mutt/1.4.2.2i Cc: java@freebsd.org Subject: Re: jdks compatible with argouml? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 15:43:15 -0000 On Sat, Jan 19, 2008 at 04:13:28PM +0100, Rene Ladan wrote: > Rene Ladan schreef: > > Rene Ladan schreef: > >> Greg Lewis schreef: > >>> On Mon, Jan 07, 2008 at 09:14:31PM +0100, Rene Ladan wrote: > >>>> Hi, > >>>> > >>>> while the website reports that devel/argouml (which I maintain) needs at least > >>>> JDK 1.4, I've found this: > >>>> > >>>> FreeBSD | JDK | works? > >>>> 7.0-B4 | diablo-15 | no (exits after splash screen with error code 1 IIRC) > >>>> 7.0-B4 | jdk16 | yes > >>>> 8.0-CUR | diablo-15 | no (same problem) > >>>> 8.0-CUR | jdk16 | yes > >>>> > >>>> This is all on a dualcore i386 box. The port currently requires jdk1.4 (any vendor/os), > >>>> but maybe the people on this list can give some feedback to determine a stricter/better > >>>> requirement? > >>> Try it with jdk15 instead of diablo-jdk15. Trying jdk14 is going to be > >>> painful since it doesn't compile with the version of gcc used by 7.x. > >>> > >> argouml runs fine with jdk15 bootstrapped with diablo-jdk15, jdk16 was also bootstrapped > >> with diablo-jdk15. Linux emulation is the default 2.4.2, with linux_base-fc4_10 and > >> linux-xorg-libs-6.8.2_5 installed. > >> > >> So FreeBSD 7.0-BETA4 + jdk15 also works. > >> > >> As java/jdk14 is BROKEN for FreeBSD 7+, how about testing java/linux-sun-jdk14 instead? > >> > > I can install linux-sun-jdk14 on my box and show its version, but argouml won't start at > > all complaining that the default stack size (40MB ?) is too small. Changing the startup > > script from > > > > JAVA_VERSION="1.4+" "/usr/local/bin/java" -jar "/usr/local/share/argouml/argouml.jar" "$@" > > > > to > > > > JAVA_VERSION="1.4" "/usr/local/bin/java" -Xss160M -jar "/usr/local/share/argouml/argouml.jar" "$@" > > ^ > > | > > force selection of linux-sun-jdk14 > > > > > > (or -Xss160m) doesn't work either. > > Would it be sensible to change devel/argouml to require freebsd/linux jdk1.5+ ? It doesn't seem like it. It starts up fine for me using jdk14 on FreeBSD 6.2. All you're seeing is that jdk14 doesn't compile on 7.x (known issue) and that there is a problem with the Linux emulation layer which is causing linux-sun-jdk14 to not work. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Sat Jan 19 15:51:34 2008 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C53A816A420 for ; Sat, 19 Jan 2008 15:51:34 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 53F2613C457 for ; Sat, 19 Jan 2008 15:51:33 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so805248uge.37 for ; Sat, 19 Jan 2008 07:51:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=Vda+Ix6S08uUW1jvhkAi2+6oS7tP7jCobe7DDjJBekk=; b=ablvHBNIXVp8ik6DxtwJ+uFsvFZCU36WgT9ajhm7k2hpbbR99T3FUJtqRC8h9zNMivwdFn8Mv1t5CGs47XjFgJQQczB2i89oDiJeOX3LVzZIv6rssxuBnC0XQ2MyN9AXhvQ3RI3m4SeYpq9RrnYW+bp1jvYp/YACoavWRJkY0Kc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=VfyaNK/IBcO4jZCQVXad52dzk4Ez+jkzHRsZp/JhsZ8TqQ4r+oCTEFHTlnz+6RuDlimQy0V8BaqefD52tjOsXcSWMIgYsHms51HQdzY2h6UhM1c8tjOUocIgCRr8pZzqGDHNAu0/qpDRHuHizXnMqENWxjsQNmrOXziq8kJ0WGk= Received: by 10.67.116.2 with SMTP id t2mr2353331ugm.62.1200757892592; Sat, 19 Jan 2008 07:51:32 -0800 (PST) Received: from self.rene-ladan.nl ( [77.163.174.49]) by mx.google.com with ESMTPS id q40sm14143159ugc.70.2008.01.19.07.51.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 19 Jan 2008 07:51:31 -0800 (PST) Message-ID: <47921C81.4070202@gmail.com> Date: Sat, 19 Jan 2008 16:51:29 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.9 (X11/20071229) MIME-Version: 1.0 To: Greg Lewis References: <47828827.5080505@gmail.com> <20080107205815.GA45501@misty.eyesbeyond.com> <4782BE95.3000801@gmail.com> <4782C25E.9050503@gmail.com> <47921398.6060802@gmail.com> <20080119154312.GA15039@misty.eyesbeyond.com> In-Reply-To: <20080119154312.GA15039@misty.eyesbeyond.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: java@freebsd.org Subject: Re: jdks compatible with argouml? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 15:51:34 -0000 Greg Lewis schreef: > On Sat, Jan 19, 2008 at 04:13:28PM +0100, Rene Ladan wrote: >> Rene Ladan schreef: >>> Rene Ladan schreef: >>>> Greg Lewis schreef: >>>>> On Mon, Jan 07, 2008 at 09:14:31PM +0100, Rene Ladan wrote: >>>>>> Hi, >>>>>> >>>>>> while the website reports that devel/argouml (which I maintain) needs at least >>>>>> JDK 1.4, I've found this: >>>>>> >>>>>> FreeBSD | JDK | works? >>>>>> 7.0-B4 | diablo-15 | no (exits after splash screen with error code 1 IIRC) >>>>>> 7.0-B4 | jdk16 | yes >>>>>> 8.0-CUR | diablo-15 | no (same problem) >>>>>> 8.0-CUR | jdk16 | yes >>>>>> >>>>>> This is all on a dualcore i386 box. The port currently requires jdk1.4 (any vendor/os), >>>>>> but maybe the people on this list can give some feedback to determine a stricter/better >>>>>> requirement? >>>>> Try it with jdk15 instead of diablo-jdk15. Trying jdk14 is going to be >>>>> painful since it doesn't compile with the version of gcc used by 7.x. >>>>> >>>> argouml runs fine with jdk15 bootstrapped with diablo-jdk15, jdk16 was also bootstrapped >>>> with diablo-jdk15. Linux emulation is the default 2.4.2, with linux_base-fc4_10 and >>>> linux-xorg-libs-6.8.2_5 installed. >>>> >>>> So FreeBSD 7.0-BETA4 + jdk15 also works. >>>> >>>> As java/jdk14 is BROKEN for FreeBSD 7+, how about testing java/linux-sun-jdk14 instead? >>>> >>> I can install linux-sun-jdk14 on my box and show its version, but argouml won't start at >>> all complaining that the default stack size (40MB ?) is too small. Changing the startup >>> script from >>> >>> JAVA_VERSION="1.4+" "/usr/local/bin/java" -jar "/usr/local/share/argouml/argouml.jar" "$@" >>> >>> to >>> >>> JAVA_VERSION="1.4" "/usr/local/bin/java" -Xss160M -jar "/usr/local/share/argouml/argouml.jar" "$@" >>> ^ >>> | >>> force selection of linux-sun-jdk14 >>> >>> >>> (or -Xss160m) doesn't work either. >> Would it be sensible to change devel/argouml to require freebsd/linux jdk1.5+ ? > > It doesn't seem like it. It starts up fine for me using jdk14 on FreeBSD 6.2. > All you're seeing is that jdk14 doesn't compile on 7.x (known issue) and > that there is a problem with the Linux emulation layer which is causing > linux-sun-jdk14 to not work. > Ok, I'll leave it at 1.4+ then. Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-java@FreeBSD.ORG Sat Jan 19 16:31:46 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D5716A418 for ; Sat, 19 Jan 2008 16:31:46 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5EBAB13C46E for ; Sat, 19 Jan 2008 16:31:46 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JGGbb-00081t-Ok for freebsd-java@freebsd.org; Sat, 19 Jan 2008 16:31:39 +0000 Received: from r5j156.net.upc.cz ([86.49.9.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jan 2008 16:31:39 +0000 Received: from gamato by r5j156.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Jan 2008 16:31:39 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: martinko Date: Sat, 19 Jan 2008 17:31:30 +0100 Lines: 47 Message-ID: References: <478A7AFB.8040604@users.sf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: r5j156.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko/20071204 SeaMonkey/1.1.7 In-Reply-To: <478A7AFB.8040604@users.sf.net> Sender: news Cc: freebsd-database@freebsd.org Subject: Re: Oracle SQL Developer X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 16:31:46 -0000 martinko wrote: > Marcin Cieslak wrote: >> martinko wrote: >>> Hallo, >>> >>> Would someone care to port Oracle's SQL Developer to FreeBSD, please ? >>> >>> >>> >>> >>> >>> Many thanks in advance! >> >> There is actually nothing to port, just download the non-JRE platform >> independent zip file, unpack and run "bash sqldeveloper" from >> sqldeveloper/sqldeveloper/bin directory. >> >> Works for me (7.0-BETA3 on amd64, self-compiled sun jdk15 from ports). >> >> --Marcin >> > > > Well, > > I've tried it on 6-STABLE (6.2.something) and it got stuck at splash > screen. Btw, I've noticed output like this in terminal: > > expr: illegal option -- X > usage: expr [-e] expression > expr: illegal option -- D > usage: expr [-e] expression > > Also, all the scripts use #!/bin/bash which doesn't work in FreeBSD. > And I'd like to install it in /usr/local/... so that all users can use > it and it can be included in portaudit checks and checked for upgrades > via ports system, etc etc. > > Thanks, > > Martin > Update: Just upgraded to 6.3 and it started up successfully. As soon as I have access to an Oracle instance I will try some more testing.. M.