Date: Thu, 31 Jul 1997 10:48:17 -0700 (PDT) From: jason@ampersand.com To: freebsd-gnats-submit@FreeBSD.ORG Subject: kern/4200: "vm_fault: fault on nofault entry" when running latex2html 97-1 Message-ID: <199707311748.KAA22860@hub.freebsd.org> Resent-Message-ID: <199707311750.KAA22926@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4200
>Category: kern
>Synopsis: "vm_fault: fault on nofault entry" when running latex2html 97-1
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 31 10:50:02 PDT 1997
>Last-Modified:
>Originator: Jason Brazile
>Organization:
Ampersand Inc
>Release: 2.2.1-RELEASE
>Environment:
FreeBSD question.ampersand.com 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: Sun Mar 30 18:15:57 EST 1997 jason@question.ampersand.com:/usr/src/sys/compile/QUESTION i386
>Description:
The machine panics on trying to run the latex2html translation program.
My brother told me it happened to him and I went and got the latest
version of latex2html (97-1) from CTAN and just tried to run it on
the example that comes with it.
The panic appears to be:vm_fault.c: line 200
if (entry->eflags & MAP_ENTRY_NOFAULT) {
panic("vm_fault: fault on nofault entry, addr: %lx",
vaddr);
}
This happens to me every time.
I get addrs around f3483000 and f34e8000 but I use a custom kernel so
that probably doesn't help (sorry I don't have kernel debugging turned
on).
>How-To-Repeat:
1) get latex2html-97.1 from CTAN
2) it is a pain in the ass to install, these commands might help:
#
# edit latex2html.config to set LATEX2HTMLDIR to /usr/local/share/latex2html
#
# and command paths to include /usr/local/bin
tar -cf - latex2html.config pstoimg texexpand install-test latex2html configure-
pstoimg icons.gif styles versions example tests| (cd /usr/local/share/latex2html
&& tar -xf -)
mkdir /usr/local/share/texmf/tex/latex/latex2html
(cd texinputs && (tar -cf - * | (cd /usr/local/share/texmf/tex/latex/latex2html
&& tar -xf -)))
texhash
note that you also need perl, ghostscript, netpbm, and teTeX installed
You will get the panic right after it runs:
/usr/local/share/latex2html/pstoimg -gif -discard -interlace -antialias -geometr
y 348x16 -margins 134,72 -scale 1.6 -transparent -out s2img1.gif 258_image001.ps
Running that by itself on the command line works fine. Perhaps it is due to the
interaction with perl. Unfortunately, I didn't have time to track it down
further.
>Fix:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707311748.KAA22860>
