From owner-freebsd-current Sat Sep 9 12:51:16 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA26065 for current-outgoing; Sat, 9 Sep 1995 12:51:16 -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 MAA26059 for ; Sat, 9 Sep 1995 12:51:14 -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 VAA12942 ; Sat, 9 Sep 1995 21:51:10 +0200 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id VAA28952 ; Sat, 9 Sep 1995 21:51:09 +0200 Received: (from roberto@localhost) by keltia.Freenix.FR (8.7.Beta.14/keltia-uucp-2.4) id VAA01252; Sat, 9 Sep 1995 21:43:31 +0200 (MET DST) From: Ollivier Robert Message-Id: <199509091943.VAA01252@keltia.Freenix.FR> Subject: Re: sig 11 To: davidg@Root.COM Date: Sat, 9 Sep 1995 21:43:30 +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. Vi fails at the same place... I've recompiled with '-g', edited the same file (innshellvars) and with "/SED" I got : ## =()@>()= HISTORY=/usr/local/news/lib/history /SED Program received signal SIGSEGV, Segmentation fault. 0x80766b7 in regcomp.so.L479 () (gdb) where #0 0x80766b7 in regcomp.so.L479 () #1 0x80c0027 in memcpy () #2 0xac54 in resetup (sp=0x44800, rep=0xefbfce28, dir=FORWARD, ptrn=0x46541 "SED", epp=0xefbfce80, deltap=0xefbfce24, flagp=0xefbfcea0) at search.c:170 #3 0xafb2 in f_search (sp=0x44800, ep=0x4c080, fm=0xefbfcf10, rm=0xefbfcf18, ptrn=0x46540 "/SED", eptrn=0xefbfce80, flagp=0xefbfcea0) at search.c:282 #4 0x28b7e in search (sp=0x44800, ep=0x4c080, vp=0xefbfcef0, ptrn=0x46540 "/SED", len=4, flags=56, dir=FORWARD) at /var/tmp/tmp/vi/common/../vi/v_search.c:203 #5 0x28994 in v_searchf (sp=0x44800, ep=0x4c080, vp=0xefbfcef0) at /var/tmp/tmp/vi/common/../vi/v_search.c:152 #6 0x2e42f in vi (sp=0x44800, ep=0x4c080) at /var/tmp/tmp/vi/common/../vi/vi.c:200 #7 0x32ec4 in svi_screen_edit (sp=0x44800, ep=0x4c080) at /var/tmp/tmp/vi/common/../svi/svi_screen.c:225 #8 0x57ac in main (argc=2, argv=0xefbfd4b0) at main.c:435 Maybe a problem with shared lib mapping in conjonction with John's latest optimizations in the VM code ? It only happens in the regcomp code so far... I'm puzzled. If nvi is static, no core dump. An incompatibility between the VM changes and the way regcomp use data ? GNU sed 2.05 does not have the sig11 problem, having its own regex functions (rx). NVI uses the same regcomp as sed. -- 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