From owner-freebsd-questions Tue Dec 19 10:12:20 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA26136 for questions-outgoing; Tue, 19 Dec 1995 10:12:20 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA26110 Tue, 19 Dec 1995 10:12:10 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA14879; Tue, 19 Dec 1995 11:08:27 -0700 From: Terry Lambert Message-Id: <199512191808.LAA14879@phaeton.artisoft.com> Subject: Re: SPRY Safety Server for BSDI To: mmead@Glock.COM (matthew c. mead) Date: Tue, 19 Dec 1995 11:08:27 -0700 (MST) Cc: questions@freebsd.org, hackers@freebsd.org In-Reply-To: <199512190525.AAA10869@Glock.COM> from "matthew c. mead" at Dec 19, 95 00:25:21 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk > I'm wanting to purchase and run the SPRY Safety Web Server for BSDI, but > under FreeBSD. However, when I attempt to run it, I get a seg fault each time. > Here's a ktrace output: > root@Glock % kdump > 10248 ktrace RET ktrace 0 > 10248 ktrace CALL execve(0xefbfd89f,0xefbfd818,0xefbfd828) > 10248 ktrace NAMI "./httpd" > 10248 httpd RET execve 0 > 10248 httpd PSIG SIGSEGV SIG_DFL > > Here's what file httpd outputs: > root@Glock % file httpd > httpd: BSD/386 demand paged (first page unmapped) pure ex What exact version of FreeBSD are you running? Are you running the latest commits for the 2.0 compatability from -current? If you aren't, the problem is most likely that the environment is being referenced in the exec for duplication of the envirnment of the exec caller for the replacement process. The recent patches address the issue of the BSDI 2.x environment relocation changes that make BSDI 1.x and 2.x incompatible. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.