unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 14264@debbugs.gnu.org, jim@meyering.net
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	[thread overview]
Message-ID: <83d2mxjll3.fsf@gnu.org> (raw)
In-Reply-To: <7wr4bejjhx.fsf@fencepost.gnu.org>

> From: Glenn Morris <rgm@gnu.org>
> Cc: Jim Meyering <jim@meyering.net>,  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.





  parent reply	other threads:[~2013-10-22 16:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25  5:57 bug#14264: 24.3.50; SEGV in char_table_ref's use of SUB_CHAR_TABLE_P Jim Meyering
2013-04-25 16:18 ` Eli Zaretskii
2013-04-26 23:44   ` Jim Meyering
2013-10-21 23:23   ` Glenn Morris
2013-10-21 23:30     ` Glenn Morris
2013-10-22 16:51     ` Eli Zaretskii [this message]
2013-10-22 18:25       ` Glenn Morris
2013-10-22 20:30         ` Eli Zaretskii
2013-10-23  7:53           ` Glenn Morris
2013-10-23 16:40             ` Eli Zaretskii
2014-07-08 17:53               ` Stefan Monnier
2014-07-08 19:33                 ` Eli Zaretskii
2014-07-08 19:42                   ` Jim Meyering
2014-07-08 20:26                     ` Jim Meyering
2014-07-08 20:25                   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d2mxjll3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14264@debbugs.gnu.org \
    --cc=jim@meyering.net \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).