From owner-freebsd-current@FreeBSD.ORG Wed Aug 16 09:00:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 329BB16A4DA for ; Wed, 16 Aug 2006 09:00:02 +0000 (UTC) (envelope-from yraffah@savola.com) Received: from heathrow.savoladns.com (heathrow.savoladns.com [212.12.174.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 9BD1A43D46 for ; Wed, 16 Aug 2006 08:59:54 +0000 (GMT) (envelope-from yraffah@savola.com) Received: from ocs.savola.com (ocs.savola.com [222.22.1.211]) by heathrow.savoladns.com (Postfix) with ESMTP id 0C92E95851 for ; Wed, 16 Aug 2006 11:59:50 +0300 (AST) Received: from 222.22.1.191 by ocs.savola.com with ESMTP id 72395311155718039; Wed, 16 Aug 2006 11:47:19 +0300 From: Yousef Raffah To: freebsd-current@freebsd.org In-Reply-To: <44E25504.2080006@datalinktech.com.au> References: <1155621521.1050.3.camel@redevil.savola.com> <44E16C66.409@datalinktech.com.au> <1155641860.1050.54.camel@redevil.savola.com> <44E25504.2080006@datalinktech.com.au> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-im+htnK+7n6WPDaWMall" Organization: The Savola Group Date: Wed, 16 Aug 2006 11:59:21 +0300 Message-Id: <1155718761.1044.1.camel@redevil.savola.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Subject: Re: Java seg faults on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yraffah@savola.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 09:00:02 -0000 --=-im+htnK+7n6WPDaWMall Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2006-08-16 at 09:13 +1000, David Nugent wrote: > Yousef Raffah wrote: > >> See recent posts on -current concerning library version=20 > >> collision/mismatches/version bumping (or lack thereof). My best guess=20 > >> given the (lack of) information offered, I'd say it probably a known=20 > >> problem. You may need to rebuild most of your ports tree against the=20 > >> current world in order to restore functionality fully, certainly in th= is=20 > >> case java and anything it depends on. Threaded apps are more likely to= =20 > >> hit this problem as concurrent changes there and in libc have not been= =20 > >> associated with needed version bumps, and java is most definitely one = of=20 > >> things that it will affect. > >> =20 > > Thanks for your information. Actually your reply helped me to dig more > > and seek the problem I'm having and it appeared to be because of using > > jdk-1.5, which is still under development, however, downgrading to > > jdk-1.4 helped and it seems like javac is not seg faulting now. > > =20 >=20 > Rebuilding 1.5 and dependencies may also have worked, I strongly suspect=20 > that the problem is build/linkage related and not related to the version=20 > of java. I have the 1.5 sdk running here without any apparent problems=20 > both on -current and 6-stable using eclipse 3.2, cdt and phpeclipse on bo= th. >=20 I have tried to rebuild 1.5 but that did not help, which made me conclude that it is related to libraries or build/linkage. > Java 5 (v 1.5) has been officially released by Sun for some months now=20 > and there have been 7 patch updates to the core to date. It has been out=20 > of "development" other than Sun's usual patches and updates and changes=20 > to the BSD localisation patches done by the FreeBSD java porting team. I=20 > am using it on all of my production machines on FreeBSD-6-stable that=20 > need a java vm. >=20 > OTOH FreeBSD-current is still in development by definition, that's what=20 > "-current" means. It is entirely unsuitable for use on production=20 > equipment and the bumps just like this one are likely to happen often if=20 > you are tracking it. When running -current you need to have the=20 > necessary skills and experience to diagnose and report problems and work=20 > around them. It is published as a developer only tree. >=20 To be very frank, I'm using it on my personal laptop, which means I can bare such hiccups. OTOH, I'm using -CURRENT because acpi was broken on 6.1 for my machine in addition to the fact that I'm a developer to be :) As of now, I have: FreeBSD 7.0-CURRENT #2: Sun Aug 6 10:55:25 AST 2006 yraffah@redevil:/usr/obj/usr/src/sys/GENERIC java -version java version "1.4.2-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p8-root_15_aug_2006_11_24) Java HotSpot(TM) Client VM (build 1.4.2-p8-root_15_aug_2006_11_24, mixed mode) This is the output of my libcheck, where I think I have the problems: Will look into: /bin /lib /sbin /usr/X11R6/bin /usr/X11R6/lib /usr/X11R6/libexec /usr/X11R6/sbin /usr/bin /usr/games /usr/lib /usr/libexec /usr/local/bin /usr/local/lib /usr/local/libexec /usr/local/sbin /usr/sbin Unresolvable link(s) found in: /usr/X11R6/bin/ximian-connector-setup-2.2 libgtk-x11-2.0.so.600 libgdk_pixbuf-2.0.so.600 libglib-2.0.so.600 libgnutls.so.12 libedataserverui-1.2.so.5 libgobject-2.0.so.600 libedataserver-1.2.so.4 libgnomeui-2.so.1000 libedata-book-1.2.so.3 libgconf-2.so.5 libgnome-2.so.1000 libsoup-2.2.so.7 libecal-1.2.so.3 libcamel-provider-1.2.so.4 libedata-cal-1.2.so.3 Unresolvable link(s) found in: /usr/X11R6/libexec/evolution/2.2/evolution-exchange-storage libgtk-x11-2.0.so.600 libgdk_pixbuf-2.0.so.600 libglib-2.0.so.600 libgnutls.so.12 libedataserverui-1.2.so.5 libgal-2.4.so.0 libebook-1.2.so.4 libgobject-2.0.so.600 libgdk-x11-2.0.so.600 libgnomevfs-2.so.1000 libedataserver-1.2.so.4 libgnomeui-2.so.1000 libedata-book-1.2.so.3 libgconf-2.so.5 libgnome-2.so.1000 libsoup-2.2.so.7 libecal-1.2.so.3 libcamel-provider-1.2.so.4 libedata-cal-1.2.so.3 Unresolvable link(s) found in: /usr/local/lib/libvisual/input/input_jack.so libvisual.so.0 Unresolvable link(s) found in: /usr/local/lib/compat/pkg/libgnashbackend.so.0 libSDL_mixer.so.2 Unreferenced library: /lib/libatm.so.3 Unreferenced library: /usr/X11R6/lib/evolution/2.6/libeconduit.so.0 Unreferenced library: /usr/X11R6/lib/libGLw.so.1 Unreferenced library: /usr/X11R6/lib/libImlib.so.5 Unreferenced library: /usr/X11R6/lib/libOSMesa.so.4 Unreferenced library: /usr/X11R6/lib/libUil.so.3 Unreferenced library: /usr/X11R6/lib/libXaw.so.6 Unreferenced library: /usr/X11R6/lib/libXaw.so.7 Unreferenced library: /usr/X11R6/lib/libXevie.so.1 Unreferenced library: /usr/X11R6/lib/libXvMC.so.1 Unreferenced library: /usr/X11R6/lib/libdps.so.1 Unreferenced library: /usr/X11R6/lib/libgconf-gtk-1.so.1 Unreferenced library: /usr/X11R6/lib/libgda-clientcpp.so.0 Unreferenced library: /usr/X11R6/lib/libgdk_pixbuf_xlib.so.2 Unreferenced library: /usr/X11R6/lib/libglut.so.4 Unreferenced library: /usr/X11R6/lib/libgnomecanvaspixbuf.so.1 Unreferenced library: /usr/X11R6/lib/libgstnet-0.10.so.0 Unreferenced library: /usr/X11R6/lib/libgtkhtml-2.so.0 Unreferenced library: /usr/X11R6/lib/libgtksourceview-1.0.so.0 Unreferenced library: /usr/X11R6/lib/libgtkxmhtml.so.5 Unreferenced library: /usr/X11R6/lib/liboldX.so.6 Unreferenced library: /usr/X11R6/lib/libunicode.so.0 Unreferenced library: /usr/X11R6/lib/libzvt.so.5 Unreferenced library: /usr/lib/libarchive.so.2 Unreferenced library: /usr/lib/libc_r.so.6 Unreferenced library: /usr/lib/libg2c.so.2 Unreferenced library: /usr/lib/libgpib.so.1 Unreferenced library: /usr/lib/libhistory.so.6 Unreferenced library: /usr/lib/liblwres.so.10 Unreferenced library: /usr/lib/liblwres.so.3 Unreferenced library: /usr/lib/libmilter.so.3 Unreferenced library: /usr/lib/libobjc.so.2 Unreferenced library: /usr/lib/libthr.so.2 Unreferenced library: /usr/lib/libthread_db.so.2 Unreferenced library: /usr/local/lib/compat/libalias.so.4 Unreferenced library: /usr/local/lib/compat/libarchive.so.1 Unreferenced library: /usr/local/lib/compat/libatm.so.2 Unreferenced library: /usr/local/lib/compat/libbegemot.so.1 Unreferenced library: /usr/local/lib/compat/libbluetooth.so.1 Unreferenced library: /usr/local/lib/compat/libbsnmp.so.2 Unreferenced library: /usr/local/lib/compat/libbz2.so.1 Unreferenced library: /usr/local/lib/compat/libc_r.so.5 Unreferenced library: /usr/local/lib/compat/libcalendar.so.2 Unreferenced library: /usr/local/lib/compat/libcam.so.2 Unreferenced library: /usr/local/lib/compat/libdevinfo.so.2 Unreferenced library: /usr/local/lib/compat/libdialog.so.4 Unreferenced library: /usr/local/lib/compat/libedit.so.4 Unreferenced library: /usr/local/lib/compat/libfetch.so.3 Unreferenced library: /usr/local/lib/compat/libform.so.2 Unreferenced library: /usr/local/lib/compat/libftpio.so.5 Unreferenced library: /usr/local/lib/compat/libg2c.so.1 Unreferenced library: /usr/local/lib/compat/libgeom.so.2 Unreferenced library: /usr/local/lib/compat/libgnuregex.so.2 Unreferenced library: /usr/local/lib/compat/libgpib.so.0 Unreferenced library: /usr/local/lib/compat/libhdb.so.7 Unreferenced library: /usr/local/lib/compat/libhistory.so.5 Unreferenced library: /usr/local/lib/compat/libipx.so.2 Unreferenced library: /usr/local/lib/compat/libkadm5clnt.so.7 Unreferenced library: /usr/local/lib/compat/libkadm5srv.so.7 Unreferenced library: /usr/local/lib/compat/libkafs5.so.7 Unreferenced library: /usr/local/lib/compat/libkiconv.so.1 Unreferenced library: /usr/local/lib/compat/libmagic.so.1 Unreferenced library: /usr/local/lib/compat/libmenu.so.2 Unreferenced library: /usr/local/lib/compat/libmilter.so.2 Unreferenced library: /usr/local/lib/compat/libmp.so.4 Unreferenced library: /usr/local/lib/compat/libncp.so.1 Unreferenced library: /usr/local/lib/compat/libngatm.so.1 Unreferenced library: /usr/local/lib/compat/libpanel.so.2 Unreferenced library: /usr/local/lib/compat/libpcap.so.3 Unreferenced library: /usr/local/lib/compat/libpthread.so.1 Unreferenced library: /usr/local/lib/compat/librpcsvc.so.2 Unreferenced library: /usr/local/lib/compat/libsdp.so.1 Unreferenced library: /usr/local/lib/compat/libsmb.so.1 Unreferenced library: /usr/local/lib/compat/libthr.so.1 Unreferenced library: /usr/local/lib/compat/libthread_db.so.1 Unreferenced library: /usr/local/lib/compat/libufs.so.2 Unreferenced library: /usr/local/lib/compat/libugidfw.so.1 Unreferenced library: /usr/local/lib/compat/libusbhid.so.1 Unreferenced library: /usr/local/lib/compat/libvgl.so.3 Unreferenced library: /usr/local/lib/compat/libwrap.so.3 Unreferenced library: /usr/local/lib/compat/libxpg4.so.3 Unreferenced library: /usr/local/lib/compat/pkg/libMagick++.so.9 Unreferenced library: /usr/local/lib/compat/pkg/libadns.so.12 Unreferenced library: /usr/local/lib/compat/pkg/libanjuta_clsGen.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libanjuta_patch.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libanjuta_sample1.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libanonymous.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libbase.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libbrl.so.5 Unreferenced library: /usr/local/lib/compat/pkg/libcrammd5.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libdigestmd5.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libe.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libfftw3.so.3 Unreferenced library: /usr/local/lib/compat/pkg/libfftw3_threads.so.3 Unreferenced library: /usr/local/lib/compat/pkg/libgeometry.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libgle.so.3 Unreferenced library: /usr/local/lib/compat/pkg/libgnashasobjs.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libgnashbackend.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libgnashgeo.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libgnashserver.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libgphoto2_port.so.5 Unreferenced library: /usr/local/lib/compat/pkg/libgssapiv2.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libgtop-2.0.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libke.so.5 Unreferenced library: /usr/local/lib/compat/pkg/libkopete_msn_shared.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libkopete_oscar.so.2 Unreferenced library: /usr/local/lib/compat/pkg/liblogin.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libmDNSResponder.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libmag.so.5 Unreferenced library: /usr/local/lib/compat/pkg/libnotify.so.1 Unreferenced library: /usr/local/lib/compat/pkg/libntlm.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libotp.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libplain.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libsasldb.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libserver.so.0 Unreferenced library: /usr/local/lib/compat/pkg/libsrlow.so.5 Unreferenced library: /usr/local/lib/compat/pkg/libsrs.so.5 Unreferenced library: /usr/local/lib/compat/pkg/libtasn1.so.2 Unreferenced library: /usr/local/lib/compat/pkg/libtheora.so.1 Unreferenced library: /usr/local/lib/compat/pkg/libtotem-plparser.so.1 Unreferenced library: /usr/local/lib/libFLAC++.so.5 Unreferenced library: /usr/local/lib/libMagick++.so.10 Unreferenced library: /usr/local/lib/libOggFLAC++.so.2 Unreferenced library: /usr/local/lib/libartscbackend.so.0 Unreferenced library: /usr/local/lib/libartsdsp.so.0 Unreferenced library: /usr/local/lib/libartsdsp_st.so.0 Unreferenced library: /usr/local/lib/libartsgslplayobject.so.0 Unreferenced library: /usr/local/lib/libartswavplayobject.so.0 Unreferenced library: /usr/local/lib/libasprintf.so.0 Unreferenced library: /usr/local/lib/libavcodec.so.1 Unreferenced library: /usr/local/lib/libavformat.so.1 Unreferenced library: /usr/local/lib/libcdio++.so.0 Unreferenced library: /usr/local/lib/libcharset.so.1 Unreferenced library: /usr/local/lib/libcrack.so.1 Unreferenced library: /usr/local/lib/libdb41_cxx.so.1 Unreferenced library: /usr/local/lib/libdb4_cxx.so.0 Unreferenced library: /usr/local/lib/libdb_cxx-4.2.so.2 Unreferenced library: /usr/local/lib/libdha.so.1 Unreferenced library: /usr/local/lib/libdns_sd.so.1 Unreferenced library: /usr/local/lib/libdrm.so.2 Unreferenced library: /usr/local/lib/libdvdcss.so.2 Unreferenced library: /usr/local/lib/libesddsp.so.2 Unreferenced library: /usr/local/lib/libfame-0.9.so.1 Unreferenced library: /usr/local/lib/libfreebl3.so.1 Unreferenced library: /usr/local/lib/libgamin-1.so.1 Unreferenced library: /usr/local/lib/libgccpp.so.1 Unreferenced library: /usr/local/lib/libgettextpo.so.1 Unreferenced library: /usr/local/lib/libglibmm_generate_extra_defs-2.4.so.1 Unreferenced library: /usr/local/lib/libgnomecups-1.0.so.1 Unreferenced library: /usr/local/lib/libgnutls-extra.so.15 Unreferenced library: /usr/local/lib/libgnutls-openssl.so.13 Unreferenced library: /usr/local/lib/libgnutls-openssl.so.15 Unreferenced library: /usr/local/lib/libgpgme-pthread.so.15 Unreferenced library: /usr/local/lib/libguile-srfi-srfi-13-14-v-1.so.1 Unreferenced library: /usr/local/lib/libguile-srfi-srfi-4-v-1.so.1 Unreferenced library: /usr/local/lib/libguilereadline-v-12.so.15 Unreferenced library: /usr/local/lib/libindex.so.0 Unreferenced library: /usr/local/lib/libiso9660++.so.0 Unreferenced library: /usr/local/lib/libkdesasl.so.3 Unreferenced library: /usr/local/lib/libkgantt.so.0 Unreferenced library: /usr/local/lib/libkjava.so.1 Unreferenced library: /usr/local/lib/libkmdi.so.1 Unreferenced library: /usr/local/lib/libkmdi2.so.1 Unreferenced library: /usr/local/lib/libkmedia2.so.1 Unreferenced library: /usr/local/lib/libksba.so.15 Unreferenced library: /usr/local/lib/libldap_r-2.2.so.7 Unreferenced library: /usr/local/lib/liblinc.so.1 Unreferenced library: /usr/local/lib/libnssckbi.so.1 Unreferenced library: /usr/local/lib/libpcrecpp.so.0 Unreferenced library: /usr/local/lib/libpisync.so.0 Unreferenced library: /usr/local/lib/libportaudio.so.0 Unreferenced library: /usr/local/lib/libpostproc.so.1 Unreferenced library: /usr/local/lib/libpspell.so.16 Unreferenced library: /usr/local/lib/libpython2.4.so.1 Unreferenced library: /usr/local/lib/libss.so.1 Unreferenced library: /usr/local/lib/libtag_c.so.0 Unreferenced library: /usr/local/lib/libtiffxx.so.4 Unreferenced library: /usr/local/lib/libudf.so.0 Unreferenced library: /usr/local/lib/libuninameslist-fr.so.0 Unreferenced library: /usr/local/lib/libuninameslist.so.0 Unreferenced library: /usr/local/lib/libusbpp-0.1.so.8 Unreferenced library: /usr/local/lib/libvgagl.so.1 Unreferenced library: /usr/local/lib/libx11globalcomm.so.1 --=-im+htnK+7n6WPDaWMall Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE4t5pqG4sHeIU6qURAkgSAKDjyho2EtcUy8SDFJN/RnPcnNOLwQCaAnpE /qEXNfl/2L4CTxFaP/hp8E0= =hVl6 -----END PGP SIGNATURE----- --=-im+htnK+7n6WPDaWMall--