all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 16223@debbugs.gnu.org
Subject: bug#16223: 24.3.50; Segfault in search.c
Date: Mon, 23 Dec 2013 18:18:58 +0200	[thread overview]
Message-ID: <8338lj8rrh.fsf@gnu.org> (raw)
In-Reply-To: <87ha9zc1ts.fsf@yahoo.fr>

> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> 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





  reply	other threads:[~2013-12-23 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23 10:13 bug#16223: 24.3.50; Segfault in search.c Nicolas Richard
2013-12-23 16:18 ` Eli Zaretskii [this message]
2013-12-23 16:25   ` Nicolas Richard
2013-12-23 17:14     ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=8338lj8rrh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16223@debbugs.gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.