Subject: Problems with the latest Mozilla...
To: None <netbsd-help@netbsd.org, current-users@netbsd.org>
From: Brian Stark <bstark@siemens-psc.com>
List: current-users
Date: 10/23/1998 10:13:04
Hello,

Has anyone been able to get the 10/08/1998 version of Mozilla to run on
either 1.3.2 or a current system? It crashes on my system when I try to do
anything in the mozilla window and when I tried to run mozilla using gdb,
my system "froze". If you don't use or care about Mozilla on NetBSD,
please skip the rest of this...

I downloaded the source yesterday and and followed the instructions for 
setting up the build environment. The first thing I noticed is that it
does not compile on NetBSD 1.3.2/i386.

I poked around a little and set BUILD_OPT=1 (debug disabled) and by making
modifications to _netbsd.h, NetBSD.mk and xfe/Makefile (diffs are attached
below) I was finally able to get mozilla to compile (NOTE: I checked
another build I did last night with BUILD_OPT unset (debug enabled) and
Mozilla does not compile).

When I attempt to run the program, the initial display comes up and as
soon as I press a mouse button or enter a character in the mozilla window 
I see the message "Memory fault" and the mozilla window disappears. I
could not find any coredumps to examine.

The next thing I did was to try to run mozilla in gdb. Like I already
mentioned, my system just froze and then to recover I was forced to reboot
my machine (it is a stand alone system so I could not try to telnet into
it).

All of this leaves me with some questions:

  * It seems apparent that the changes that have to be made to the 
    Mozilla build files are not making it back to the Mozilla developers.
    What is the best way to handle this? Have individual NetBSD users send
    them to the Mozilla developers, or rely on the person who created the
    Mozilla package for NetBSD to do this?

  * Why does my system freeze when I try to run mozilla using gdb? I have
    a Dell Pentium system with 128MB RAM and 128MB swap space. Lesstif
    version 0.85.6 is installed. I should not be having this problem.

Regards,


Brian

-------------------------------------------------------------------------
| Brian Stark                       | Internet : bstark@siemens-psc.com |
| Siemens PT&D, LLC                 | Voice    : +1 612 536-4697        |
| Power Systems Control Division    | Fax      : +1 612 536-4919        |
| 7225 Northland Drive, Brooklyn Park, Minnesota 55428   USA            | 
-------------------------------------------------------------------------


Differences for file _netbsd.h:
51,52d50
< #define _PR_STAT_HAS_ST_ATIMESPEC
< #define _PR_NO_LARGE_FILES

Differences for file NetBSD.mk:
44c44
< PORT_FLAGS            = -DSW_THREADS -DNEED_UINT -DHAVE_LCHOWN -DNTOHL_ENDIAN_
H -DHAVE_FILIO_H -DNEED_SYS_TIME_H -DNEED_UINT_T -DHAVE_BSD_FLOCK -DHAVE_SYSERRL
IST
---
> PORT_FLAGS            = -DSW_THREADS -DNEED_UINT -DHAVE_LCHOWN -DNTOHL_ENDIAN_
H -DHAVE_FILIO_H -DNEED_SYS_TIME_H -DNEED_UINT_T -DHAVE_BSD_FLOCK

Differences for xfe/Makefile:
272c272
< BASIC_DSOS    += -L$(DIST)/lib -lplds21 -lplc21 -lnspr21
---
> BASIC_DSOS    += -lplds21 -lplc21 -lnspr21