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

Jan Petersen <[email protected]> Wed, 3 Jan 2007 01:11:26 -0600
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
Guys, I need your help

I have both Fedora Core 6 and Ubuntu Edgy installed on my 64bit laptop. Bot=
h in the latest flavors with all patches installed.
But my Firefox 2 pukes every time I come across a web page with any java fl=
avor 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 - althou=
gh it's only Firefox that dies.
But still not being able to pass by any page with some java on it, is as pa=
in. It basically forces me to boot up in Win$lows when ever I need to brows=
er the internet.

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/plugin/1.=
4/demos/plugin/applets/Clock/example1.html

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/j2r=
e1.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

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
$

RPM Search doesn't list this for Fedora Core 6 either. Apparently this libr=
ary is seriously antiquated.

So what am I to do?

Best Regards
Jan Petersen



STACK TRACE

access("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so", =
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"..., 832) =
=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_GROWSDOW=
N) =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=3D4=
096, ...}) =3D 0
lstat("/usr/lib/jvm/j2re1.4.2/plugin/amd64", {st_mode=3DS_IFDIR|0755, st_si=
ze=3D4096, ...}) =3D 0
lstat("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla", {st_mode=3DS_IFDIR|075=
5, 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 dire=
ctory)
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_NONBLOCK)
fcntl(58, F_SETFL, O_RDWR)              =3D 0
fcntl(56, F_GETFL)                      =3D 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(56, F_SETFL, O_RDWR)              =3D 0
fcntl(54, F_GETFL)                      =3D 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(54, F_SETFL, O_RDWR)              =3D 0
fcntl(60, F_GETFL)                      =3D 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl(60, F_SETFL, O_RDWR)              =3D 0
clone(child_stack=3D0, flags=3DCLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGC=
HLD, 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 temporarily=
 unavailable)
poll([{fd=3D55, events=3DPOLLIN|POLLPRI, revents=3DPOLLIN|POLLHUP}], 1, 500=
0) =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 ?


_________________________________________________________________
Try amazing new 3D maps
http://maps.live.com/?wip=3D51=


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