GNU bug report logs - #59452
29.0.50; [PGTK] SIGSEV Args out of range: 6, 6

Previous Next

Package: emacs;

Reported by: German Pacenza <germanp82 <at> hotmail.com>

Date: Mon, 21 Nov 2022 18:52:01 UTC

Severity: normal

Found in version 29.0.50

Full log


Message #14 received at 59452 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: German Pacenza <germanp82 <at> hotmail.com>
Cc: 59452 <at> debbugs.gnu.org
Subject: Re: bug#59452: 29.0.50; [PGTK] SIGSEV Args out of range: 6, 6
Date: Wed, 23 Nov 2022 08:38:21 +0800
German Pacenza <germanp82 <at> hotmail.com> writes:

> Something like this?:

Thanks!

> Thread 1 "emacs" hit Breakpoint 1, args_out_of_range (a1=a1 <at> entry=0x1a, a2=a2 <at> entry=0x1a) at data.c:155
> 155	 xsignal2 (Qargs_out_of_range, a1, a2);
> (gdb) bt full
> #0  args_out_of_range (a1=a1 <at> entry=0x1a, a2=a2 <at> entry=0x1a) at data.c:155
> #1  0x00005555555dd84e in validate_interval_range
>     (object=0x555555e7e984, begin=0x7fffffffc658, end=<optimized out>, force=<optimized out>)
>     at textprop.c:173
>         len = <optimized out>
>         i = <optimized out>
>         searchpos = <optimized out>
>         begin0 = 0x1a
>         end0 = 0x1a
> #2  0x00005555557cd0f0 in Ftext_properties_at (position=<optimized out>, 
>     position <at> entry=0x1a, object=<optimized out>, object <at> entry=0x555555e7e984) at textprop.c:580
>         i = <optimized out>
> #3  0x00005555557cd15c in Fget_text_property
>     (position=position <at> entry=0x1a, prop=prop <at> entry=0x8820, object=object <at> entry=0x555555e7e984)
>     at textprop.c:604
> #4  0x000055555564093f in note_mode_line_or_margin_highlight
>     (area=<optimized out>, y=<optimized out>, x=<optimized out>, window=<optimized out>)
>     at xdisp.c:34594
>         f = 0x5555562dd9d0
>         hlinfo = 0x5555564c00d0
>         charpos = 6
>         pos = 0x1a
>         help = 0x0
>         mouse_face_shown = <optimized out>
>         w = 0x555556d41f18
>         pointer = <optimized out>

This is not ok for code run from a read_socket_hook.  If you type the
following in gdb:

  (gdb) up
  (gdb) p BUF_ZV (XBUFFER (object))
  (gdb) p BUF_BEGV (XBUFFER (object))

what does it say?

(If the above does not work, build Emacs with -g3 -O0.)




This bug report was last modified 2 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.