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

2007-01-03 Thread Jan Petersen

Guys, I need your help

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 java 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 - although it's 
only Firefox that dies.
But still not being able to pass by any page with some java on it, is as pain. 
It basically forces me to boot up in Win$lows when ever I need to browser 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/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.(Unknown Source)
at java.awt.Color.(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 library 
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) = 0
open("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so", 
O_RDONLY) = 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) = 832
fstat(52, {st_mode=S_IFREG|0644, st_size=246600, ...}) = 0
mmap(NULL, 1292696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 52, 0) = 
0x2aaabad45000
mprotect(0x2aaabad78000, 1052672, PROT_NONE) = 0
mmap(0x2aaabae79000, 32768, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 52, 0x34000) = 0x2aaabae79000
mprotect(0x3798619000, 3492, PROT_READ|PROT_WRITE) = 0
mprotect(0x3798619000, 3492, PROT_READ) = 0
mprotect(0x7fffb4d38000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
mprotect(0x4820e000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x46e0c000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x45a0a000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x44608000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x42805000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x41e04000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x41403000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x40a02000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x40001000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x43206000, 10485760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
close(52)   = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=49152, ...}) = 0
lstat("/usr/lib/jvm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib/jvm/j2re1.4.2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib/jvm/j2re1.4.2/plugin", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
lstat("/usr/lib/jvm/j2re1.4.2/plugin/amd64", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
lstat("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
lstat("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so", 
{st_mode=S_IFREG|0644, st_size=246600, ...}) = 0
open("/home/jpeterse/.java/deployment/deployment.properties", O_RDONLY) = -1 
ENOENT (No such file or directory)
socket(PF_FILE, SOCK_STREAM, 0) = 52
fcntl(52, F_GETFL)  = 0x2 (flags O_RDWR)
fcntl(52, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
unlink("/tmp/jpsock.142.3753")  = -1 ENOENT (No such file or directory)
bind(52, {sa_family=AF_FILE, path="/tmp/jpsock.142.3753"}, 106) = 0
listen(52, 3) 

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

2007-01-08 Thread Jan Petersen

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.html#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 having 
problems after installing Fedora and Ubuntu - I've used a 64 bit operating 
system on this laptop for 2 years without running into this problem before).

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 Fedora 
> and Ubuntu
> 
> The java plugin in 32 bit, and it cannot run on a 64 bit firefox build. 
>   Use a 32 bit firefox build (like what you download directly from 
> mozilla.org)
> 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4802695
> 
> Jan Petersen wrote:
> > Guys, I need your help
> > 
> > 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 java 
> > 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 - 
> > although it's only Firefox that dies.
> > But still not being able to pass by any page with some java on it, is as 
> > pain. It basically forces me to boot up in Win$lows when ever I need to 
> > browser 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/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.(Unknown Source)
> > at java.awt.Color.(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 
> > library 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) = 0
> > open("/usr/lib/jvm/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so", 
> > O_RDONLY) = 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) 
> > = 832
> > fstat(52, {st_mode=S_IFREG|0644, st_size=246600, ...}) = 0
> > mmap(NULL, 1292696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 52, 0) 
> > = 0x2aaabad45000
> > mprotect(0x2aaabad78000, 1052672, PROT_NONE) = 0
> > mmap(0x2aaabae79000, 32768, PROT_READ|PROT_WRITE, 
> > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 52, 0x34000) = 0x2aaabae79000
> > mprotect(0x3798619000, 3492, PROT_READ|PROT_WRITE) = 0
> > mprotect(0x3798619000, 3492, PROT_READ) = 0
> > mprotect(0x7fffb4d38000, 4096, 
> > PROT_READ|PROT_WRITE|