Subject: Netscape 4.5 started in unwritable directory --> bus error
To: None <port-i386@netbsd.org>
From: Sean Doran <smd@ebone.net>
List: port-i386
Date: 10/26/1998 11:21:56
Well, the Linux version of netscape 4.5 is working now that the
error changes have taken hold. However, there is a subtle weirdness
that I don't quite grok.
: sean.ebone.net ; cd /usr/src
: sean.ebone.net ; ktrace -f /usr/tmp/ktrace.out netscape
bus error
: sean.ebone.net ; mv /usr/tmp/ktrace.out /usr/tmp/ktrace.out-
: sean.ebone.net ; cd /var/tmp
: sean.ebone.net ; ktrace -f /usr/tmp/ktrace.out netscape
the latter invocation works normally.
This happens without running ktrace, too.
The difference: I have write access in /var/tmp.
Below is the tail of the kdump -e linux -f /usr/tmp/ktrace.out-.
Is there a way around this other than making sure of the
permissions of the directory one invokes netscape in?
Sean.
- --
14759 netscape NAMI "/emul/linux/u/smd/.mailcap"
14759 netscape NAMI "/u/smd/.mailcap"
14759 netscape RET stat 0
14759 netscape CALL stat(0x8e517c0,0xefbfb890)
14759 netscape NAMI "/emul/linux/u/smd/nsmail"
14759 netscape NAMI "/u/smd/nsmail"
14759 netscape RET stat 0
14759 netscape CALL stat(0x8bf720c,0xefbfa810)
14759 netscape NAMI "/emul/linux/usr/local/netscape/cmnav.so"
14759 netscape NAMI "/usr/local/netscape/cmnav.so"
14759 netscape RET stat -1 errno -2 No such file or directory
14759 netscape CALL stat(0x8dac020,0xefbfa800)
14759 netscape NAMI "/emul/linux/u/smd/bin/sh/netscape"
14759 netscape NAMI "/u/smd/bin/sh/netscape"
14759 netscape RET stat -1 errno -2 No such file or directory
14759 netscape CALL stat(0x8f23640,0xefbfa800)
14759 netscape NAMI "/emul/linux/u/smd/bin/NetBSD-1.3H-i386/netscape"
14759 netscape NAMI "/u/smd/bin/NetBSD-1.3H-i386/netscape"
14759 netscape RET stat -1 errno -2 No such file or directory
14759 netscape CALL stat(0x8dad040,0xefbfa800)
14759 netscape NAMI "/emul/linux/u/smd/bin/netscape"
14759 netscape NAMI "/u/smd/bin/netscape"
14759 netscape RET stat -1 errno -2 No such file or directory
14759 netscape CALL stat(0x8dad040,0xefbfa800)
14759 netscape NAMI "/emul/linux/usr/pkg/bin/netscape"
14759 netscape NAMI "/usr/pkg/bin/netscape"
14759 netscape RET stat -1 errno -2 No such file or directory
14759 netscape CALL stat(0x8dad040,0xefbfa800)
14759 netscape NAMI "/emul/linux/usr/games/netscape"
14759 netscape NAMI "/usr/games/netscape"
14759 netscape RET stat -1 errno -2 No such file or directory
14759 netscape CALL stat(0x8dad040,0xefbfa800)
14759 netscape NAMI "/emul/linux/usr/local/bin/netscape"
14759 netscape NAMI "/usr/local/bin/netscape"
14759 netscape RET stat 0
14759 netscape CALL stat(0x8bf720c,0xefbfa80c)
14759 netscape NAMI "/emul/linux/usr/local/bin/cmnav.so"
14759 netscape NAMI "/usr/local/bin/cmnav.so"
14759 netscape RET stat -1 errno -2 No such file or directory
14759 netscape CALL stat(0x48ac0683,0xefbfb824)
14759 netscape NAMI "/emul/linux/etc/ld.so.cache"
14759 netscape NAMI "/emul/linux"
14759 netscape NAMI "/emul/linux/etc/ld.so.cache"
14759 netscape RET stat 0
14759 netscape CALL open(0x48ac0683,0,0)
14759 netscape NAMI "/emul/linux/etc/ld.so.cache"
14759 netscape NAMI "/emul/linux"
14759 netscape NAMI "/emul/linux/etc/ld.so.cache"
14759 netscape RET open 15/0xf
14759 netscape CALL old_mmap(0xefbfb7f0)
14759 netscape RET old_mmap 1219244032/0x48ac3000
14759 netscape CALL close(0xf)
14759 netscape RET close 0
14759 netscape CALL open(0x8dad040,0,0)
14759 netscape NAMI "/emul/linux/usr/local/bin//cmnav.so"
14759 netscape NAMI "/usr/local/bin//cmnav.so"
14759 netscape RET open -1 errno -2 No such file or directory
14759 netscape CALL munmap(0x48ac3000,0xf70)
14759 netscape RET munmap 0
14759 netscape PSIG SIGALRM caught handler=0x88b9648 mask=() code=0x0
14759 netscape CALL gettimeofday(0xefbfb6d0,0)
14759 netscape RET gettimeofday 0
14759 netscape CALL sigreturn(0xefbfb750)
14759 netscape RET sigreturn -1 errno -2 No such file or directory
14759 netscape CALL sigprocmask(0,0xefbfb5e0,0xefbfb5dc)
14759 netscape RET sigprocmask 0
14759 netscape CALL getpid
14759 netscape RET getpid 14759/0x39a7
14759 netscape CALL open(0x8b8f020,0xc2,0x180)
14759 netscape NAMI "_hash014759"
14759 netscape RET open -1 errno -13 Permission denied
14759 netscape CALL sigprocmask(0x2,0xefbfb5dc,0)
14759 netscape RET sigprocmask 0
14759 netscape CALL sigprocmask(0,0xefbfb624,0xefbfb620)
14759 netscape RET sigprocmask 0
14759 netscape CALL getpid
14759 netscape RET getpid 14759/0x39a7
14759 netscape CALL open(0x8b8f020,0xc2,0x180)
14759 netscape NAMI "_hash014759"
14759 netscape RET open -1 errno -13 Permission denied
14759 netscape CALL sigprocmask(0x2,0xefbfb620,0)
14759 netscape RET sigprocmask 0
14759 netscape CALL sigprocmask(0,0xefbfb624,0xefbfb620)
14759 netscape RET sigprocmask 0
14759 netscape CALL getpid
14759 netscape RET getpid 14759/0x39a7
14759 netscape CALL open(0x8b8f020,0xc2,0x180)
14759 netscape NAMI "_hash014759"
14759 netscape RET open -1 errno -13 Permission denied
14759 netscape CALL sigprocmask(0x2,0xefbfb620,0)
14759 netscape RET sigprocmask 0
14759 netscape PSIG SIGALRM caught handler=0x88b9648 mask=() code=0x0
14759 netscape CALL gettimeofday(0xefbfb7ec,0)
14759 netscape RET gettimeofday 0
14759 netscape CALL sigreturn(0xefbfb86c)
14759 netscape RET sigreturn -1 errno -2 No such file or directory
14759 netscape CALL gettimeofday(0xefbfb844,0)
14759 netscape RET gettimeofday 0
14759 netscape CALL gettimeofday(0xefbfb860,0)
14759 netscape RET gettimeofday 0
14759 netscape PSIG SIGSEGV caught handler=0x88baf88 mask=() code=0x6
14759 netscape CALL getpid
14759 netscape RET getpid 14759/0x39a7
14759 netscape CALL kill(0x39a7,0x7)
14759 netscape PSIG SIGBUS SIG_DFL