From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: re-search-forward/backward causes a segmentation fault Date: Sat, 11 Oct 2003 01:37:21 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200310082328.IAA16073@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1065850916 20885 80.91.224.253 (11 Oct 2003 05:41:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Oct 2003 05:41:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Oct 11 07:41:53 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A8CVl-0001Uj-00 for ; Sat, 11 Oct 2003 07:41:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A8CVl-0004WV-01 for ; Sat, 11 Oct 2003 07:41:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8CVe-0007Qx-Gp for emacs-devel@quimby.gnus.org; Sat, 11 Oct 2003 01:41:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A8CUh-0007Aw-Iu for emacs-devel@gnu.org; Sat, 11 Oct 2003 01:40:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A8CUB-00070M-A6 for emacs-devel@gnu.org; Sat, 11 Oct 2003 01:40:46 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8CU9-0006zb-Hu for emacs-devel@gnu.org; Sat, 11 Oct 2003 01:40:13 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1A8CRN-0001Ey-FS; Sat, 11 Oct 2003 01:37:21 -0400 Original-To: Kenichi Handa In-reply-to: <200310082328.IAA16073@etlken.m17n.org> (message from Kenichi Handa on Thu, 9 Oct 2003 08:28:15 +0900 (JST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17030 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17030 The regexp you showedme is too big to be handled with the current regexp format. The bug was that regex.c thought that 2^16 bytes was the limit. Since jump offsets are signed, really only 2^15 bytes can be accommodated.