From nobody@FreeBSD.org  Fri Dec 17 08:42:18 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 45F571065672
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2010 08:42:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 348F48FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2010 08:42:18 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBH8gIix071107
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2010 08:42:18 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id oBH8gI8j071106;
	Fri, 17 Dec 2010 08:42:18 GMT
	(envelope-from nobody)
Message-Id: <201012170842.oBH8gI8j071106@red.freebsd.org>
Date: Fri, 17 Dec 2010 08:42:18 GMT
From: Michael Green <michaelrmgreen@yahoo.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Seg fault whne running COFF binary using iBCS2 in 8.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         153243
>Category:       kern
>Synopsis:       [ibcs2] Seg fault whne running COFF binary using iBCS2 in 8.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-emulation
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 17 08:50:06 UTC 2010
>Closed-Date:    
>Last-Modified:  Mon Dec 20 08:48:42 UTC 2010
>Originator:     Michael Green
>Release:        FreeBSD 8.1-RELEASE
>Organization:
The Park Row Dental Practice
>Environment:
parkrow4# uname -a
FreeBSD parkrow4.blank.blank 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
For years (since 4.2) I've used iBCS2 to run MS FoxPro Unix 2.6 without any problems. I am setting up a new machine and have installed 8.1.

I have iBCS2 load via klms:

parkrow4# kldstat
Id Refs Address    Size     Name
 1    8 0xc0400000 bb5504   kernel
 2    2 0xc0fb6000 cc94     ibcs2.ko
 3    1 0xc0fc3000 3028     ibcs2_coff.ko

When I run the binary I get a segmentation fault message.

parkrow4# file foxpro.pr
foxpro.pr: 80386 COFF executable

parkrow4# truss ./foxpro.pr
truss: execution type IBCS2 COFF is not supported -- using FreeBSD a.out: Unknown error: 0
SIGNAL 11 (SIGSEGV)
>How-To-Repeat:
See notes above. As a precaution I have done a complete reinstall after checking the SHA256. I also uses Memtest86+ to do a hardware test.

There are some other similar reports. http://forums.freebsd.org/showthread.php?t=19764 
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Dec 20 08:47:47 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153243 
>Unformatted:
