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#14264: 24.3.50; SEGV in char_table_ref's use of SUB_CHAR_TABLE_P Date: Tue, 22 Oct 2013 19:51:04 +0300 Message-ID: <83d2mxjll3.fsf@gnu.org> References: <871u9znoee.fsf@rho.meyering.net> <8361zavb12.fsf@gnu.org> <7wr4bejjhx.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1382460672 10405 80.91.229.3 (22 Oct 2013 16:51:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Oct 2013 16:51:12 +0000 (UTC) Cc: 14264@debbugs.gnu.org, jim@meyering.net To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 22 18:51:15 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 1VYfAp-00027q-35 for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Oct 2013 18:51:15 +0200 Original-Received: from localhost ([::1]:45929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYfAo-0005WD-OA for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Oct 2013 12:51:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYfAh-0005Sb-DF for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2013 12:51:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYfAc-0006ue-I7 for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2013 12:51:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYfAc-0006ua-F1 for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2013 12:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VYfAb-00025G-WF for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2013 12:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2013 16:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14264 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14264-submit@debbugs.gnu.org id=B14264.13824606597999 (code B ref 14264); Tue, 22 Oct 2013 16:51:01 +0000 Original-Received: (at 14264) by debbugs.gnu.org; 22 Oct 2013 16:50:59 +0000 Original-Received: from localhost ([127.0.0.1]:35487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYfAY-00024x-Oo for submit@debbugs.gnu.org; Tue, 22 Oct 2013 12:50:59 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50820) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYfAW-00024e-CH for 14264@debbugs.gnu.org; Tue, 22 Oct 2013 12:50:57 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MV200D00XFB1300@a-mtaout22.012.net.il> for 14264@debbugs.gnu.org; Tue, 22 Oct 2013 19:50:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MV200C6UXGPN9C0@a-mtaout22.012.net.il>; Tue, 22 Oct 2013 19:50:49 +0300 (IDT) In-reply-to: <7wr4bejjhx.fsf@fencepost.gnu.org> 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:79501 Archived-At: > From: Glenn Morris > Cc: Jim Meyering , 14264@debbugs.gnu.org > Date: Mon, 21 Oct 2013 19:23:54 -0400 > > Eli Zaretskii wrote: > > >> Reading mail with GNUS, this segmentation fault strikes when I attempt > >> to read the following message from a local nnml folder: > [...] > > The backtraces are from an optimized build, and all the interesting > > values are "optimized out". Please try reproducing this in an > > unoptimized build, and then submitting a backtrace. > > I just had what looks like the same crash, on entering comp.unix.shell > today in Gnus. Both 24.3 and current trunk crash. Unoptimized 24.3 > backtrace follows: Unfortunately, I cannot reproduce this. I tried with today's trunk both on Windows and on GNU/Linux (the latter in a text-mode session), and neither crashed. Is this reproducible from "emacs -Q"? I started from that, then did this: M-: (setq gnus-select-method '(nntp "nntp.aioe.org")) RET then "M-x gnus RET", then 'U' to subscribe to the group you mentioned, then I typed RET to activate it, navigated to the offending message, and finally typed RET on its summary line to display it. Should I have done anything else? A few comments regarding what I see in the backtrace: > #0 0x00000000004d8c79 in char_table_ref (table=13078765, c=4194733) This value is bogus, of course, and is the immediate reason for the crash. > #1 0x00000000006518dd in composition_compute_stop_pos (cmp_it=0x7fffffff0050, > charpos=1646, bytepos=1647, endpos=1746, string=12927554) ^^^^^^^^^^^^^^^^^^^^^^^^^^ This tells me Emacs was scanning at this position: > col = 43 > prev_col = 42 This is also strange, since the above position is at column 71, not 42 or 43.