GNU bug report logs - #44506
28.0.50; Segfault on opening a particular message in Gnus in terminal/tty

Previous Next

Packages: emacs, gnus;

Reported by: Amin Bandali <bandali <at> gnu.org>

Date: Sat, 7 Nov 2020 18:40:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 27.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Amin Bandali <bandali <at> gnu.org>
Cc: eric <at> ericabrahamsen.net, 44506 <at> debbugs.gnu.org
Subject: Re: bug#44506: 28.0.50; Segfault on opening a particular message in
 Gnus in terminal/tty
Date: Sun, 08 Nov 2020 20:54:48 +0200
> From: Amin Bandali <bandali <at> gnu.org>
> Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,  44506 <at> debbugs.gnu.org
> Date: Sun, 08 Nov 2020 13:27:04 -0500
> 
> Please find attached the result of `bt full' from an unoptimized build.

Thanks.

> #0  0x00005555556be41e in encode_terminal_code (src=0x7ffff7f59400, src_len=1, coding=0x55555615e330) at term.c:564
>         cmp = 0x0
>         gstring = XIL(0)
>         i = 0
>         src_end = 0x7ffff7f59430
>         buf = 0x555556241720 ' ' <repeats 78 times>, "John ،متسود یسر", '-' <repeats 55 times>, "\377\377\377"
>         nchars = 0
>         nbytes = 0
>         required = 5
>         tlen = 0
>         tbase = 0x0
>         charset_list = XIL(0x7fffea1f684b)
> #1  0x00005555556beef1 in tty_write_glyphs (f=0x555556113798, string=0x7ffff7f59400, len=94) at term.c:773
>         face_id = 11
>         conversion_buffer = 0x555556241b10 ' ' <repeats 78 times>, "John ،متسود یسر", '-' <repeats 55 times>
>         coding = 0x55555615e330
>         n = 1
>         stringlen = 1
>         tty = 0x55555615e5a0
> #2  0x00005555556c8ca3 in write_glyphs (f=0x555556113798, string=0x7ffff7f58290, len=94) at terminal.c:163
> #3  0x00005555555a000c in update_frame_line (f=0x555556113798, vpos=24, updating_menu_p=false) at dispnew.c:5089

Please show the output of these GDB commands:

  (gdb) source /path/to/emacs/src/.gdbinit
  (gdb) frame 0
  (gdb) print *src
  (gdb) frame 3
  (gdb) pgrowx desired_row

(replace "/path/to/emacs/src" with the actual directory name of the
Emacs's src directory).




This bug report was last modified 3 years and 33 days ago.

Previous Next


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