From xemacs-m  Mon Feb 24 19:06:19 1997
Received: from mailbox1.ucsd.edu (mailbox1.ucsd.edu [132.239.1.53])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id TAA20090
	for <xemacs-beta@xemacs.org>; Mon, 24 Feb 1997 19:06:18 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by mailbox1.ucsd.edu (8.8.5/8.6.9) with SMTP id RAA03529 for <xemacs-beta@xemacs.org>; Mon, 24 Feb 1997 17:06:17 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id RAA29634; Mon, 24 Feb 1997 17:08:41 -0800
Sender: dmoore@sdnp5.ucsd.edu
To: XEmacs Beta Mailing List <xemacs-beta@xemacs.org>
Subject: Re: Recipe for crash in regexp code
References: <199702171420.PAA09907@sen2.ida.liu.se>
X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L
Mail-Copies-To: never
From: David Moore <dmoore@ucsd.edu>
Date: 24 Feb 1997 17:08:40 -0800
In-Reply-To: David Byers's message of Mon, 17 Feb 1997 15:20:42 +0100
Message-ID: <rvohd9g09z.fsf@sdnp5.ucsd.edu>
Lines: 26
X-Mailer: Gnus v5.4.8/XEmacs 19.15

David Byers <davby@ida.liu.se> writes:

>     xemacs -q -l ./xemacs-regexp.el
> 
> where xemacs-regexp.el contains the following line
> 
>     (string-match "\\(\\s-\\|$\\)" "")

Thanks for the recipe.

> #3  0xe9da8 in re_match_2_internal (bufp=0x26ea9c, string1=0x0, size1=0, 
>     string2=0x42cfac "\201", size2=2, pos=1, regs=0x267838, stop=2585600)
>     at buffer.h:532

Augh, I'm beginning to truly hate the presence of those INLINE emchar
functions in buffer.h.  They make core stack traces useless.


Could we make it so that HAVE_INLINE isn't enabled if error-checking is
on?

-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.

