From xemacs-m  Sat Feb 15 13:00:10 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA04835
	for <xemacs-beta@xemacs.org>; Sat, 15 Feb 1997 13:00:03 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id LAA27294;
	Sat, 15 Feb 1997 11:11:28 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Possible regexp crash
References: <kigwwsaitcb.fsf@jagor.srce.hr> <m2pvy2y7qs.fsf@altair.xemacs.org> <kigiv3t7vm6.fsf@jagor.srce.hr>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Hrvoje Niksic's message of 15 Feb 1997 19:49:21 +0100
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 15 Feb 1997 11:11:24 -0800
Message-ID: <m2n2t5q3z7.fsf@altair.xemacs.org>
Lines: 48
X-Mailer: Gnus v5.4.12/XEmacs 20.1

Hrvoje Niksic writes:

> Steven L Baur <steve@miranova.com> writes:
>> Unfortunately, I cannot duplicate your results on Pentium Linux.

> Well.  I don't know.  I haven't tried it on 20.0 + Solaris.  The
> crashing combinations for me are 19.14/Solaris and 20.0-nomule/OSF.

In 19.14 I would expect a crash on every platform.

>> > Perl5 coredumps on that one too. ;-)
>> 
>> :-)

> Well, maybe I should really file in a bug report to the Perl
> maintainers.  The script is as follows:

> #!/usr/bin/perl

> open(fh, "<gnus.texi");
> $_ = join('', <fh>);
> close fh;
> /(.|\n)*/;
> print $1;

> The last `print $1' statement is unnecessary.  Anyways, run it in the
> directory with gnus.texi, and there you go!

Perl doesn't crash for me either.  I put that in crash.pl and ran it:

$ /tmp/crash.pl 
 
$ lf core
/bin/ls: core: No such file or directory

$ perl -v

This is perl, version 5.003 with EMBED
        built under linux at Jul 20 1996 05:47:14
        + suidperl security patch


There is a special case in the regular expression code for DEC Alpha.
Try fiddling with the number there to see if you can make the crash go
away that way.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

