From owner-freebsd-current Mon Apr 22 10:41:57 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA21530 for current-outgoing; Mon, 22 Apr 1996 10:41:57 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA21525 Mon, 22 Apr 1996 10:41:53 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id DAA13067; Tue, 23 Apr 1996 03:39:57 +1000 Date: Tue, 23 Apr 1996 03:39:57 +1000 From: Bruce Evans Message-Id: <199604221739.DAA13067@godzilla.zeta.org.au> To: current@freebsd.org Subject: gzip bug Cc: dyson@freebsd.org, phk@freebsd.org Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The gzip bug was introduced in the big vm patch on 1996/01/19. It seems to have nothing to do with any of the vm things in imgact_gzip.c. I replaced the input file accesses in NextByte() by accesses to an array of bytes and Flush() by return (ENOEXEC). This made inflate() do nothing fancier than malloc() and free(), but it still sometimes hung and sometimes rebooted. A user mode version of this worked fine. Some of the reboots went through the double fault handler but none of them stopped in ddb. Bruce