RE: BlackDown crashed 64bit Firefox - consistently - in both Fedora and Ubuntu

Jan Petersen <[email protected]> Mon, 8 Jan 2007 22:02:42 -0600
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
Hi

Thanks for your reply.

I did'nt expect that, since the 64bit plugin page on Mozilla refers to the =
blackdown project for a plugin (http://plugindoc.mozdev.org/linux-amd64.htm=
l#java-blackdown)
Besides the file I downloaded was named: j2re-1.4.2-02-linux-amd64.bin from=
 the AMD64 directory on the blackdown mirror server.

So I was under the impression that it was a 64 bit version. Besides if it's=
 a 32 bit version, then why not use the original jre direct from Sun?
(Sorry if this is a stupid qustion, I just dont' get why I suddenly are hav=
ing problems after installing Fedora and Ubuntu - I've used a 64 bit operat=
ing system on this laptop for 2 years without running into this problem bef=
ore).

Best Regards
Jan Petersen


----------------------------------------
> Date: Mon, 8 Jan 2007 21:38:19 -0500
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: BlackDown crashed 64bit Firefox - consistently - in both Fed=
ora and Ubuntu
>=20
> The java plugin in 32 bit, and it cannot run on a 64 bit firefox build.=20
>   Use a 32 bit firefox build (like what you download directly from=20
> mozilla.org)
>=20
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=3D4802695
>=20
> Jan Petersen wrote:
> > Guys, I need your help
> >=20
> > I have both Fedora Core 6 and Ubuntu Edgy installed on my 64bit laptop.=
 Both in the latest flavors with all patches installed.
> > But my Firefox 2 pukes every time I come across a web page with any jav=
a flavor on it. In but Ubuntu and Fedora.
> > It crashes so fast not even the smoke has time to escape. If I've ever =
seen the Linux equivalent to the blue screen of death, then this is it - al=
though it's only Firefox that dies.
> > But still not being able to pass by any page with some java on it, is a=
s pain. It basically forces me to boot up in Win$lows when ever I need to b=
rowser the internet.
> >=20
> > I have attach the last bit of a stack trace that resulted from running:
> > $strace -o stack_firefox.txt firefox http://java.sun.com/products/plugi=
n/1.4/demos/plugin/applets/Clock/example1.html
> >=20
> > The console output is usually as follows:
> > Java process: caught exception from sun.plugin.navig.motif.Plugin.start
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm=
/j2re1.4.2/lib/amd64/libawt.so: libXp.so.6: cannot open shared object file:=
 No such file or directory
> >         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> >         at java.lang.ClassLoader.loadLibrary0(Unknown Source)
> >         at java.lang.ClassLoader.loadLibrary(Unknown Source)
> >         at java.lang.Runtime.loadLibrary0(Unknown Source)
> >         at java.lang.System.loadLibrary(Unknown Source)
> >         at sun.security.action.LoadLibraryAction.run(Unknown Source)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.awt.Toolkit.loadLibraries(Unknown Source)
> >         at java.awt.Toolkit.<clinit>(Unknown Source)
> >         at java.awt.Color.<clinit>(Unknown Source)
> >         at sun.plugin.navig.motif.Plugin.start(Unknown Source)
> > INTERNAL ERROR on Browser End: Could not read ack from child process
> > System error?:: Resource temporarily unavailable
> >=20
> > It seams that module libXp.so.6 is missing, but I have no idea where to=
 get it:
> > $ sudo rpm -query --whatprovides 'libXp.so.6'
> > no package provides libXp.so.6
> > $
> >=20
> > RPM Search doesn't list this for Fedora Core 6 either. Apparently this =
library is seriously antiquated.
> >=20
> > So what am I to do?
> >=20
> > Best Regards
> > Jan Petersen
> >=20
> >=20
> >=20
> > STACK TRACE
> >=20
> > access("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.s=
o", F_OK) =3D 0
> > open("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so"=
, O_RDONLY) =3D 52
> > read(52, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\0\1"..., 8=
32) =3D 832
> > fstat(52, {st_mode=3DS_IFREG|0644, st_size=3D246600, ...}) =3D 0
> > mmap(NULL, 1292696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 52,=
 0) =3D 0x2aaabad45000
> > mprotect(0x2aaabad78000, 1052672, PROT_NONE) =3D 0
> > mmap(0x2aaabae79000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED=
|MAP_DENYWRITE, 52, 0x34000) =3D 0x2aaabae79000
> > mprotect(0x3798619000, 3492, PROT_READ|PROT_WRITE) =3D 0
> > mprotect(0x3798619000, 3492, PROT_READ) =3D 0
> > mprotect(0x7fffb4d38000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROW=
SDOWN) =3D 0
> > mprotect(0x4820e000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x46e0c000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x45a0a000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x44608000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x42805000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x41e04000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x41403000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x40a02000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x40001000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > mprotect(0x43206000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) =3D 0
> > close(52)                               =3D 0
> > lstat("/usr", {st_mode=3DS_IFDIR|0755, st_size=3D4096, ...}) =3D 0
> > lstat("/usr/lib", {st_mode=3DS_IFDIR|0755, st_size=3D49152, ...}) =3D 0
> > lstat("/usr/lib/jvm", {st_mode=3DS_IFDIR|0755, st_size=3D4096, ...}) =
=3D 0
> > lstat("/usr/lib/jvm/j2re1.4.2", {st_mode=3DS_IFDIR|0755, st_size=3D4096=
, ...}) =3D 0
> > lstat("/usr/lib/jvm/j2re1.4.2/plugin", {st_mode=3DS_IFDIR|0755, st_size=
=3D4096, ...}) =3D 0
> > lstat("/usr/lib/jvm/j2re1.4.2/plugin/amd64", {st_mode=3DS_IFDIR|0755, s=
t_size=3D4096, ...}) =3D 0
> > lstat("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla", {st_mode=3DS_IFDIR=
|0755, st_size=3D4096, ...}) =3D 0
> > lstat("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so=
", {st_mode=3DS_IFREG|0644, st_size=3D246600, ...}) =3D 0
> > open("/home/jpeterse/.java/deployment/deployment.properties", O_RDONLY)=
 =3D -1 ENOENT (No such file or directory)
> > socket(PF_FILE, SOCK_STREAM, 0)         =3D 52
> > fcntl(52, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(52, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > unlink("/tmp/jpsock.142.3753")          =3D -1 ENOENT (No such file or =
directory)
> > bind(52, {sa_family=3DAF_FILE, path=3D"/tmp/jpsock.142.3753"}, 106) =3D=
 0
> > listen(52, 3)                           =3D 0
> > socketpair(PF_FILE, SOCK_STREAM, 0, [53, 54]) =3D 0
> > fcntl(53, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(53, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > fcntl(54, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(54, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > socketpair(PF_FILE, SOCK_STREAM, 0, [55, 56]) =3D 0
> > fcntl(55, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(55, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > fcntl(56, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(56, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > socketpair(PF_FILE, SOCK_STREAM, 0, [57, 58]) =3D 0
> > fcntl(57, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(57, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > fcntl(58, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(58, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > socketpair(PF_FILE, SOCK_STREAM, 0, [59, 60]) =3D 0
> > fcntl(59, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(59, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > fcntl(60, F_GETFL)                      =3D 0x2 (flags O_RDWR)
> > fcntl(60, F_SETFL, O_RDWR|O_NONBLOCK)   =3D 0
> > fcntl(58, F_GETFL)                      =3D 0x802 (flags O_RDWR|O_NONBL=
OCK)
> > fcntl(58, F_SETFL, O_RDWR)              =3D 0
> > fcntl(56, F_GETFL)                      =3D 0x802 (flags O_RDWR|O_NONBL=
OCK)
> > fcntl(56, F_SETFL, O_RDWR)              =3D 0
> > fcntl(54, F_GETFL)                      =3D 0x802 (flags O_RDWR|O_NONBL=
OCK)
> > fcntl(54, F_SETFL, O_RDWR)              =3D 0
> > fcntl(60, F_GETFL)                      =3D 0x802 (flags O_RDWR|O_NONBL=
OCK)
> > fcntl(60, F_SETFL, O_RDWR)              =3D 0
> > clone(child_stack=3D0, flags=3DCLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|=
SIGCHLD, child_tidptr=3D0x2aaaaaad8cd0) =3D 3781
> > close(56)                               =3D 0
> > close(54)                               =3D 0
> > close(58)                               =3D 0
> > close(60)                               =3D 0
> > recvfrom(55, 0xd7e2d0, 1, 0, 0, 0)      =3D -1 EAGAIN (Resource tempora=
rily unavailable)
> > poll([{fd=3D55, events=3DPOLLIN|POLLPRI, revents=3DPOLLIN|POLLHUP}], 1,=
 5000) =3D 1
> > recvfrom(55, "", 1, 0, NULL, NULL)      =3D 0
> > write(2, "INTERNAL ERROR on Browser End: ", 31) =3D 31
> > write(2, "Could not read ack from child pr"..., 37) =3D 37
> > write(2, "\n", 1)                       =3D 1
> > write(2, "System error?:: Resource tempora"..., 49) =3D 49
> > unlink("/tmp/jpsock.142.3753")          =3D 0
> > writev(21, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) =3D 12
> > close(21)                               =3D 0
> > writev(19, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) =3D 12
> > close(19)                               =3D 0
> > close(18)                               =3D 0
> > close(17)                               =3D 0
> > unlink("/tmp/orbit-jpeterse/linc-ea9-0-4ed29f2869b94") =3D 0
> > close(20)                               =3D 0
> > unlink("/home/jpeterse/.mozilla/firefox/8p3ip3c9.default/lock") =3D 0
> > exit_group(-1)                          =3D ?
> >=20
> >=20
> > _________________________________________________________________
> > Try amazing new 3D maps
> > http://maps.live.com/?wip=3D51
> >=20
> > ----------------------------------------------------------------------
> > To UNSUBSCRIBE, email to [email protected]
> > with a subject of "unsubscribe". Trouble? Contact [email protected]
> >=20
>=20

_________________________________________________________________
Fixing up the home? Live Search can help.
http://imagine-windowslive.com/search/kits/default.aspx?kit=3Dimprove&local=
e=3Den-US&source=3Dwlmemailtaglinenov06=


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]