Subject: Re: Mozilla-linux 1.3 ...
To: Frederick Bruckman <fredb@immanent.net>
From: Juan RP <jrp@hispabsd.org>
List: tech-pkg
Date: 03/19/2003 01:34:30
--=.BCP:I:_CC1xKHv
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 18 Mar 2003 18:19:35 -0600 (CST)
Frederick Bruckman <fredb@immanent.net> wrote:

> > How can we fix this problem ?
> 
> You might get something useful out of ktrace and kdump. E.g. "ktrace
> -d -e linux /path/to/mozilla-bin", then run "kdump | less +G".

Ok, I have the output of mozilla-linux. 

17429 ktrace   EMUL  "netbsd"
 17429 ktrace   CALL  execve(0xbfbffbaa,0xbfbffae4,0xbfbffaec)
 17429 ktrace   NAMI  "/usr/pkg/lib/mozilla-linux/mozilla-bin"
 17429 ktrace   NAMI  "/emul/linux/lib/ld-linux.so.2"
 17429 ktrace   NAMI  "/emul/linux"
 17429 ktrace   NAMI  "/emul/linux/lib/ld-linux.so.2"
 17429 mozilla-bin EMUL  "linux"
 17429 mozilla-bin RET   execve -1 errno -2 No such file or directory
 17429 mozilla-bin CALL  uname(0xbfbff690)
 17429 mozilla-bin RET   uname 0
 17429 mozilla-bin CALL  brk(0)
 17429 mozilla-bin RET   brk 134737920/0x807f000
 17429 mozilla-bin CALL  old_mmap(0xbfbff420)
 17429 mozilla-bin RET   old_mmap 1208553472/0x48091000
 17429 mozilla-bin CALL  open(0x4808d3be,0,0xbfbff4d8)
 17429 mozilla-bin NAMI  "/emul/linux/etc/ld.so.preload"
 17429 mozilla-bin NAMI  "/etc/ld.so.preload"
 17429 mozilla-bin RET   open -1 errno -2 No such file or directory
 17429 mozilla-bin CALL  open(0x4808e2f3,0,0)
 17429 mozilla-bin NAMI  "/emul/linux/etc/ld.so.cache"
 17429 mozilla-bin NAMI  "/emul/linux"
 17429 mozilla-bin NAMI  "/emul/linux/etc/ld.so.cache"
 17429 mozilla-bin RET   open 3
 17429 mozilla-bin CALL  fstat64(0x3,0xbfbfedb8)
 17429 mozilla-bin RET   fstat64 0
 17429 mozilla-bin CALL  old_mmap(0xbfbfed80)
 17429 mozilla-bin RET   old_mmap 1208557568/0x48092000
 17429 mozilla-bin CALL  close(0x3)
 17429 mozilla-bin RET   close 0
 17429 mozilla-bin CALL  open(0xbfbfedb0,0,0)
 17429 mozilla-bin NAMI  "/emul/linux/lib/libmozjs.so"
 17429 mozilla-bin NAMI  "/lib/libmozjs.so"
 17429 mozilla-bin RET   open -1 errno -2 No such file or directory
 17429 mozilla-bin CALL  stat64(0xbfbfedb0,0xbfbfee08)
 17429 mozilla-bin NAMI  "/emul/linux/lib"
 17429 mozilla-bin NAMI  "/emul/linux"
 17429 mozilla-bin NAMI  "/emul/linux/lib"
 17429 mozilla-bin RET   stat64 0
 17429 mozilla-bin CALL  open(0xbfbfedb0,0,0xffffffff)
 17429 mozilla-bin NAMI  "/emul/linux/usr/lib/libmozjs.so"
 17429 mozilla-bin NAMI  "/usr/lib/libmozjs.so"
 17429 mozilla-bin RET   open -1 errno -2 No such file or directory
 17429 mozilla-bin CALL  stat64(0xbfbfedb0,0xbfbfee08)
 17429 mozilla-bin NAMI  "/emul/linux/usr/lib"
 17429 mozilla-bin NAMI  "/emul/linux"
 17429 mozilla-bin NAMI  "/emul/linux/usr/lib"
 17429 mozilla-bin RET   stat64 0
 17429 mozilla-bin CALL  writev(0x2,0xbfbfed30,0x8)
 17429 mozilla-bin GIO   fd 2 wrote 38 bytes
       "/usr/pkg/lib/mozilla-linux/mozilla-bin"
 17429 mozilla-bin GIO   fd 2 wrote 40 bytes
       ": error while loading shared libraries: "
 17429 mozilla-bin GIO   fd 2 wrote 11 bytes
       "libmozjs.so"
 17429 mozilla-bin GIO   fd 2 wrote 2 bytes
       ": "
 17429 mozilla-bin GIO   fd 2 wrote 30 bytes
       "cannot open shared object file"
 17429 mozilla-bin GIO   fd 2 wrote 2 bytes
       ": "
 17429 mozilla-bin GIO   fd 2 wrote 25 bytes
       "No such file or directory"
 17429 mozilla-bin GIO   fd 2 wrote 1 bytes
       "
       "
 17429 mozilla-bin RET   writev 149/0x95
 17429 mozilla-bin CALL  exit(0x7f)

Problems with shared libraries perhaps ? 
Mozilla only crash when you are entering an url ... 

Saludos!
-- 
Juan RP		jrp@hispabsd.org
--

--=.BCP:I:_CC1xKHv
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE+d7sWMTWsGJYIYwsRAjPkAJ0Q4cpn3jAr8L1J/MBvezD1tSzw1ACgjI/o
EI3C19wCEI9muc0MtsWRyjo=
=J44y
-----END PGP SIGNATURE-----

--=.BCP:I:_CC1xKHv--