From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.bugs Subject: bug#44506: 28.0.50; Segfault on opening a particular message in Gnus in terminal/tty Date: Sun, 08 Nov 2020 13:27:04 -0500 Organization: GNU Message-ID: <877dqvvh53.fsf@gnu.org> References: <87sg9l57vx.fsf@gnu.org> <83zh3t56zd.fsf@gnu.org> <874km1djdi.fsf@gnu.org> <83y2jc6hc9.fsf@gnu.org> <87mtzsbim5.fsf@ericabrahamsen.net> <83v9ef6gnu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9325"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eric Abrahamsen , 44506@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 08 19:28:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbpQ9-0002K8-FV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 19:28:09 +0100 Original-Received: from localhost ([::1]:34964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbpQ8-0007vY-Eo for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 13:28:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbpQ2-0007vF-4c for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 13:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbpQ1-00026u-SK for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 13:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbpQ1-0006GD-Ky; Sun, 08 Nov 2020 13:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 08 Nov 2020 18:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44506 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 44506-submit@debbugs.gnu.org id=B44506.160486003624015 (code B ref 44506); Sun, 08 Nov 2020 18:28:01 +0000 Original-Received: (at 44506) by debbugs.gnu.org; 8 Nov 2020 18:27:16 +0000 Original-Received: from localhost ([127.0.0.1]:33034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbpPH-0006FG-SO for submit@debbugs.gnu.org; Sun, 08 Nov 2020 13:27:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbpPF-0006F2-K4 for 44506@debbugs.gnu.org; Sun, 08 Nov 2020 13:27:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54489) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbpP9-00020t-T6; Sun, 08 Nov 2020 13:27:07 -0500 Original-Received: from [2607:fea8:3fdf:f688:2969:6d76:9383:bd3a] (port=37448 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbpP7-0001bP-OY; Sun, 08 Nov 2020 13:27:06 -0500 In-Reply-To: <83v9ef6gnu.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192898 Archived-At: --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Eli Zaretskii writes: [...] > > So I still think a backtrace from an unoptimized build, where I can > see the exact locus of the crash and ask for values of some variables, > would be the fastest path to finding the culprit. > Please find attached the result of `bt full' from an unoptimized build. > > Thanks. > Thanks again. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=bt-full-debug.txt Content-Transfer-Encoding: quoted-printable #0 0x00005555556be41e in encode_terminal_code (src=3D0x7ffff7f59400, src_l= en=3D1, coding=3D0x55555615e330) at term.c:564 cmp =3D 0x0 gstring =3D XIL(0) i =3D 0 src_end =3D 0x7ffff7f59430 buf =3D 0x555556241720 ' ' , "John =D8=8C=D9=85= =D8=AA=D8=B3=D9=88=D8=AF =DB=8C=D8=B3=D8=B1", '-' , "\377= \377\377" nchars =3D 0 nbytes =3D 0 required =3D 5 tlen =3D 0 tbase =3D 0x0 charset_list =3D XIL(0x7fffea1f684b) #1 0x00005555556beef1 in tty_write_glyphs (f=3D0x555556113798, string=3D0x= 7ffff7f59400, len=3D94) at term.c:773 face_id =3D 11 conversion_buffer =3D 0x555556241b10 ' ' , "John = =D8=8C=D9=85=D8=AA=D8=B3=D9=88=D8=AF =DB=8C=D8=B3=D8=B1", '-' coding =3D 0x55555615e330 n =3D 1 stringlen =3D 1 tty =3D 0x55555615e5a0 #2 0x00005555556c8ca3 in write_glyphs (f=3D0x555556113798, string=3D0x7fff= f7f58290, len=3D94) at terminal.c:163 #3 0x00005555555a000c in update_frame_line (f=3D0x555556113798, vpos=3D24,= updating_menu_p=3Dfalse) at dispnew.c:5089 obody =3D 0x0 nbody =3D 0x7ffff7f58290 op1 =3D 0x7ffff174d858 <_IO_new_file_sync+184> op2 =3D 0x55555611bd50 np1 =3D 0x3d60 nend =3D 0x7ffff7f5a000 tem =3D 0 osp =3D 2 nsp =3D 1444253696 begmatch =3D 21845 endmatch =3D -17056 olen =3D 0 nlen =3D 94 current_matrix =3D 0x55555611bfc0 desired_matrix =3D 0x55555611bd50 current_row =3D 0x555556125e20 desired_row =3D 0x555556123410 must_write_whole_line_p =3D true write_spaces_p =3D false colored_spaces_p =3D false #4 0x000055555559f1fc in update_frame_1 (f=3D0x555556113798, force_p=3Dtru= e, inhibit_id_p=3Dfalse, set_cursor_p=3Dtrue, updating_menu_p=3Dfalse) at d= ispnew.c:4787 current_matrix =3D 0x55555611bfc0 desired_matrix =3D 0x55555611bd50 i =3D 24 pause_p =3D 85 preempt_count =3D 17 #5 0x000055555559b03c in update_frame (f=3D0x555556113798, force_p=3Dtrue,= inhibit_hairy_id_p=3Dfalse) at dispnew.c:3246 paused_p =3D false root_window =3D 0x555556590430 #6 0x00005555555f72d6 in redisplay_internal () at xdisp.c:16023 gcscrollbars =3D true f_redisplay_flag =3D true f =3D 0x555556113798 w =3D 0x555556113a00 sw =3D 0x555556113a00 fr =3D 0x555556113798 pending =3D false must_finish =3D true match_p =3D true tlbufpos =3D { charpos =3D 18373, bytepos =3D 18400 } tlendpos =3D { charpos =3D 850, bytepos =3D 850 } number_of_visible_frames =3D 1 count =3D 3 sf =3D 0x555556113798 polling_stopped_here =3D true tail =3D XIL(0x555556118ce3) frame =3D XIL(0x55555611379d) hscroll_retries =3D 0 garbaged_frame_retries =3D 0 consider_all_windows_p =3D true update_miniwindow_p =3D true #7 0x00005555555f4a20 in redisplay () at xdisp.c:15159 #8 0x0000555555738185 in read_char (commandflag=3D1, map=3DXIL(0x555556db2= b63), prev_event=3DXIL(0), used_mouse_menu=3D0x7fffffffd56d, end_time=3D0x0= ) at keyboard.c:2497 echo_current =3D false c =3D XIL(0) jmpcount =3D 140737488343824 local_getcjmp =3D {{ __jmpbuf =3D {0, 0, 0, 93825003909856, 140737488344000, 9382499= 5092361, 140737488344144, 93825003909856}, __mask_was_saved =3D 0, __saved_mask =3D { __val =3D {0, 140737488344032, 93824995092445, 14073712165526= 7, 2478421848, 140737488344144, 93824995140529, 93825017785299, 3, 14073748= 8344112, 0, 140737488344144, 938 25003909856, 0, 0, 140737488344144} } }} save_jump =3D {{ __jmpbuf =3D {140737488344176, 0, 140737488344304, 938249943525= 82, 0, 48, 140737488344656, 35328}, __mask_was_saved =3D 35328, __saved_mask =3D { __val =3D {93825003945184, 140737488344256, 93824994326029, 9= 3825017785299, 93825003945184, 35328, 35328, 140737488344288, 0, 0, 9382500= 3909856, 140737488344336, 938249 94182452, 93825004550040, 93825003909856, 0} } }} tem =3D XIL(0x555556744190) save =3D make_fixnum(23456248737754) previous_echo_area_message =3D XIL(0) also_record =3D XIL(0) reread =3D false recorded =3D false polling_stopped_here =3D false orig_kboard =3D 0x555556160fc0 #9 0x000055555574b8e8 in read_key_sequence (keybuf=3D0x7fffffffd750, promp= t=3DXIL(0), dont_downcase_last=3Dfalse, can_return_switch_frame=3Dtrue, fix= _current_buffer=3Dtrue, prevent_redisplay=3Dfalse) at keyboard.c:9546 interrupted_kboard =3D 0x555556160fc0 interrupted_frame =3D 0x555556113798 key =3D XIL(0x47c5) used_mouse_menu =3D false echo_local_start =3D 0 last_real_key_start =3D 0 keys_local_start =3D 0 new_binding =3D XIL(0x7fffffffd698) count =3D 3 t =3D 0 echo_start =3D 0 keys_start =3D 0 current_binding =3D XIL(0x555556db2b63) first_unbound =3D 31 mock_input =3D 0 used_mouse_menu_history =3D {false } fkey =3D { parent =3D XIL(0x5555561178a3), map =3D XIL(0x5555561178a3), start =3D 0, end =3D 0 } keytran =3D { parent =3D XIL(0x7fffea245b23), map =3D XIL(0x7fffea245b23), start =3D 0, end =3D 0 } indec =3D { parent =3D XIL(0x555556117893), map =3D XIL(0x555556117893), start =3D 0, end =3D 0 } shift_translated =3D false delayed_switch_frame =3D XIL(0) original_uppercase =3D XIL(0) original_uppercase_position =3D -1 dummyflag =3D false starting_buffer =3D 0x555556744190 fake_prefixed_keys =3D XIL(0) first_event =3D XIL(0) second_event =3D XIL(0) #10 0x000055555573447d in command_loop_1 () at keyboard.c:1354 cmd =3D XIL(0x92bca0) keybuf =3D {make_fixnum(13), make_fixnum(84), XIL(0x55555633fa53), XIL(0), X= IL(0), XIL(0x5555560772e0), XIL(0x7fffffffd7b0), XIL(0), XIL(0), XIL(0x5555= 560772e0), XIL(0x7fffffffd7d0) , XIL(0x55555580e789), XIL(0x7fffffffd7d0), XIL(0x5555560772e0), XIL(0), XI= L(0), XIL(0x7fffffffd7f0), XIL(0x55555580e7dd), XIL(0), XIL(0x5633fa53), XI= L(0x7fffffffd830), XIL(0x55555 5813d08), XIL(0x100000000), XIL(0x90), XIL(0), XIL(0x55555615c000), XIL(0x7= fffffffd850), make_fixnum(0), XIL(0x7fffffffd860), XIL(0x555555813c11)} i =3D 1 prev_modiff =3D 8325 prev_buffer =3D 0x555556744190 already_adjusted =3D false #11 0x00005555558137cc in internal_condition_case (bfun=3D0x555555733fe3 , handlers=3DXIL(0x90), hfun=3D0x5555557335af ) at= eval.c:1359 val =3D XIL(0x555556118043) c =3D 0x55555615c000 #12 0x0000555555733bca in command_loop_2 (ignore=3DXIL(0)) at keyboard.c:10= 95 val =3D make_fixnum(0) #13 0x0000555555812c26 in internal_catch (tag=3DXIL(0xd740), func=3D0x55555= 5733b9d , arg=3DXIL(0)) at eval.c:1120 val =3D XIL(0x555555730588) c =3D 0x55555615ced0 #14 0x0000555555733b68 in command_loop () at keyboard.c:1074 #15 0x0000555555733096 in recursive_edit_1 () at keyboard.c:718 count =3D 1 val =3D XIL(0x7fffffffd990) #16 0x000055555573328e in Frecursive_edit () at keyboard.c:790 count =3D 0 buffer =3D XIL(0) #17 0x000055555572f02b in main (argc=3D3, argv=3D0x7fffffffdbb8) at emacs.c= :2047 stack_bottom_variable =3D 0x20 no_loadup =3D false junk =3D 0x0 dname_arg =3D 0x0 ch_to_dir =3D 0x0 original_pwd =3D 0x0 dump_mode =3D 0x0 skip_args =3D 1 temacs =3D 0x0 attempt_load_pdump =3D true rlim =3D { rlim_cur =3D 10022912, rlim_max =3D 18446744073709551615 } lc_all =3D 0x0 sockfd =3D -1 module_assertions =3D false Lisp Backtrace: "redisplay_internal (C function)" (0x0) --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAl+oOHgQHGJhbmRhbGlA Z251Lm9yZwAKCRCLRKDNx7lW8qDSEACXsxZhDQ7n67ELnUK/yrnaUDvynGn2daFD nmNspg8kxLL21IUcUXA15YUlycvhJakl9ZYNcPpPyDOs2kmsQXYp6Bbs6MS1mTWq iko5h8BnMW6ysy/AO1hIYv5Xj54puyf5exOfeTmNxP4wCbCS/TM5hre5/P2eJO0t 0s+VJvGUSo8U0eM4B3Hnvc3ycgR5x7et/4DFd9H1ucCcOoD9TvuhouFZQTDUxLJd 09HO2D3EuE645XQsDHhJpGFEFLtG2oBeAphCjSyCu1lUndyDLlO09Ah7hX2suQSY Jmi6LLXcqiFgUJd3FSJH6lwRdI6qmen6cak1PaTSXJ+jkcIIqB8SdhrRskSWmgfs 0RWI3W+i3lTAuJZ+DJDbT8GectrL5bzhZQyL6bEs9Vp4/dgUzDg41uo0WIWsW6QW SKb/op239K9jDvoSlUWe33IJYnS+SxtPQEerY83pJCEzG65QkPry2WpTjH34XZsU BVkjCswQ45kyh3uiye2ckLw2pBTNHdmIT99++bdTp43lBAiZ+Ce6P41yzm60WIa0 VXRN4Q6uXbvBRH2NtscwIoCnOBHUMxHAO7kT2rNyc7/KQMg3A8CLmheSX0sxKyI/ 9KyaXjjbJ3alg9Qr7saANdu3co8sC/QWP6pZhH6+VHQ3gKIk2Zbhz8xDDO9lsyTY wzQVIlw1bg== =2dcQ -----END PGP SIGNATURE----- --==-=-=--