From owner-freebsd-current Sat Sep 9 12:18:31 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA24328 for current-outgoing; Sat, 9 Sep 1995 12:18:31 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA24309 for ; Sat, 9 Sep 1995 12:18:29 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id VAA12770 ; Sat, 9 Sep 1995 21:18:27 +0200 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id VAA28850 ; Sat, 9 Sep 1995 21:18:26 +0200 Received: (from roberto@localhost) by keltia.Freenix.FR (8.7.Beta.14/keltia-uucp-2.4) id VAA00321; Sat, 9 Sep 1995 21:13:55 +0200 (MET DST) From: Ollivier Robert Message-Id: <199509091913.VAA00321@keltia.Freenix.FR> Subject: Re: sig 11 To: davidg@Root.COM Date: Sat, 9 Sep 1995 21:13:54 +0200 (MET DST) Cc: freebsd-current@FreeBSD.ORG (FreeBSD Current Users' list) In-Reply-To: <199509091728.KAA04524@corbin.Root.COM> from "David Greenman" at Sep 9, 95 10:28:30 am X-Operating-System: FreeBSD 2.2-CURRENT ctm#1083 X-Mailer: ELM [version 2.4 PL24 ME7a+] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: current-owner@FreeBSD.ORG Precedence: bulk It seems that David Greenman said: > Let us know if you see any other programs dieing this way. Thanks. Yes, vi. vi innshellvars /SED *boom* sig11. Sed is failing during the run of $inn/innshellvars (from inn1.4unoff2). I've recompiled sed with "-g" and here it goes. I was editing inndshellvars to replace /usr/bin/sed by ./sed with a "/SED" when "vi" sig11'ed. 228 [21:06] roberto@keltia:/tmp/sed> ./innshellvars Memory fault - core dumped Memory fault - core dumped 229 [21:06] roberto@keltia:/tmp/sed> gdb ./sed sed.core GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... Core was generated by `sed'. Program terminated with signal 11, Segmentation fault. #0 0x802db00 in end () (gdb) where #0 0x802db00 in end () #1 0x802cece in end () #2 0x802cc00 in end () #3 0x802c283 in end () #4 0x2531 in compile_re (p=0x644d "", repp=0x10010) at compile.c:427 #5 0x20fe in compile_stream (link=0xf000) at compile.c:302 #6 0x166d in compile () at compile.c:134 #7 0x34d6 in main (argc=3, argv=0xefbfd4ec) at main.c:144 (gdb) frame 4 #4 0x2531 in compile_re (p=0x644d "", repp=0x10010) at compile.c:427 427 if (p && (eval = regcomp(*repp, re, 0)) != 0) (gdb) list 420,430 420 421 p = compile_delimited(p, re); 422 if (p && strlen(re) == 0) { 423 *repp = NULL; 424 return (p); 425 } 426 *repp = xmalloc(sizeof(regex_t)); 427 if (p && (eval = regcomp(*repp, re, 0)) != 0) 428 err(COMPILE, "RE error: %s", strregerror(eval, *repp)); 429 if (maxnsub < (*repp)->re_nsub) 430 maxnsub = (*repp)->re_nsub; (gdb) print p $1 = 0x807c060
(gdb) print repp $2 = (regex_t **) 0xefbfcbe8 (gdb) print *repp $3 = (regex_t *) 0xefbfcc79 (gdb) print **repp $4 = {re_magic = 1563385435, re_nsub = 285221930, re_endp = 0xa8000000
, re_g = 0x9508074a} Is the "Address XXXXXX out of bounds" expected or not ? -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.Freenix.FR 2.2-CURRENT #0: Sat Sep 9 17:49:09 MET DST 1995