From arnej@math.ntnu.no  Thu Oct 16 01:54:21 1997
Received: from romberg.math.ntnu.no (153@romberg.imf.unit.no [129.241.15.150])
          by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA17062
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Oct 1997 01:54:19 -0700 (PDT)
          (envelope-from arnej@math.ntnu.no)
Received: (qmail 28545 invoked from network); 16 Oct 1997 08:54:15 -0000
Received: from frida.math.ntnu.no (129.241.15.136)
  by romberg.imf.unit.no with SMTP; 16 Oct 1997 08:54:15 -0000
Received: (from arnej@localhost)
          by frida.math.ntnu.no (8.8.7/8.8.4)
	  id KAA00412; Thu, 16 Oct 1997 10:54:15 +0200 (MEST)
Message-Id: <199710160854.KAA00412@frida.math.ntnu.no>
Date: Thu, 16 Oct 1997 10:54:15 +0200 (MEST)
From: arnej@math.ntnu.no
Reply-To: arnej@math.ntnu.no
To: FreeBSD-gnats-submit@freebsd.org
Subject: trying to use IBCS2 shared libraries crash system
X-Send-Pr-Version: 3.2

>Number:         4774
>Category:       kern
>Synopsis:       trying to use IBCS2 shared libraries crash system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 16 02:00:00 PDT 1997
>Closed-Date:    Fri Nov 16 11:17:54 PST 2001
>Last-Modified:  Fri Nov 16 11:18:42 PST 2001
>Originator:     Arne Henrik Juul
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
Norwegian University of Technology and Science
>Environment:

	(nothing special, I think)

>Description:

	Trying to run a program (/etc/mount) that I got from a
SCO machine using their shared libraries, the machine crashes.
This happens with both the ibcs2 LKM and with options "IBCS2" in
the kernel.  I suspect some code in imgact_coff.c, near line 396,
that looks extremely horrible.
	The test program works well on NetBSD.

>How-To-Repeat:
	This should crash your machine:

cd /
fetch ftp://ftp.math.ntnu.no/pub/arnej/sco-mount.tar
tar xvf sco-mount.tar
ibcs2
sync
/compat/ibcs2/etc/mount

>Fix:
	Adapt the coff shlib loading code from NetBSD?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 22:52:58 PDT 2001 
State-Changed-Why:  

Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=4774 
State-Changed-From-To: feedback->closed 
State-Changed-By: bmah 
State-Changed-When: Fri Nov 16 11:17:54 PST 2001 
State-Changed-Why:  
Feedback timeout (3+ months). 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=4774 
>Unformatted:
