From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#2435: Bug 2435 Date: Thu, 05 Mar 2009 15:39:16 +0900 Message-ID: References: <87fxhvcmvf.fsf@cyd.mit.edu> <87zlg2a7b9.fsf@cyd.mit.edu> <87ab81293z.fsf@cyd.mit.edu> <878wnk7gqb.fsf@cyd.mit.edu> Reply-To: Kenichi Handa , 2435@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1236236691 22773 80.91.229.12 (5 Mar 2009 07:04:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 07:04:51 +0000 (UTC) Cc: 2435@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 05 08:06:08 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lf7dw-0002jQ-Op for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Mar 2009 08:05:55 +0100 Original-Received: from localhost ([127.0.0.1]:42395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf7cZ-0002Tw-Va for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Mar 2009 02:03:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf7cW-0002Te-Gf for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2009 02:03:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf7cU-0002TN-NR for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2009 02:03:52 -0500 Original-Received: from [199.232.76.173] (port=52167 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf7cU-0002TK-KA for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2009 02:03:50 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54916) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lf7cS-0000ct-7J for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2009 02:03:50 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2573dau004518; Wed, 4 Mar 2009 23:03:39 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n256j3D8032212; Wed, 4 Mar 2009 22:45:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 05 Mar 2009 06:45:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2435 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2435-submit@emacsbugs.donarmstrong.com id=B2435.123623511830863 (code B ref 2435); Thu, 05 Mar 2009 06:45:03 +0000 Original-Received: (at 2435) by emacsbugs.donarmstrong.com; 5 Mar 2009 06:38:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n256cYdp030857 for <2435@emacsbugs.donarmstrong.com>; Wed, 4 Mar 2009 22:38:36 -0800 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n256cXsH003366; Thu, 5 Mar 2009 15:38:33 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n256cXdH013756; Thu, 5 Mar 2009 15:38:33 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id n256cXtC017676; Thu, 5 Mar 2009 15:38:33 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1Lf7Ei-00045X-IU; Thu, 05 Mar 2009 15:39:16 +0900 In-reply-to: <878wnk7gqb.fsf@cyd.mit.edu> (message from Chong Yidong on Wed, 04 Mar 2009 23:09:48 -0500) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 05 Mar 2009 02:03:52 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26008 Archived-At: In article <878wnk7gqb.fsf@cyd.mit.edu>, Chong Yidong writes: > Kenichi Handa writes: > > It seems that `pattern' is correct, but `bufp->buffer' is > > the compiled code for some of jkr-compr related regexp. > > Could you please find why that happens? > I think the problem is that regex_compile can call load_charset, which > can call regex_compile. I think regex_compile is not designed to be > called recursively, leading to memory corruption. Ah! That is a likely cause of the bug. I'll find a way to avoid loading charset at that moment. --- Kenichi Handa handa@m17n.org