Netscape 4.03 Java problem (bus error).

Netscape 4.03 Java problem (bus error).

Post by Sergei Halle » Wed, 01 Oct 1997 04:00:00






> >Hello, I'm just wondering if anybody else has got the same problem too?
> >From reading previous articles on this matter, it seems like N 4.03/Java
> >is working fine for everybody else.  I've tried a combination of libc's
> >(5.4.33 and RH 4.2's 5.3.12) and libXpm (4.6 and RH 4.2's 4.9), with a
> >variety of environment variables settings (MOZILLA_HOME, CLASSPATH), but
> >they all resulted in a bus error when I tried to access a page with a
> >java applet on it (e.g., www.npr.org).

> You are probably not using gnumalloc.so which allows netscape to free
> a malloc'ed block twice.
> ...
> gnumalloc.so may be found on blackdown.org somewhere and also in
> ns403-fix.linux-2.0-rev1.tar.gz which was recently uploaded to sunsite.
> That package also recommends that you remove the null plugin.  Otherwise
> you'll crash everytime you go to a site with an unknown MIME type.

I have the java-problems too. when I loading any page with java-applets,
communicator 4.03 brings the bus-error-message and exits
I got the ns403-fix.linux-2.0-rev3.tar.gz from sunsite.
it includes all libs originally used by Netscape
this package didn't help.
(when I use the libc.so.5.3.12 netscape can't locate the DNS-servers)
back to the main problem: running java-applets with netscape communicator 4.03

I'm using following environment variables:

MOZILLA_HOME=/usr/local/netscape
LD_LIBRARY_PATH=/usr/local/lib/netscape
         (there are all the libs from the fix-package)
LD_PRELOAD=/usr/local/lib/netscape/gnumalloc.so

and I tried the following CLASSPATH-values:
CLASSPATH=
CLASSPATH=/usr/local/netscape/java/classes
        (in this directory are all the jar-files)
CLASSPATH=/usr/local/netscape/java/classes/java40.jar
CLASSPATH=/usr/local/netscape/java/classes/java40.jar:/usr..classes/jae40.jar:\
/usr...classes/ifc11.jar:...  (and so on for all the jar-files)

Here some output from 'strace netscape 2>&1 |grep java' :

stat("/usr/lib/java/bin/nscal", 0xbfffdac8) = -1 ENOENT (No such file or directory)
stat("/usr/lib/java/bin/3270/he3270en.htm", 0xbfffdac0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/java/bin/nsconference", 0xbfffdac8) = -1 ENOENT (No such file or directory)
write(25, "GET /www-doc/java/javanut/exampl"..., 302) = 302
stat("/usr/local/netscape/java/classes/java40.jar", {st_mode=S_IFREG|0644, st_size=1226819, ...}) = 0
open("/usr/local/netscape/java/classes/java40.jar", O_RDONLY) = 31
stat("/usr/local/netscape/java/classes/java40.jar", {st_mode=S_IFREG|0644, st_size=1226819, ...}) = 0
stat("/usr/local/netscape/java/classes/ifc11.jar", {st_mode=S_IFREG|0644, st_size=466209, ...}) = 0
stat("/usr/local/netscape/java/classes/iiop10.jar", {st_mode=S_IFREG|0644, st_size=211232, ...}) = 0
stat("/usr/local/netscape/java/classes/jae40.jar", {st_mode=S_IFREG|0644, st_size=245462, ...}) = 0
stat("/usr/local/netscape/java/classes/jio40.jar", {st_mode=S_IFREG|0644, st_size=500863, ...}) = 0
stat("/usr/local/netscape/java/classes/jsd10.jar", {st_mode=S_IFREG|0644, st_size=18033, ...}) = 0
open("/usr/local/netscape/java/classes/java40.jar", O_RDONLY) = 31

(the first 3 lines came when loading netscape
the fourth line indicating the access to
http://www.uni-giessen.de/www-doc/java/javanut/examples/section1/Scri...
the other lines came when loading the java-applet on this page)

Has anybody suggestions?

(sorry for my bad english)

please reply to my eMail-address (because I have bad acces to news-groups)

c ya
        Sergei

--------------------------------------------------------------------

      WWW-page:     http://www.hrz.uni-giessen.de/~gc1007/
--------------------------------------------------------------------
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
                -- Isaac Asimov

 
 
 

Netscape 4.03 Java problem (bus error).

Post by Sid Boyc » Thu, 02 Oct 1997 04:00:00



> (the first 3 lines came when loading netscape
> the fourth line indicating the access to
> http://www.uni-giessen.de/www-doc/java/javanut/examples/section1/Scri...
> the other lines came when loading the java-applet on this page)

> Has anybody suggestions?

> (sorry for my bad english)

> please reply to my eMail-address (because I have bad acces to news-groups)

> c ya
>         Sergei

        I've had it working without problems, I had to do LD_PRELOAD only
because it complained of undefined references to some Motif symbols, I
use Motif-2.0 because I have it, but previously I used lesstif. After
fixing the motif reports, it didn't seem to be able to find libXt.so.6,
so I preloaded that as well.
        I'm using 2.1.57 kernel, libc-5.4.39 (earlier ones worked) and
XFree86-3.3.1. May be the complicated library setup you use is the real
problem. I also have ns403-fix.linux-2.0-rev3.tar.gz from sunsite, but
haven't tried it.
        I just accessed Scribble.html page you described above and scribbled
away happily, I also access a page at work almost daily and that has a
java applet.
        My netscape start up script ............

export
LD_PRELOAD="/usr/X11R6/lib/libXm.so.2.0:/usr/X11R6/lib/libXt.so.6.0"
netscape -geometry 781x535+4+34 &
Regards

--
... Sid Boyce...Amdahl(UK)...44-121 422 0375
                   -----------------------------------
Any opinions expressed above are mine and do not necessarily represent
 the opinions or policies of Amdahl Corporation.

 
 
 

Netscape 4.03 Java problem (bus error).

Post by Caolan (McNama » Tue, 07 Oct 1997 04:00:00


: > (the first 3 lines came when loading netscape
: > the fourth line indicating the access to
: > http://www.uni-giessen.de/www-doc/java/javanut/examples/section1/Scri...
: > the other lines came when loading the java-applet on this page)
: >
: > Has anybody suggestions?
: >
: > (sorry for my bad english)
: >
: > please reply to my eMail-address (because I have bad acces to news-groups)
: >
: > c ya
: >         Sergei

:       I've had it working without problems, I had to do LD_PRELOAD only
: because it complained of undefined references to some Motif symbols, I
: use Motif-2.0 because I have it, but previously I used lesstif. After
: fixing the motif reports, it didn't seem to be able to find libXt.so.6,
: so I preloaded that as well.
:       I'm using 2.1.57 kernel, libc-5.4.39 (earlier ones worked) and
: XFree86-3.3.1. May be the complicated library setup you use is the real
: problem. I also have ns403-fix.linux-2.0-rev3.tar.gz from sunsite, but
: haven't tried it.
:       I just accessed Scribble.html page you described above and scribbled
: away happily, I also access a page at work almost daily and that has a
: java applet.
:       My netscape start up script ............

: export
: LD_PRELOAD="/usr/X11R6/lib/libXm.so.2.0:/usr/X11R6/lib/libXt.so.6.0"
: netscape -geometry 781x535+4+34 &
: Regards
Just to add to this, netscape 4.03 crashes out for me with java as well
but only when i run my X server in 24bit, in 8 bit its rock solid. I
have it linked with the exact library versions the release notes say it
was compiled with, and  kernel 2.0.30. Im using Xfree 3.3.1 with a matrox
millenium card that has that is mentioned in the release notes as
"May not work correctly at 24 bpp", so maybe its an xfree bug, or a
netscape bug with java at 24bit.

C.

--


URL: http://skynet.csn.ul.ie/~caolan  *  Sig: randomly chosen oblique strategy
The tape is now the music

 
 
 

Netscape 4.03 Java problem (bus error).

Post by Robert Loga » Thu, 09 Oct 1997 04:00:00



> but only when i run my X server in 24bit, in 8 bit its rock solid.
> millenium card that has that is mentioned in the release notes as
> "May not work correctly at 24 bpp", so maybe its an xfree bug, or a
> netscape bug with java at 24bit.

You could try your Millenium in 16bit colour - my 4.03 is fine
in 16 bit and 8 bit. Looks nicer in 16bit though. 2.0.30 kernel
on a 2Mb Millenium.

bert
--
-------------------------------------------------------
Linux - reaches the parts other beers fail to reach.
WWW: http://www.cms.dmu.ac.uk/~rl
WWW: http://www.cms.dmu.ac.uk/CCSR
-------------------------------------------------------

 
 
 

Netscape 4.03 Java problem (bus error).

Post by Sergei Halle » Thu, 09 Oct 1997 04:00:00




 > : > (the first 3 lines came when loading netscape
 > : > the fourth line indicating the access to
 > : > http://www.uni-giessen.de/www-doc/java/javanut/examples/section1/Scri...
 > : > the other lines came when loading the java-applet on this page)
 > : >
 > : > Has anybody suggestions?
 > : >
 > : > c ya
 > : >         Sergei
 >
 > Just to add to this, netscape 4.03 crashes out for me with java as well
 > but only when i run my X server in 24bit, in 8 bit its rock solid. I
 > have it linked with the exact library versions the release notes say it
 > was compiled with, and  kernel 2.0.30. Im using Xfree 3.3.1 with a matrox
 > millenium card that has that is mentioned in the release notes as
 > "May not work correctly at 24 bpp", so maybe its an xfree bug, or a
 > netscape bug with java at 24bit.
 >
 > C.
 >


 > You could try your Millenium in 16bit colour - my 4.03 is fine
 > in 16 bit and 8 bit. Looks nicer in 16bit though. 2.0.30 kernel
 > on a 2Mb Millenium.
 >
 > bert

Yes! It worked
I have an 4mb millenium on XF86_SVGA-server (XFree 3.3).
When running X in 24bit-mode, every web-page including java kills netscape
with a bus error
But it works when running X-Server in 8 and 16 bit modes

c ya
        Sergei

--------------------------------------------------------------------

      WWW-page:     http://www.hrz.uni-giessen.de/~gc1007/
--------------------------------------------------------------------
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
                -- Isaac Asimov

 
 
 

Netscape 4.03 Java problem (bus error).

Post by Caolan (McNama » Thu, 09 Oct 1997 04:00:00




: >  > Just to add to this, netscape 4.03 crashes out for me with java as well
: >  > but only when i run my X server in 24bit, in 8 bit its rock solid. I
: >  > have it linked with the exact library versions the release notes say it
: >  > was compiled with, and  kernel 2.0.30. Im using Xfree 3.3.1 with a matrox
: >  > millenium card that has that is mentioned in the release notes as
: >  > "May not work correctly at 24 bpp", so maybe its an xfree bug, or a
: >  > netscape bug with java at 24bit.
: >  >
: >  > C.
: >  >
: >

: >  > You could try your Millenium in 16bit colour - my 4.03 is fine
: >  > in 16 bit and 8 bit. Looks nicer in 16bit though. 2.0.30 kernel
: >  > on a 2Mb Millenium.
: >  >
: >  > bert
: >
: > Yes! It worked
: > I have an 4mb millenium on XF86_SVGA-server (XFree 3.3).
: > When running X in 24bit-mode, every web-page including java kills netscape
: > with a bus error
: > But it works when running X-Server in 8 and 16 bit modes
: >

: Really?? I have the same problem (mystique 220/4mb) but assumed that it was my libc
: which was not upgraded to the same version as on the blackdown site (what it
: recommended).

: Does anyont know if it does this in 32bpp?
theres another thread in one of the linux newsgroups about netscape and
24bit color under XFree, and it appears that netscape will die (or do
silly things) in 24bit in Xfree, but will be fine with 32bit etc.

C.

--


URL: http://skynet.csn.ul.ie/~caolan  *  Sig: randomly chosen oblique strategy
Consider transitions

 
 
 

Netscape 4.03 Java problem (bus error).

Post by Lev Makhli » Sun, 12 Oct 1997 04:00:00




> >  > Just to add to this, netscape 4.03 crashes out for me with java as well
> >  > but only when i run my X server in 24bit, in 8 bit its rock solid. I
> >  > have it linked with the exact library versions the release notes say it
> >  > was compiled with, and  kernel 2.0.30. Im using Xfree 3.3.1 with a matrox
> >  > millenium card that has that is mentioned in the release notes as
> >  > "May not work correctly at 24 bpp", so maybe its an xfree bug, or a
> >  > netscape bug with java at 24bit.

> >  > C.


> >  > You could try your Millenium in 16bit colour - my 4.03 is fine
> >  > in 16 bit and 8 bit. Looks nicer in 16bit though. 2.0.30 kernel
> >  > on a 2Mb Millenium.

> >  > bert

> > Yes! It worked
> > I have an 4mb millenium on XF86_SVGA-server (XFree 3.3).
> > When running X in 24bit-mode, every web-page including java kills netscape
> > with a bus error
> > But it works when running X-Server in 8 and 16 bit modes

  Hmm.  I am using XFree86 3.3.1 with Matrox Millenium 4Mb,
  and Netscape Communicator 4.03 with ns403-fix.linux-2.0-rev3.tar.gz from Sunsite.
  I tried 8bpp, 16bpp, 24bpp and 32bpp, but regardless, Netscape crashes whenever it sees
Java.
  Can anything else be wrong? Maybe I should downgrade to XFree86 3.3?
  (kernel = 2.0.30, distribution = Red Hat 4.2)
 
 
 

Netscape 4.03 Java problem (bus error).

Post by Roman Shterenzo » Sun, 12 Oct 1997 04:00:00



>   Hmm.  I am using XFree86 3.3.1 with Matrox Millenium 4Mb,
>   and Netscape Communicator 4.03 with ns403-fix.linux-2.0-rev3.tar.gz from Sunsite.
>   I tried 8bpp, 16bpp, 24bpp and 32bpp, but regardless, Netscape crashes whenever it sees
> Java.
>   Can anything else be wrong? Maybe I should downgrade to XFree86 3.3?
>   (kernel = 2.0.30, distribution = Red Hat 4.2)

I'm using AcceleratedX v3.1 with Diamond Stealth64 2001 w/2mb ram.
I only tryed it with 16bpp, and it works fine for me.
From what I heard from pals from work, it IS library related problem.

--Roman Shterenzon

 
 
 

Netscape 4.03 Java problem (bus error).

Post by Christopher A. Sham » Wed, 15 Oct 1997 04:00:00




>>   Hmm.  I am using XFree86 3.3.1 with Matrox Millenium 4Mb,
>>   and Netscape Communicator 4.03 with ns403-fix.linux-2.0-rev3.tar.gz from
> Sunsite.

Check this page out:

http://members.ping.at/theofilu/netscape.html

The linux/netscape help page, covers everything you need.

 
 
 

1. Netscape 4.03 Java problem (bus error).

Hello, I'm just wondering if anybody else has got the same problem too?
From reading previous articles on this matter, it seems like N 4.03/Java
is working fine for everybody else.  I've tried a combination of libc's
(5.4.33 and RH 4.2's 5.3.12) and libXpm (4.6 and RH 4.2's 4.9), with a
variety of environment variables settings (MOZILLA_HOME, CLASSPATH), but
they all resulted in a bus error when I tried to access a page with a
java applet on it (e.g., www.npr.org).

The system's details are as follows:

- More or less pristine RedHat 4.2

- ldd netscape:
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6
        libXpm.so.4 => /usr/local/lib/netscape-4.03/libXpm.so.4
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6
        libdl.so.1 => /lib/libdl.so.1.7.14
        libc.so.5 => /usr/local/lib/netscape-4.03/libc.so.5
        libg++.so.27 => /usr/lib/libg++.so.27
        libstdc++.so.27 => /usr/lib/libstdc++.so.27
        libm.so.5 => /lib/libm.so.5.0.6

  As I mentioned, I tried using both libc.so.5.4.33 and the stock RH 4.2
  libc.so.5.3.12.  BTW, the 5.4.33 is the one from the nets-2.0.tar.gz
  package.

- printenv:
...
LD_LIBRARY_PATH=/usr/local/lib/netscape-4.03:/usr/X11R6/lib:/usr/lib
...
CLASSPATH=/usr/local/netscape/java/classes/java40.jar
...
MOZILLA_HOME=/usr/local/netscape
...

Has anybody got other suggestions as to what I can try next to make this
work?  It's not a big deal if it doesn't, 3.01 works fine with the
substitute libraries package.  I just thought I give 4.03 a shot.

Thank you very much in advance.
--
+------------------------+-------------------------------------------------+
| Francis Hartojo        | Ph.:  602-852-3195       [Stratus has got a     |
| Stratus Computer, Inc. |       800-294-1344 x3195  Press Relations Dept. |

2. Content filtering proxy

3. Netscape 4.03 Standalone + java = bus error

4. Iomega Jaz 2GB under Linux

5. Netscape 4.03 : root : ok, user : bus error

6. xdm and motif 1.2 on Solaris 2.4 (SPARC 5)

7. Java problems with Netscape Communicator 4.03

8. PPP Home Stretch Question

9. Netscape 4.03 Java problem (Solved! Kind of...)

10. Netscape 4.03 and java applets under linux .

11. Netscape Communicator 4.03 and Java sound

12. Communicator 4.03 Bus error on up to date Linux

13. problem Netscape Communicator 4.03 not running but netscape 3.04 is running