bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Po Lu
Subject: bug#59452: 29.0.50; [PGTK] SIGSEV Args out of range: 6, 6
Date: Wed, 23 Nov 2022 08:38:21 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

German Pacenza <germanp82@hotmail.com> writes:

> Something like this?:

Thanks!

> Thread 1 "emacs" hit Breakpoint 1, args_out_of_range (a1=a1@entry=0x1a, 
> a2=a2@entry=0x1a) at data.c:155
> 155    xsignal2 (Qargs_out_of_range, a1, a2);
> (gdb) bt full
> #0  args_out_of_range (a1=a1@entry=0x1a, a2=a2@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@entry=0x1a, object=<optimized out>, object@entry=0x555555e7e984) 
> at textprop.c:580
>         i = <optimized out>
> #3  0x00005555557cd15c in Fget_text_property
>     (position=position@entry=0x1a, prop=prop@entry=0x8820, 
> object=object@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.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]