From owner-freebsd-bugs Thu Oct 16 02:00:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA17445 for bugs-outgoing; Thu, 16 Oct 1997 02:00:04 -0700 (PDT) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA17410; Thu, 16 Oct 1997 02:00:01 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 16 Oct 1997 02:00:01 -0700 (PDT) Resent-Message-Id: <199710160900.CAA17410@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, arnej@math.ntnu.no 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 ; 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 X-Send-Pr-Version: 3.2 Subject: kern/4774: trying to use IBCS2 shared libraries crash system Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: