From owner-freebsd-bugs Mon Jul 22 13:06:51 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA02759 for bugs-outgoing; Mon, 22 Jul 1996 13:06:51 -0700 (PDT) Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA02744 for ; Mon, 22 Jul 1996 13:06:47 -0700 (PDT) Received: from post.demon.co.uk by relay-5.mail.demon.net id bj12203; 22 Jul 96 18:54 +0100 Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa20836; 22 Jul 96 18:03 +0100 Received: (from fbugs@localhost) by jraynard.demon.co.uk (8.7.5/8.6.12) id JAA00932; Mon, 22 Jul 1996 09:49:43 GMT From: James Raynard Message-Id: <199607220949.JAA00932@jraynard.demon.co.uk> Subject: Re: bin/1411: vi dumps core when using 'set list' To: Marc Slemko Date: Mon, 22 Jul 1996 09:49:43 +0000 () Cc: freebsd-bugs@freebsd.org In-Reply-To: from "Marc Slemko" at Jul 21, 96 08:59:44 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > If anyone else running either 2.1.5 with precompiled vi, 2.1.5 with > locally compiled vi compiled with -m486 or -O2, 2.1.5 with locally > compiled vi compiled without any special CFLAGS, or current with vi > compiled with -m486 or -O2 cares to test it (in brief: load version > 1.36.4.5 [other versions should have the same problem, although not > necessarily at the same place] of /sys/scsi/st.c in vi, do a ':set list', > then hit ^F until you either get to the end of the file or it core dumps) > I would appreciate knowing the results. I can do this with no problems with -current on version 1.71 of st.c. As with the rest of my system, vi was compiled with CFLAGS= -O2 -m486 -pipe -fno-strength-reduce Does adding the -fno-strength-reduce option help? If not, the only thing you can do, as others have suggested, is to compile a debug version, fire up gdb and start digging.