Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2012 06:03:52 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        java@freebsd.org
Subject:   After upgrade to java/diablo-jdk-16 & java/icedtea-web, Firefox crashes
Message-ID:  <20120801130352.GR22742@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--kERJ49nCKmnv470N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Running firefox-14.0.1,1 on:

FreeBSD g1-227.catwhisker.org 8.3-STABLE FreeBSD 8.3-STABLE #432 238795M: T=
hu Jul 26 04:18:01 PDT 2012     root@g1-227.catwhisker.org:/common/S1/obj/u=
sr/src/sys/CANARY  i386

I performed my usual daily "portmaster -ad" to upgrade any installed
ports on this laptop.  There were 2:

=3D=3D=3D>>> The following actions will be taken if you choose to proceed:
        Upgrade diablo-jdk-1.6.0.07.02_19 to diablo-jdk-1.6.0.07.02_20
        Upgrade icedtea-web-1.2_2 to icedtea-web-1.2.1

=3D=3D=3D>>> Proceed? y/n [y]=20

During installation of diablo-jdk-1.6.0.07.02_20, I was prompted:

=2E..
# Register the VM
"/usr/local/bin/registervm"  "/usr/local/diablo-jdk1.6.0/bin/java # DiabloC=
affe1
=2E6.0"
registervm: warning: JavaVM "/usr/local/diablo-jdk1.6.0/bin/java" is alread=
y reg
istered
# Install the shared archives and plugin
/usr/bin/env PKG_PREFIX=3D"/usr/local" /bin/sh /common/ports/java/diablo-jd=
k16/wor
k/pkg-install diablo-jdk-1.6.0.07.02_20 POST-INSTALL
You appear to already have a Java browser plugin installed.
Would you like to replace it with the Diablo 1.6.0 plugin? [yes or no]


Since I was under the impression that I was using a Java browser plugin
=66rom IcedTea, I responded:

no
=3D=3D=3D>   Registering installation for diablo-jdk-1.6.0.07.02_20
=3D=3D=3D> SECURITY REPORT:=20
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/diablo-jdk1.6.0/jre/lib/i386/native_threads/libhpi.so
=2E...

After which icedtea-web-1.2_2 was upgraded to icedtea-web-1.2.1 without
incident.


I then tested:

g1-227(8.3-S)[17] date ; firefox -no-remote "http://www.javatester.org/vers=
ion.html"; date
Wed Aug  1 05:47:53 PDT 2012
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b25)
OpenJDK Client VM (build 20.0-b12, mixed mode)
Segmentation fault (core dumped)
Wed Aug  1 05:48:01 PDT 2012
g1-227(8.3-S)[18] file firefox.core
firefox.core: ELF 32-bit LSB core file Intel 80386, version 1 (FreeBSD), Fr=
eeBSD-style, from 'efox'
g1-227(8.3-S)[19] ls -lT firefox.core
-rw-------  1 david  wheel  88444928 Aug  1 05:48:01 2012 firefox.core
g1-227(8.3-S)[20] file `which firefox`
/usr/local/bin/firefox: symbolic link to `/usr/local/lib/firefox/firefox'
g1-227(8.3-S)[21] file -L `which firefox`
/usr/local/bin/firefox: ELF 32-bit LSB executable, Intel 80386, version 1 (=
FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.2 (802514), =
stripped
g1-227(8.3-S)[22] gdb `which firefox` firefox.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols fo=
und)...
Core was generated by `firefox'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libvpx.so.1...(no debugging symbols fou=
nd)...done.
Loaded symbols for /usr/local/lib/libvpx.so.1
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols f=
ound)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)=
=2E..done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...do=
ne.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /common/local/lib/firefox/libmozalloc.so...(no debuggi=
ng symbols found)...done.
Loaded symbols for /common/local/lib/firefox/libmozalloc.so
Reading symbols from /common/local/lib/firefox/libxul.so...(no debugging sy=
mbols found)...done.
Loaded symbols for /common/local/lib/firefox/libxul.so
Reading symbols from /usr/local/lib/libjpeg.so.11...(no debugging symbols f=
ound)...done.
Loaded symbols for /usr/local/lib/libjpeg.so.11
Reading symbols from /usr/local/lib/libpng15.so.15...(no debugging symbols =
found)...done.
Loaded symbols for /usr/local/lib/libpng15.so.15
Reading symbols from /usr/local/lib/libffi.so.5...done.
Loaded symbols for /usr/local/lib/libffi.so.5
Reading symbols from /usr/local/lib/nss/libssl3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libssl3.so.1
Reading symbols from /usr/local/lib/nss/libsmime3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libsmime3.so.1
Reading symbols from /usr/local/lib/nss/libnss3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libnss3.so.1
Reading symbols from /usr/local/lib/nss/libnssutil3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libnssutil3.so.1
Reading symbols from /usr/local/lib/libcairo.so.2...done.
Loaded symbols for /usr/local/lib/libcairo.so.2
Reading symbols from /usr/local/lib/libpixman-1.so.9...done.
Loaded symbols for /usr/local/lib/libpixman-1.so.9
Reading symbols from /usr/local/lib/libfreetype.so.9...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libX11.so.6...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /usr/local/lib/libXrender.so.1...done.
Loaded symbols for /usr/local/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libsqlite3.so.8...done.
Loaded symbols for /usr/local/lib/libsqlite3.so.8
Reading symbols from /lib/libz.so.5...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /usr/local/lib/libhunspell-1.3.so.0...done.
Loaded symbols for /usr/local/lib/libhunspell-1.3.so.0
Reading symbols from /usr/local/lib/event2/libevent-2.0.so.6...done.
Loaded symbols for /usr/local/lib/event2/libevent-2.0.so.6
Reading symbols from /usr/local/lib/libplds4.so.1...done.
Loaded symbols for /usr/local/lib/libplds4.so.1
Reading symbols from /usr/local/lib/libplc4.so.1...done.
Loaded symbols for /usr/local/lib/libplc4.so.1
Reading symbols from /usr/local/lib/libnspr4.so.1...done.
Loaded symbols for /usr/local/lib/libnspr4.so.1
Reading symbols from /usr/local/lib/libXext.so.6...done.
Loaded symbols for /usr/local/lib/libXext.so.6
Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libgthread-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /usr/local/lib/libpango-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/local/lib/libgio-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.0
Reading symbols from /usr/local/lib/libXinerama.so.1...done.
Loaded symbols for /usr/local/lib/libXinerama.so.1
Reading symbols from /usr/local/lib/libXi.so.6...done.
Loaded symbols for /usr/local/lib/libXi.so.6
Reading symbols from /usr/local/lib/libXrandr.so.2...done.
Loaded symbols for /usr/local/lib/libXrandr.so.2
Reading symbols from /usr/local/lib/libXcursor.so.1...done.
Loaded symbols for /usr/local/lib/libXcursor.so.1
Reading symbols from /usr/local/lib/libXfixes.so.3...done.
Loaded symbols for /usr/local/lib/libXfixes.so.3
Reading symbols from /usr/local/lib/libXcomposite.so.1...done.
Loaded symbols for /usr/local/lib/libXcomposite.so.1
Reading symbols from /usr/local/lib/libXdamage.so.1...done.
Loaded symbols for /usr/local/lib/libXdamage.so.1
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libatk-1.0.so.0...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.0
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libXt.so.6...done.
Loaded symbols for /usr/local/lib/libXt.so.6
Reading symbols from /lib/libkvm.so.5...done.
Loaded symbols for /lib/libkvm.so.5
Reading symbols from /usr/local/lib/libexpat.so.6...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/lib/libbz2.so.4...done.
Loaded symbols for /usr/lib/libbz2.so.4
Reading symbols from /usr/local/lib/libxcb-shm.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-shm.so.0
Reading symbols from /usr/local/lib/libxcb-render.so.0...done.
Loaded symbols for /usr/local/lib/libxcb-render.so.0
Reading symbols from /usr/local/lib/libxcb.so.2...done.
Loaded symbols for /usr/local/lib/libxcb.so.2
Reading symbols from /usr/local/lib/libXau.so.6...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/local/lib/libpthread-stubs.so.0...done.
Loaded symbols for /usr/local/lib/libpthread-stubs.so.0
Reading symbols from /usr/lib/librpcsvc.so.5...done.
Loaded symbols for /usr/lib/librpcsvc.so.5
Reading symbols from /usr/local/lib/libGL.so.1...done.
Loaded symbols for /usr/local/lib/libGL.so.1
Reading symbols from /usr/local/lib/libicui18n.so.48...done.
Loaded symbols for /usr/local/lib/libicui18n.so.48
Reading symbols from /usr/local/lib/libintl.so.9...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/libpcre.so.1...done.
Loaded symbols for /usr/local/lib/libpcre.so.1
Reading symbols from /usr/local/lib/libSM.so.6...done.
Loaded symbols for /usr/local/lib/libSM.so.6
Reading symbols from /usr/local/lib/libICE.so.6...done.
Loaded symbols for /usr/local/lib/libICE.so.6
Reading symbols from /usr/local/lib/libnvidia-tls.so.1...done.
Loaded symbols for /usr/local/lib/libnvidia-tls.so.1
Reading symbols from /usr/local/lib/libnvidia-glcore.so.1...done.
Loaded symbols for /usr/local/lib/libnvidia-glcore.so.1
Reading symbols from /usr/local/lib/libicuuc.so.48...done.
Loaded symbols for /usr/local/lib/libicuuc.so.48
Reading symbols from /usr/local/lib/libicudata.so.48...done.
Loaded symbols for /usr/local/lib/libicudata.so.48
Reading symbols from /common/local/lib/firefox/libxpcom.so...done.
Loaded symbols for /common/local/lib/firefox/libxpcom.so
Reading symbols from /usr/local/lib/libgnomeui-2.so.0...done.
Loaded symbols for /usr/local/lib/libgnomeui-2.so.0
Reading symbols from /usr/local/lib/libbonoboui-2.so.0...done.
Loaded symbols for /usr/local/lib/libbonoboui-2.so.0
Reading symbols from /usr/local/lib/libgnomecanvas-2.so.0...done.
Loaded symbols for /usr/local/lib/libgnomecanvas-2.so.0
Reading symbols from /usr/local/lib/libgailutil.so.18...done.
Loaded symbols for /usr/local/lib/libgailutil.so.18
Reading symbols from /usr/local/lib/libgnome-2.so.0...done.
Loaded symbols for /usr/local/lib/libgnome-2.so.0
Reading symbols from /usr/local/lib/libcanberra.so.0...done.
Loaded symbols for /usr/local/lib/libcanberra.so.0
Reading symbols from /usr/local/lib/libvorbisfile.so.6...done.
Loaded symbols for /usr/local/lib/libvorbisfile.so.6
Reading symbols from /usr/local/lib/libvorbis.so.4...done.
Loaded symbols for /usr/local/lib/libvorbis.so.4
Reading symbols from /usr/local/lib/libogg.so.8...done.
Loaded symbols for /usr/local/lib/libogg.so.8
Reading symbols from /usr/local/lib/libltdl.so.7...done.
Loaded symbols for /usr/local/lib/libltdl.so.7
Reading symbols from /usr/local/lib/libart_lgpl_2.so.5...done.
Loaded symbols for /usr/local/lib/libart_lgpl_2.so.5
Reading symbols from /usr/local/lib/libbonobo-2.so.0...done.
Loaded symbols for /usr/local/lib/libbonobo-2.so.0
Reading symbols from /usr/local/lib/libbonobo-activation.so.4...done.
Loaded symbols for /usr/local/lib/libbonobo-activation.so.4
Reading symbols from /usr/local/lib/libORBitCosNaming-2.so.0...done.
Loaded symbols for /usr/local/lib/libORBitCosNaming-2.so.0
Reading symbols from /usr/local/lib/libgnomevfs-2.so.0...done.
Loaded symbols for /usr/local/lib/libgnomevfs-2.so.0
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /usr/local/lib/libdbus-glib-1.so.2...done.
Loaded symbols for /usr/local/lib/libdbus-glib-1.so.2
Reading symbols from /usr/lib/libssl.so.6...done.
Loaded symbols for /usr/lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /lib/libutil.so.8...done.
Loaded symbols for /lib/libutil.so.8
Reading symbols from /usr/local/lib/libgconf-2.so.4...done.
Loaded symbols for /usr/local/lib/libgconf-2.so.4
Reading symbols from /usr/local/lib/libORBit-2.so.0...done.
Loaded symbols for /usr/local/lib/libORBit-2.so.0
Reading symbols from /usr/local/lib/libgnome-keyring.so.0...done.
Loaded symbols for /usr/local/lib/libgnome-keyring.so.0
Reading symbols from /usr/local/lib/libdbus-1.so.3...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.3
Reading symbols from /usr/local/lib/libgcrypt.so.18...done.
Loaded symbols for /usr/local/lib/libgcrypt.so.18
Reading symbols from /usr/local/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/local/lib/libgpg-error.so.0
Reading symbols from /usr/local/lib/libpopt.so.0...done.
Loaded symbols for /usr/local/lib/libpopt.so.0
Reading symbols from /common/local/lib/firefox/components/libbrowsercomps.s=
o...done.
Loaded symbols for /common/local/lib/firefox/components/libbrowsercomps.so
Reading symbols from /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so..=
=2Edone.
Loaded symbols for /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbuf=
loader-png.so...done.
Loaded symbols for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbuflo=
ader-png.so
Reading symbols from /usr/local/lib/nss/libsoftokn3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libsoftokn3.so.1
Reading symbols from /usr/local/lib/nss/libnssdbm3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libnssdbm3.so.1
Reading symbols from /usr/local/lib/nss/libfreebl3.so.1...done.
Loaded symbols for /usr/local/lib/nss/libfreebl3.so.1
Reading symbols from /usr/local/lib/nss/libnssckbi.so...done.
Loaded symbols for /usr/local/lib/nss/libnssckbi.so
Reading symbols from /usr/local/lib/libXss.so.1...done.
Loaded symbols for /usr/local/lib/libXss.so.1
Reading symbols from /common/local/lib/IcedTeaPlugin.so...done.
Loaded symbols for /common/local/lib/IcedTeaPlugin.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2841fc57 in kill () from /lib/libc.so.7
[New Thread 3126bc00 (LWP 100231/firefox)]
[New Thread 312a2b40 (LWP 100229/firefox)]
[New Thread 28504480 (LWP 100228/firefox)]
[New Thread 312a2500 (LWP 100227/firefox)]
[New Thread 306f0640 (LWP 100226/firefox)]
[New Thread 319e4100 (LWP 100225/firefox)]
[New Thread 32c05880 (LWP 100224/firefox)]
[New Thread 306f3480 (LWP 100223/firefox)]
[New Thread 31af7540 (LWP 100221/firefox)]
[New Thread 306f30c0 (LWP 100220/firefox)]
[New Thread 31af63c0 (LWP 100219/firefox)]
[New Thread 306f3c00 (LWP 100218/firefox)]
[New Thread 306f3d40 (LWP 100217/firefox)]
[New Thread 312a3cc0 (LWP 100216/firefox)]
[New Thread 312a3b80 (LWP 100214/firefox)]
[New Thread 312a3180 (LWP 100212/firefox)]
[New Thread 285d72c0 (LWP 100215/firefox)]
[New Thread 30f85fc0 (LWP 100213/firefox)]
[New Thread 28504840 (LWP 100211/firefox)]
[New Thread 285d4fc0 (LWP 100210/firefox)]
[New Thread 285d5240 (LWP 100209/firefox)]
[New Thread 285d59c0 (LWP 100208/firefox)]
[New Thread 285d5b00 (LWP 100207/firefox)]
[New Thread 285d6140 (LWP 100206/firefox)]
[New Thread 285d6280 (LWP 100205/firefox)]
[New Thread 285d63c0 (LWP 100178/firefox)]
[New Thread 28501140 (LWP 100180/initial thread)]
(gdb) bt
#0  0x2841fc57 in kill () from /lib/libc.so.7
#1  0x2841fbb6 in raise () from /lib/libc.so.7
#2  0x289e5439 in XRE_InitChildProcess () from /common/local/lib/firefox/li=
bxul.so
#3  0x2a35f890 in ?? () from /common/local/lib/firefox/libxul.so
(gdb)=20

Hmmm... that doesn't really tell me a whole lot.....


So then I tried "portmaster diablo-jdk-1.6.0.07.02_20" -- this time,
responding "yes" when it asked if I wanted to replace the plugin.

Testing yielded equivalent (as far as I could tell) results.

On the chance that that answer may have had some interaction with
the IcedTea install, I re-installed that ("portmaster icedtea-web-1.2.1");
no effective change (again, as far as I can tell).

I tested on another system (that has not had the Java upgrade;
again, firefox-14.0.1,1, on:

FreeBSD albert.catwhisker.org 8.3-STABLE FreeBSD 8.3-STABLE #552 238795M: T=
hu Jul 26 04:26:58 PDT 2012     root@freebeast.catwhisker.org:/common/S1/ob=
j/usr/src/sys/ALBERT  i386

albert(8.3-S)[4] date ; firefox -no-remote "http://www.javatester.org/versi=
on.html"; date
Wed Aug  1 06:01:19 PDT 2012
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b25)
OpenJDK Client VM (build 20.0-b12, mixed mode)
Wed Aug  1 06:01:38 PDT 2012
albert(8.3-S)[5]=20

It had worked fine -- it had displayed that I was running "Java
Version: 1.6.0_32 from Sun Microsystems Inc." in a pink window.


So... what's wrong, how can I fix it, and what can we do so other
folks don't encounter this?

[Please include me in replies, as I'm not subscribed to -java@.]

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--kERJ49nCKmnv470N
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlAZKTcACgkQmprOCmdXAD1E8QCfRS93P8G6rdtRCuPo09WRH6yf
xacAnRha1zZnWLdt7P0Y+qgwCfS4uknK
=pRqK
-----END PGP SIGNATURE-----

--kERJ49nCKmnv470N--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120801130352.GR22742>