I wrote:
>>> bash-3.2$ PATH=/usr/bin:/bin:/usr/bin/X11 man man
>>> Segmentation Fault (core dumped)
>
> core: ELF 32-bit LSB core file 80386 Version 1, from 'man'
The problem seems to be with the new feature of "man" to deduce the MANPATH
from
the PATH, so for example /usr/openwin/bin in PATH gives /usr/openwin/man in
MANPATH (last dir removed and "man" added)
But then /usr/bin/X11 becomes /usr/bin/man which is the man program itself and
not a directory. I guess "man" is then trying to open itself as a directory
and
failing.
/usr/bin/X11 is a symlink to /usr/X11/bin in Solaris 10+; I've had it in my
PATH
for a long time for compatibility with older OS's - don't remember which.
xstat(2, "/usr/bin/X11", 0x08047B68) = 0
xstat(2, "/usr/bin/man", 0x08047B68) = 0
access("/usr/bin/man", R_OK|X_OK) = 0
open("/usr/bin/man/man.cf", O_RDONLY) Err#20 ENOTDIR
openat(AT_FDCWD, "/usr/bin/man", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3
fcntl(3, F_SETFD, 0x00000001) = 0
fstat64(3, 0x08047AA0) = 0
close(3) = 0
xstat(2, "/usr/bin/man", 0x08047B58) = 0
Incurred fault #6, FLTBOUNDS %pc = 0x08056196
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
_______________________________________________
opensolaris-discuss mailing list
[email protected]