From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16223: 24.3.50; Segfault in search.c Date: Mon, 23 Dec 2013 18:18:58 +0200 Message-ID: <8338lj8rrh.fsf@gnu.org> References: <87ha9zc1ts.fsf@yahoo.fr> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1387815613 16403 80.91.229.3 (23 Dec 2013 16:20:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Dec 2013 16:20:13 +0000 (UTC) Cc: 16223@debbugs.gnu.org To: Nicolas Richard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 23 17:20:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vv8Es-0006J5-0P for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Dec 2013 17:20:18 +0100 Original-Received: from localhost ([::1]:34368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vv8Er-0004LA-EP for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Dec 2013 11:20:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vv8Ej-0004Ix-0D for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2013 11:20:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vv8Ed-0004i5-AK for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2013 11:20:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vv8Ed-0004h1-7l for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2013 11:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vv8Ec-00054k-D7 for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2013 11:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2013 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16223 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16223-submit@debbugs.gnu.org id=B16223.138781558919475 (code B ref 16223); Mon, 23 Dec 2013 16:20:02 +0000 Original-Received: (at 16223) by debbugs.gnu.org; 23 Dec 2013 16:19:49 +0000 Original-Received: from localhost ([127.0.0.1]:36105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vv8EO-00053z-JZ for submit@debbugs.gnu.org; Mon, 23 Dec 2013 11:19:49 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:50928) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vv8EL-00053o-BA for 16223@debbugs.gnu.org; Mon, 23 Dec 2013 11:19:46 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MY900C00P6A9V00@a-mtaout20.012.net.il> for 16223@debbugs.gnu.org; Mon, 23 Dec 2013 18:19:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY900C39PBT5N50@a-mtaout20.012.net.il>; Mon, 23 Dec 2013 18:19:05 +0200 (IST) In-reply-to: <87ha9zc1ts.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82444 Archived-At: > From: Nicolas Richard > Date: Mon, 23 Dec 2013 11:13:19 +0100 > > Program received signal SIGSEGV, Segmentation fault. > 0x0819efa1 in search_buffer (string=250079329, pos=12554130, pos_byte=12554130, lim=1, lim_byte=1, n=-1, RE=0, trt=140997549, inverse_trt=141883277, posix=false) at search.c:1299 > 1299 TRANSLATE (translated, trt, c); [...] > (gdb) info locals > temp = 140396312 > str = 0x0 > c = 40 Seems some kind of memory corruption, otherwise I cannot understand how come translating an opening parenthesis via case translation table could segfault. > (gdb) p trt > $1 = 140997549 > (gdb) xtype > Lisp_Vectorlike > PVEC_CHAR_TABLE > (gdb) p c > $2 = 40 Can you do this and show the results: (gdb) p trt (gdb) xchartable