Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 1997 10:54:15 +0200 (MEST)
From:      arnej@math.ntnu.no
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/4774: trying to use IBCS2 shared libraries crash system
Message-ID:  <199710160854.KAA00412@frida.math.ntnu.no>
Resent-Message-ID: <199710160900.CAA17410@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4774
>Category:       kern
>Synopsis:       trying to use IBCS2 shared libraries crash system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 16 02:00:00 PDT 1997
>Last-Modified:
>Originator:     Arne Henrik Juul
>Organization:
Norwegian University of Technology and Science
>Release:        FreeBSD 2.2-STABLE i386
>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?
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710160854.KAA00412>