Re: Java seg faults on -CURRENT

From: Yousef Raffah <yraffah_at_savola.com>
Date: Wed, 16 Aug 2006 11:59:21 +0300
On Wed, 2006-08-16 at 09:13 +1000, David Nugent wrote:
> Yousef Raffah wrote:
> >> See recent posts on -current concerning library version 
> >> collision/mismatches/version bumping (or lack thereof). My best guess 
> >> given the (lack of) information offered, I'd say it probably a known 
> >> problem. You may need to rebuild most of your ports tree against the 
> >> current world in order to restore functionality fully, certainly in this 
> >> case java and anything it depends on. Threaded apps are more likely to 
> >> hit this problem as concurrent changes there and in libc have not been 
> >> associated with needed version bumps, and java is most definitely one of 
> >> things that it will affect.
> >>     
> > 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.
> >   
> 
> Rebuilding 1.5 and dependencies may also have worked, I strongly suspect 
> that the problem is build/linkage related and not related to the version 
> of java. I have the 1.5 sdk running here without any apparent problems 
> both on -current and 6-stable using eclipse 3.2, cdt and phpeclipse on both.
> 
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 
> and there have been 7 patch updates to the core to date. It has been out 
> of "development" other than Sun's usual patches and updates and changes 
> to the BSD localisation patches done by the FreeBSD java porting team. I 
> am using it on all of my production machines on FreeBSD-6-stable that 
> need a java vm.
> 
> OTOH FreeBSD-current is still in development by definition, that's what 
> "-current" means. It is entirely unsuitable for use on production 
> equipment and the bumps just like this one are likely to happen often if 
> you are tracking it. When running -current you need to have the 
> necessary skills and experience to diagnose and report problems and work 
> around them. It is published as a developer only tree.
> 
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_at_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


Received on Wed Aug 16 2006 - 07:00:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC