Subject: pkg/15301: Installation of mozilla 0.97 dumps core.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pa@bsda.ux-his.no>
List: netbsd-bugs
Date: 01/19/2002 18:16:15
>Number:         15301
>Category:       pkg
>Synopsis:       Program regxpcom dumps core during insrtallation of mozilla 0.97
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 19 09:17:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Per Amund Amundsen
>Release:        NetBSD 1.5.2
>Organization:
Per Amund Amundsen                           per-am@ux.his.no
School of Science and Technology	     per.a.amundsen@tn.his.no
Stavanger University College                 Tlf: (+47) 51 83 18 77
PO Box 2557 Ullandhaug, N-4091 Stavanger     Fax: (+47) 51 83 17 50
>Environment:
	
System: NetBSD bsd-amundsen 1.5.2 NetBSD 1.5.2 (BSDA2) #1: Fri Sep 14 13:53:16 MEST 2001 pa@bsd-amundsen:/usr/src/sys/arch/i386/compile/BSDA2 i386


>Description:
	During the installation (from source) of mozilla 0.97 the
	program regxpcom produces a bus error and dumps core. This
	program, produced by the package, is executed in the
	installation directory, $X11BASE/lib/mozilla after all files
	have been installed (next-to-last line of installation
	script).

	I have actually had this problem since the release of mozilla
	0.95.1 - earlier versions installed and worked as well as
	expected from mozilla.

	"Manual" execution of regxpcom end the newly installed mozilla
	produces kdumps which ends essentially identically. Thus:

 cd /usr/X11R6/lib/mozilla
 setenv MOZILLA_FIVE_HOME /usr/X11R6/lib/mozilla
 ktrace regxpcom

	produces the following ktrace | tail:

 26536 regxpcom CALL  open(0x80baa10,0,0x1b6)
 26536 regxpcom NAMI  "/usr/X11R6/lib/mozilla/components/jsconsole-clhandler.js"
 26536 regxpcom RET   open 12/0xc
 26536 regxpcom CALL  __fstat13(0xc,0xbfbfcecc)
 26536 regxpcom RET   __fstat13 0
 26536 regxpcom CALL  read(0xc,0x81b7000,0x2000)
 26536 regxpcom GIO   fd 12 read 3688 bytes
  [Complete content of /usr/X11R6/lib/mozilla/components/jsconsole-clhandler.js
  deleted]
 26536 regxpcom RET   read 3688/0xe68
 26536 regxpcom CALL  break(0x81be000)
 26536 regxpcom RET   break 0
 26536 regxpcom CALL  break(0x81bf000)
 26536 regxpcom RET   break 0
 26536 regxpcom CALL  break(0x81bf000)
 26536 regxpcom RET   break 0
 26536 regxpcom CALL  break(0x81c0000)
 26536 regxpcom RET   break 0
 26536 regxpcom CALL  break(0x81c0000)
 26536 regxpcom RET   break 0
 26536 regxpcom CALL  break(0x81c1000)
 26536 regxpcom RET   break 0
 26536 regxpcom CALL  break(0x81c1000)
 26536 regxpcom RET   break 0
 26536 regxpcom CALL  break(0x81c2000)
 26536 regxpcom RET   break 0
 26536 regxpcom CALL  read(0xc,0x81b7000,0x2000)
 26536 regxpcom RET   read 0
 26536 regxpcom CALL  close(0xc)
 26536 regxpcom RET   close 0
 26536 regxpcom PSIG  SIGBUS SIG_DFL
 26536 regxpcom NAMI  "regxpcom.core"

>How-To-Repeat:
	cd $PKGSRC/www/mozilla; make install
>Fix:
	Install binary package (latest version is mozilla 0.95 for i386)
>Release-Note:
>Audit-Trail:
>Unformatted: