From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47067: 28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c Date: Sat, 13 Mar 2021 19:51:59 +0000 Message-ID: References: <83sg52lykn.fsf@gnu.org> <83mtv8lrmf.fsf@gnu.org> <83czw4lelg.fsf@gnu.org> <835z1wl6ao.fsf@gnu.org> <831rckl56k.fsf@gnu.org> <83o8fojgqy.fsf@gnu.org> <83lfarjzof.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2174"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47067@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 13 21:02:08 2021 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 1lLASd-0000Rj-Nn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 21:02:07 +0100 Original-Received: from localhost ([::1]:39062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLASc-0005Jo-9d for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 15:02:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLAJq-0003Jo-5k for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 14:53:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49171) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLAJp-0000Bx-T2 for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 14:53:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLAJp-0006S2-QX for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 14:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Mar 2021 19:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47067 X-GNU-PR-Package: emacs Original-Received: via spool by 47067-submit@debbugs.gnu.org id=B47067.161566512424718 (code B ref 47067); Sat, 13 Mar 2021 19:53:01 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 13 Mar 2021 19:52:04 +0000 Original-Received: from localhost ([127.0.0.1]:60714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLAIt-0006Qb-6h for submit@debbugs.gnu.org; Sat, 13 Mar 2021 14:52:03 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:64044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLAIq-0006QC-IR for 47067@debbugs.gnu.org; Sat, 13 Mar 2021 14:52:01 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12DJpxrw016115 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 13 Mar 2021 19:51:59 GMT In-Reply-To: <83lfarjzof.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Mar 2021 09:11:28 +0200") 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:202295 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: 47067@debbugs.gnu.org >> Date: Fri, 12 Mar 2021 20:21:26 +0000 >> >> > I'd like to compare your backtrace with what I get here. >> >> Mmmh, my Emacs on the 32bit system I prepared when running interactively >> under gdb is unusable because all keys except the basic letters are >> mixed-up. I never experienced this, is this common? How can I solve >> it? > > Rebuild Emacs not under GDB. I think the breakpoints and other stuff > you set up in GDB get dumped into the pdmp file, and thus render the > dumped Emacs not very usable. I always rebuild Emacs when I let it > dump itself (which happens rarely, because I rarely have to debug > temacs). > > If the above doesn't help, it could be that some of the *.eln files > are damaged for similar reasons, so maybe remove them and let Emacs > recompile them as well. > > If none of the above helps, please describe how did you "prepare Emacs > on the 32bit system when running interactively under GDB", maybe I > don't understand what exactly you did there. I've done nothing special, I've just a regular wide-int 32bit build on the virtual machine I've prepared, running interactivelly Emacs underg gdb is unusable for the reason I've described (outside gdb it works perfectly). I think it has nothing to do with native compilation. > Meanwhile, could you please post the backtrace I asked for from the > 64-bit build? Maybe it will tell me enough to get some ideas. Here it is: #0 Fskip_chars_backward (string=0xd7f594, lim=0x0) at syntax.c:1610 #1 0x00007ffff2ce170d in F632d6261636b776172642d737773_c_backward_sws_0 () from /home/andcor03/.emacs.d/eln-cache/28.0.50-85dc790d/cc-engine-ccfcb170-1b345b21.eln #2 0x000000000052445b in Ffuncall (nargs=1, args=0x7fffffff74e0) at eval.c:3009 #3 0x00007ffff2dfe124 in F632d666c2d6465636c2d656e64_c_fl_decl_end_0 () from /home/andcor03/.emacs.d/eln-cache/28.0.50-85dc790d/cc-mode-515a98a5-c7761ade.eln #4 0x00000000005274f0 in funcall_lambda (fun=0xdc4cc5, nargs=1, arg_vector=0x7fffffff7618) at lisp.h:731 #5 0x00000000005242fd in Ffuncall (nargs=2, args=0x7fffffff7610) at eval.c:3025 #6 0x00007ffff2dfec94 in F632d636f6e746578742d657870616e642d666c2d726567696f6e_c_context_expand_fl_region_0 () from /home/andcor03/.emacs.d/eln-cache/28.0.50-85dc790d/cc-mode-515a98a5-c7761ade.eln #7 0x00000000005274f0 in funcall_lambda (fun=0xdc4d65, nargs=2, arg_vector=0x7fffffff7738) at lisp.h:731 #8 0x00000000005242fd in Ffuncall (nargs=3, args=0x7fffffff7730) at eval.c:3025 #9 0x00007ffff2dfee34 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_62 () from /home/andcor03/.emacs.d/eln-cache/28.0.50-85dc790d/cc-mode-515a98a5-c7761ade.eln #10 0x00000000005274f0 in funcall_lambda (fun=0xcbd8c5, nargs=1, arg_vector=0x7fffffff7848) at lisp.h:731 #11 0x00000000005242fd in Ffuncall (nargs=2, args=0x7fffffff7840) at eval.c:3025 #12 0x000000000052450a in call1 (fn=, arg1=) at eval.c:2869 #13 0x000000000052e6e4 in mapcar1 (leni=1, vals=vals@entry=0x0, fn=fn@entry=0xcbd8c5, seq=seq@entry=0xe111d3) at lisp.h:731 #14 0x0000000000530655 in Fmapc (function=0xcbd8c5, sequence=0xe111d3) at fns.c:2867 #15 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffff7930) at eval.c:3009 #16 0x00007ffff2dfef77 in F632d6265666f72652d636f6e746578742d666c2d657870616e642d726567696f6e_c_before_context_fl_expand_region_0 () from /home/andcor03/.emacs.d/eln-cache/28.0.50-85dc790d/cc-mode-515a98a5-c7761ade.eln #17 0x00000000005274f0 in funcall_lambda (fun=0xdc4db5, nargs=2, arg_vector=0x7fffffff7ae8) at lisp.h:731 #18 0x00000000005242fd in Ffuncall (nargs=3, args=0x7fffffff7ae0) at eval.c:3025 #19 0x00007ffff2dff40f in F632d666f6e742d6c6f636b2d666f6e746966792d726567696f6e_c_font_lock_fontify_region_0 () from /home/andcor03/.emacs.d/eln-cache/28.0.50-85dc790d/cc-mode-515a98a5-c7761ade.eln #20 0x00000000005274f0 in funcall_lambda (fun=0xdc4e05, nargs=3, arg_vector=0x7fffffff7c68) at lisp.h:731 #21 0x00000000005242fd in Ffuncall (nargs=4, args=0x7fffffff7c60) at eval.c:3025 #22 0x00007ffff40c06b5 in F666f6e742d6c6f636b2d666f6e746966792d726567696f6e_font_lock_fontify_region_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/font-lock-895216f6-4cc69ac6.eln #23 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffff7d20) at eval.c:3009 #24 0x000000000055da00 in exec_byte_code (bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) at bytecode.c:632 #25 0x00000000005242fd in Ffuncall (nargs=2, args=0x7fffffff80b0) at eval.c:3025 #26 0x00000000005244bc in run_hook_wrapped_funcall (nargs=, args=0x7fffffff80b0) at eval.c:2746 #27 0x0000000000523b3d in run_hook_with_args (nargs=2, args=0x7fffffff80b0, funcall=0x5244a0 ) at eval.c:2827 #28 0x00007ffff4318bc5 in F6a69742d6c6f636b2d2d72756e2d66756e6374696f6e73_jit_lock__run_functions_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/jit-lock-8a988e43-73eb7028.eln #29 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffff8200) at eval.c:3009 #30 0x00007ffff4319521 in F6a69742d6c6f636b2d666f6e746966792d6e6f77_jit_lock_fontify_now_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/jit-lock-8a988e43-73eb7028.eln----------------------------------------------------------------------------- #31 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffff8350) at eval.c:3009 #32 0x00007ffff431894d in F6a69742d6c6f636b2d66756e6374696f6e_jit_lock_function_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/jit-lock-8a988e43-73eb7028.eln #33 0x000000000052445b in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffff8440) at eval.c:3009 #34 0x00000000005236c9 in internal_condition_case_n (bfun=0x524190 , nargs=2, args=0x7fffffff8440, handlers=, hfun=0x4330e0 ) at eval.c:1612 #35 0x0000000000427a50 in safe__call (inhibit_quit=inhibit_quit@entry=false, nargs=nargs@entry=2, func=, ap=ap@entry=0x7fffffff84b8) at lisp.h:1002 #36 0x0000000000432305 in safe_call (nargs=nargs@entry=2, func=) at xdisp.c:2996 #37 0x000000000043244f in safe_call1 (arg=0x1f10a, fn=) at xdisp.c:3007 #38 handle_fontified_prop (it=0x7fffffff8700) at xdisp.c:4313 #39 handle_fontified_prop (it=0x7fffffff8700) at xdisp.c:4250 #40 0x0000000000434bfd in handle_stop (it=0x7fffffff8700) at xdisp.c:3841 #41 0x000000000044f2d2 in redisplay_window (window=, just_this_one_p=) at xdisp.c:18960 #42 0x0000000000452f2b in redisplay_window_0 (window=window@entry=0xb6228d) at xdisp.c:16581 #43 0x00000000005234e4 in internal_condition_case_1 (bfun=0x452f00 , arg=0xb6228d, handlers=, hfun=0x4276f0 ) at eval.c:1472 #44 0x0000000000429791 in redisplay_windows (window=0xb6228d) at xdisp.c:16561 #45 0x0000000000448e65 in redisplay_internal () at xdisp.c:16029 #46 0x000000000044abd0 in redisplay_preserve_echo_area (from_where=) at xdisp.c:16378 #47 0x0000000000418fdf in Fredisplay (force=) at dispnew.c:6157 #48 Fredisplay (force=0x0) at dispnew.c:6135 #49 0x00007ffff44facc2 in F7369742d666f72_sit_for_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/subr-13adf6a6-4a99f497.eln #50 0x000000000052445b in Ffuncall (nargs=2, args=0x7fffffffd5b0) at eval.c:3009 #51 0x00007ffff408705d in F697365617263682d6c617a792d686967686c696768742d6e65772d6c6f6f70_isearch_lazy_highlight_new_loop_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #52 0x000000000052445b in Ffuncall (nargs=1, args=0x7fffffffd750) at eval.c:3009 #53 0x00007ffff40772fd in F697365617263682d757064617465_isearch_update_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #54 0x000000000052445b in Ffuncall (nargs=1, args=0x7fffffffd920) at eval.c:3009 #55 0x00007ffff4080ec4 in F697365617263682d7365617263682d616e642d757064617465_isearch_search_and_update_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #56 0x000000000052445b in Ffuncall (nargs=1, args=0x7fffffffd9d8) at eval.c:3009 #57 0x00007ffff4082ead in F697365617263682d70726f636573732d7365617263682d737472696e67_isearch_process_search_string_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #58 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffffdac0) at eval.c:3009 #59 0x00007ffff4082cf9 in F697365617263682d70726f636573732d7365617263682d63686172_isearch_process_search_char_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #60 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffffdbc0) at eval.c:3009 #61 0x00007ffff4082bb5 in F697365617263682d7072696e74696e672d63686172_isearch_printing_char_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #62 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffffdcf8) at eval.c:3009 #63 0x0000000000520c31 in Ffuncall_interactively (nargs=3, args=0x7fffffffdcf8) at callint.c:260 #64 0x000000000052445b in Ffuncall (nargs=4, args=0x7fffffffdcf0) at eval.c:3009 #65 0x0000000000526210 in Fapply (nargs=3, args=0x7fffffffde40) at eval.c:2639 #66 0x00000000005222ae in Fcall_interactively (function=0x7ffff3f38050, record_flag=0x0, keys=0x1040f35) at callint.c:353 #67 0x00007ffff43b7a51 in F636f6d6d616e642d65786563757465_command_execute_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/simple-fab5b0cf-9fc01ab7.eln #68 0x000000000052445b in Ffuncall (nargs=2, args=0x7fffffffdfc0) at eval.c:3009 #69 0x000000000052450a in call1 (fn=, arg1=) at eval.c:2869 #70 0x00000000004b9846 in command_loop_1 () at lisp.h:1002 #42 0x0000000000452f2b in redisplay_window_0 (window=window@entry=0xb6228d) at xdisp.c:16581 #43 0x00000000005234e4 in internal_condition_case_1 (bfun=0x452f00 , arg=0xb6228d, handlers=, hfun=0x4276f0 ) at eval.c:1472 #44 0x0000000000429791 in redisplay_windows (window=0xb6228d) at xdisp.c:16561 #45 0x0000000000448e65 in redisplay_internal () at xdisp.c:16029 #46 0x000000000044abd0 in redisplay_preserve_echo_area (from_where=) at xdisp.c:16378 #47 0x0000000000418fdf in Fredisplay (force=) at dispnew.c:6157 #48 Fredisplay (force=0x0) at dispnew.c:6135 #49 0x00007ffff44facc2 in F7369742d666f72_sit_for_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/subr-13adf6a6-4a99f497.eln #50 0x000000000052445b in Ffuncall (nargs=2, args=0x7fffffffd5b0) at eval.c:3009 #51 0x00007ffff408705d in F697365617263682d6c617a792d686967686c696768742d6e65772d6c6f6f70_isearch_lazy_highlight_new_loop_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #52 0x000000000052445b in Ffuncall (nargs=1, args=0x7fffffffd750) at eval.c:3009 #53 0x00007ffff40772fd in F697365617263682d757064617465_isearch_update_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #54 0x000000000052445b in Ffuncall (nargs=1, args=0x7fffffffd920) at eval.c:3009 #55 0x00007ffff4080ec4 in F697365617263682d7365617263682d616e642d757064617465_isearch_search_and_update_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #56 0x000000000052445b in Ffuncall (nargs=1, args=0x7fffffffd9d8) at eval.c:3009 #57 0x00007ffff4082ead in F697365617263682d70726f636573732d7365617263682d737472696e67_isearch_process_search_string_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #58 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffffdac0) at eval.c:3009 #59 0x00007ffff4082cf9 in F697365617263682d70726f636573732d7365617263682d63686172_isearch_process_search_char_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #60 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffffdbc0) at eval.c:3009 #61 0x00007ffff4082bb5 in F697365617263682d7072696e74696e672d63686172_isearch_printing_char_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/isearch-693bdd75-d165ea70.eln #62 0x000000000052445b in Ffuncall (nargs=3, args=0x7fffffffdcf8) at eval.c:3009 #63 0x0000000000520c31 in Ffuncall_interactively (nargs=3, args=0x7fffffffdcf8) at callint.c:260 #64 0x000000000052445b in Ffuncall (nargs=4, args=0x7fffffffdcf0) at eval.c:3009 #65 0x0000000000526210 in Fapply (nargs=3, args=0x7fffffffde40) at eval.c:2639 #66 0x00000000005222ae in Fcall_interactively (function=0x7ffff3f38050, record_flag=0x0, keys=0x1040f35) at callint.c:353 #67 0x00007ffff43b7a51 in F636f6d6d616e642d65786563757465_command_execute_0 () from /home/andcor03/emacs2/src/../native-lisp/28.0.50-85dc790d/simple-fab5b0cf-9fc01ab7.eln #68 0x000000000052445b in Ffuncall (nargs=2, args=0x7fffffffdfc0) at eval.c:3009 #69 0x000000000052450a in call1 (fn=, arg1=) at eval.c:2869 #70 0x00000000004b9846 in command_loop_1 () at lisp.h:1002 --Type for more, q to quit, c to continue without paging-- #71 0x0000000000523457 in internal_condition_case (bfun=0x4b9490 , handlers=, hfun=0x4b0770 ) at eval.c:1448 #72 0x00000000004ab5ec in command_loop_2 (ignore=ignore@entry=0x0) at lisp.h:1002 #73 0x0000000000525913 in internal_catch (tag=0xca80, func=0x4ab5d0 , arg=0x0) at eval.c:1198 #74 0x00000000004ab594 in command_loop () at lisp.h:1002 #75 0x00000000004b0391 in recursive_edit_1 () at keyboard.c:720 #76 0x00000000004b06b3 in Frecursive_edit () at keyboard.c:789 #77 0x0000000000418036 in main (argc=, argv=) at emacs.c:2095 Thanks Andrea