From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building the igc branch on MS-Windows Date: Thu, 25 Apr 2024 14:16:55 +0300 Message-ID: <86r0et1yl4.fsf@gnu.org> References: <86il063imh.fsf@gnu.org> <87ttjqghyd.fsf@gmail.com> <86zfti101u.fsf@gnu.org> <87pluegd4z.fsf@gmail.com> <86ttjp20je.fsf@gnu.org> <86sez91yy4.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20919"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: gerd.moellmann@gmail.com, eller.helmut@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 25 13:17:56 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rzx6x-0005GF-BS for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Apr 2024 13:17:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzx6I-0002yW-Qt; Thu, 25 Apr 2024 07:17:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzx6G-0002xo-Hl for emacs-devel@gnu.org; Thu, 25 Apr 2024 07:17:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzx6G-0005wp-8B; Thu, 25 Apr 2024 07:17:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bwLosrSuf5OYEYAkyyZR59e32x4xRzTssFP6w0exaVo=; b=QILFVvLGmkmX sjkueJ7uThXDs7Pn8wYmua500i/FiLeUgy2AFHPmBKoDxPC/MFyFPnx7xywQDlU0GBiU3/6fJFBcv MkUEhKGlkG9R4PqB6tMOiblB4x1VzpUeViInJA1VFlgzN9/foie7vdOpcCfvquPhE9uogsT/UG8xE bO0SMX61Wtfacdj7kDovWE6om0NLXKTICqYPLgRcgn3/fZ+2sIPw6LTsxcbhT80Fl6rERn6IKeCTB f9y3F5GiQToZP69pPD9Rqj2+vX8FPPl0rGHTDbFUMDIdfXsPX7U0Kt/9zXXNwhksTc6GfH6dI2WNK lj3tdDSUcYbA5IEfKA1xFQ==; In-Reply-To: <86sez91yy4.fsf@gnu.org> (message from Eli Zaretskii on Thu, 25 Apr 2024 14:09:07 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318071 Archived-At: > Date: Thu, 25 Apr 2024 14:09:07 +0300 > From: Eli Zaretskii > CC: emacs-devel@gnu.org > > One more backtrace below, obtained like the ones before, by scrolling > through xdisp.c. And two more. These seem to be related to bytecode, so probably are the same problem as with Lisp strings. Thread 1 received signal SIGSEGV, Segmentation fault. 0x0080c321 in exec_byte_code (fun=XIL(0xa4fc5cd), args_template=1537, nargs=3, args=0x1a1b03f8) at bytecode.c:1787 1787 PUSH (vectorp[op - Bconstant]); (gdb) bt #0 0x0080c321 in exec_byte_code (fun=XIL(0xa4fc5cd), args_template=1537, nargs=3, args=0x1a1b03f8) at bytecode.c:1787 #1 0x007b7126 in funcall_lambda (fun=XIL(0x12cfcf45), nargs=1, arg_vector=0x1a1b0100) at eval.c:3200 #2 0x007b653c in funcall_general (fun=XIL(0x12cfcf45), numargs=1, args=0x1a1b0100) at eval.c:2982 #3 0x007b681c in Ffuncall (nargs=2, args=0x1a1b00fc) at eval.c:3032 #4 0x007b5f0b in run_hook_wrapped_funcall (nargs=2, args=0x1a1b00fc) at eval.c:2810 #5 0x007b6173 in run_hook_with_args (nargs=2, args=0x1a1b00fc, funcall=0x7b5ed5 ) at eval.c:2891 #6 0x007b5f48 in Frun_hook_wrapped (nargs=2, args=0x1a1b00fc) at eval.c:2825 #7 0x007b6d16 in funcall_subr (subr=0xd050c0 , numargs=2, args=0x1a1b00fc) at eval.c:3123 #8 0x00808e62 in exec_byte_code (fun=XIL(0x19a4a5ad), args_template=514, nargs=2, args=0x1a1b0094) at bytecode.c:829 #9 0x007b7126 in funcall_lambda (fun=XIL(0x19a49f85), nargs=1, arg_vector=0x66dae1c) at eval.c:3200 #10 0x007b653c in funcall_general (fun=XIL(0x19a49f85), numargs=1, args=0x66dae1c) at eval.c:2982 #11 0x007b681c in Ffuncall (nargs=2, args=0x66dae18) at eval.c:3032 #12 0x007b3118 in internal_condition_case_n (bfun=0x7b6698 , nargs=2, args=0x66dae18, handlers=XIL(0x18), hfun=0x606089 ) at eval.c:1624 #13 0x0060617d in dsafe__call (inhibit_quit=false, f=0x7b6698 , nargs=2, args=0x66dae18) at xdisp.c:3067 #14 0x00606231 in dsafe_call1 (f=XIL(0x18c17c08), arg=make_fixnum(376207)) at xdisp.c:3097 #15 0x00609e95 in handle_fontified_prop (it=0x66dbe3c) at xdisp.c:4616 #16 0x00608b51 in handle_stop (it=0x66dbe3c) at xdisp.c:4136 #17 0x00616553 in next_element_from_buffer (it=0x66dbe3c) at xdisp.c:9643 #18 0x00612cfc in get_next_display_element (it=0x66dbe3c) at xdisp.c:8209 #19 0x006443c2 in display_line (it=0x66dbe3c, cursor_vpos=0) at xdisp.c:25295 #20 0x0063736f in try_window (window=XIL(0xa21c62d), pos=..., flags=0) at xdisp.c:21136 #21 0x006338b3 in redisplay_window (window=XIL(0xa21c62d), just_this_one_p=true) at xdisp.c:20245 #22 0x0062c8aa in redisplay_window_1 (window=XIL(0xa21c62d)) at xdisp.c:18023 #23 0x007b2f9a in internal_condition_case_1 ( bfun=0x62c865 , arg=XIL(0xa21c62d), handlers=XIL(0x19c3108b), hfun=0x62c6ed ) at eval.c:1568 #24 0x0062b7eb in redisplay_internal () at xdisp.c:17512 #25 0x0062913c in redisplay () at xdisp.c:16562 #26 0x006fca1e in read_char (commandflag=1, map=XIL(0x12cfbddb), prev_event=XIL(0), used_mouse_menu=0x66df657, end_time=0x0) at keyboard.c:2678 #27 0x0070ec99 in read_key_sequence (keybuf=0x66df7b0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10727 #28 0x006f9791 in command_loop_1 () at keyboard.c:1429 #29 0x007b2ee9 in internal_condition_case (bfun=0x6f9377 , handlers=XIL(0x48), hfun=0x6f8846 ) at eval.c:1544 #30 0x006f8f91 in command_loop_2 (handlers=XIL(0x48)) at keyboard.c:1168 #31 0x007b251a in internal_catch (tag=XIL(0x8790), func=0x6f8f6f , arg=XIL(0x48)) at eval.c:1224 #32 0x006f8f27 in command_loop () at keyboard.c:1146 #33 0x006f8394 in recursive_edit_1 () at keyboard.c:754 #34 0x006f8595 in Frecursive_edit () at keyboard.c:837 #35 0x006f485b in main (argc=2, argv=0x592570) at emacs.c:2626 Lisp Backtrace: Cannot access memory at address 0xa4fbfd4 (gdb) fr 3 #3 0x007b681c in Ffuncall (nargs=2, args=0x1a1b00fc) at eval.c:3032 3032 Lisp_Object val = funcall_general (args[0], nargs - 1, args + 1); (gdb) p args[0] $1 = XIL(0x12cfcf45) (gdb) xtype Lisp_Vectorlike Cannot access memory at address 0x12cfcf40 (gdb) fr 11 #11 0x007b681c in Ffuncall (nargs=2, args=0x66dae18) at eval.c:3032 3032 Lisp_Object val = funcall_general (args[0], nargs - 1, args + 1); (gdb) p args[0] $2 = XIL(0x18c17c08) (gdb) xtype Lisp_Symbol (gdb) xsymbol $3 = (struct Lisp_Symbol *) 0x19a49f68 "jit-lock-function" (gdb) fr 0 #0 0x0080c321 in exec_byte_code (fun=XIL(0xa4fc5cd), args_template=1537, nargs=3, args=0x1a1b03f8) at bytecode.c:1787 1787 PUSH (vectorp[op - Bconstant]); (gdb) l 1782 CASE_DEFAULT 1783 CASE (Bconstant): 1784 if (BYTE_CODE_SAFE 1785 && ! (Bconstant <= op && op < Bconstant + const_length)) 1786 emacs_abort (); 1787 PUSH (vectorp[op - Bconstant]); 1788 NEXT; 1789 } 1790 } 1791 (gdb) p vectorp $4 = (Lisp_Object *) 0xa4fc4fc (gdb) p op-Bconstant $5 = 19 (gdb) p vectorp[0] Cannot access memory at address 0xa4fc4fc Thread 1 received signal SIGSEGV, Segmentation fault. 0x0080b226 in exec_byte_code (fun=XIL(0xa4edefd), args_template=0, nargs=0, args=0x1a0fb58c) at bytecode.c:1434 1434 PUSH (make_fixed_natnum (BEGV)); (gdb) bt #0 0x0080b226 in exec_byte_code (fun=XIL(0xa4edefd), args_template=0, nargs=0, args=0x1a0fb58c) at bytecode.c:1434 #1 0x007b7126 in funcall_lambda (fun=XIL(0x12cd5925), nargs=1, arg_vector=0x1a0fb180) at eval.c:3200 #2 0x007b653c in funcall_general (fun=XIL(0x12cd5925), numargs=1, args=0x1a0fb180) at eval.c:2982 #3 0x007b681c in Ffuncall (nargs=2, args=0x1a0fb17c) at eval.c:3032 #4 0x007b5f0b in run_hook_wrapped_funcall (nargs=2, args=0x1a0fb17c) at eval.c:2810 #5 0x007b6173 in run_hook_with_args (nargs=2, args=0x1a0fb17c, funcall=0x7b5ed5 ) at eval.c:2891 #6 0x007b5f48 in Frun_hook_wrapped (nargs=2, args=0x1a0fb17c) at eval.c:2825 #7 0x007b6d16 in funcall_subr (subr=0xd050c0 , numargs=2, args=0x1a0fb17c) at eval.c:3123 #8 0x00808e62 in exec_byte_code (fun=XIL(0x1988a5ad), args_template=514, nargs=2, args=0x1a0fb114) at bytecode.c:829 #9 0x007b7126 in funcall_lambda (fun=XIL(0x19889f85), nargs=1, arg_vector=0x66d67fc) at eval.c:3200 #10 0x007b653c in funcall_general (fun=XIL(0x19889f85), numargs=1, args=0x66d67fc) at eval.c:2982 #11 0x007b681c in Ffuncall (nargs=2, args=0x66d67f8) at eval.c:3032 #12 0x007b3118 in internal_condition_case_n (bfun=0x7b6698 , nargs=2, args=0x66d67f8, handlers=XIL(0x18), hfun=0x606089 ) at eval.c:1624 #13 0x0060617d in dsafe__call (inhibit_quit=false, f=0x7b6698 , nargs=2, args=0x66d67f8) at xdisp.c:3067 #14 0x00606231 in dsafe_call1 (f=XIL(0x18a57c08), arg=make_fixnum(960261)) at xdisp.c:3097 #15 0x00609e95 in handle_fontified_prop (it=0x66dc418) at xdisp.c:4616 #16 0x00608b51 in handle_stop (it=0x66dc418) at xdisp.c:4136 #17 0x00616553 in next_element_from_buffer (it=0x66dc418) at xdisp.c:9643 #18 0x00612cfc in get_next_display_element (it=0x66dc418) at xdisp.c:8209 #19 0x00616fe7 in move_it_in_display_line_to (it=0x66dc418, to_charpos=961261, to_x=-1, op=(MOVE_TO_VPOS | MOVE_TO_POS)) at xdisp.c:10000 #20 0x00619927 in move_it_to (it=0x66dc418, to_charpos=961261, to_x=-1, to_y=-1, to_vpos=1, op=12) at xdisp.c:10673 #21 0x0061a788 in move_it_vertically_backward (it=0x66dde28, dy=512) at xdisp.c:11033 #22 0x00683a21 in window_scroll_pixel_based (window=XIL(0xa21c62d), n=-1, whole=true, noerror=false) at window.c:5938 #23 0x00682bab in window_scroll (window=XIL(0xa21c62d), n=-1, whole=true, noerror=false) at window.c:5652 #24 0x00685d51 in scroll_command (window=XIL(0xa21c62d), n=XIL(0), direction=-1) at window.c:6464 #25 0x00685eda in Fscroll_down (arg=XIL(0)) at window.c:6504 #26 0x007b6ac2 in funcall_subr (subr=0xcff880 , numargs=1, args=0x1a0fb098) at eval.c:3100 #27 0x00808e62 in exec_byte_code (fun=XIL(0x1989031d), args_template=256, nargs=1, args=0x66df14c) at bytecode.c:829 #28 0x007b7126 in funcall_lambda (fun=XIL(0x1989031d), nargs=1, arg_vector=0x66df148) at eval.c:3200 #29 0x007b653c in funcall_general (fun=XIL(0x1989031d), numargs=1, args=0x66df148) at eval.c:2982 #30 0x007b681c in Ffuncall (nargs=2, args=0x66df144) at eval.c:3032 #31 0x007ac581 in Ffuncall_interactively (nargs=2, args=0x66df144) at callint.c:250 #32 0x007b6d16 in funcall_subr (subr=0xd04ba0 , numargs=2, args=0x66df144) at eval.c:3123 #33 0x007b64f1 in funcall_general (fun=XIL(0xd04ba5), numargs=2, args=0x66df144) at eval.c:2978 #34 0x007b681c in Ffuncall (nargs=3, args=0x66df140) at eval.c:3032 #35 0x007ae7f5 in Fcall_interactively (function=XIL(0x18a5dee0), record_flag=XIL(0), keys=XIL(0xa424665)) at callint.c:789 #36 0x007b6b10 in funcall_subr (subr=0xd04bc0 , numargs=3, args=0x1a0fb050) at eval.c:3104 #37 0x00808e62 in exec_byte_code (fun=XIL(0x19c3f345), args_template=1025, nargs=1, args=0x66df884) at bytecode.c:829 #38 0x007b7126 in funcall_lambda (fun=XIL(0x19c3f345), nargs=1, arg_vector=0x66df880) at eval.c:3200 #39 0x007b653c in funcall_general (fun=XIL(0x19c3f345), numargs=1, args=0x66df880) at eval.c:2982 #40 0x007b681c in Ffuncall (nargs=2, args=0x66df87c) at eval.c:3032 #41 0x006f9b74 in command_loop_1 () at keyboard.c:1550 #42 0x007b2ee9 in internal_condition_case (bfun=0x6f9377 , handlers=XIL(0x48), hfun=0x6f8846 ) at eval.c:1544 #43 0x006f8f91 in command_loop_2 (handlers=XIL(0x48)) at keyboard.c:1168 #44 0x007b251a in internal_catch (tag=XIL(0x8790), func=0x6f8f6f , arg=XIL(0x48)) at eval.c:1224 #45 0x006f8f27 in command_loop () at keyboard.c:1146 #46 0x006f8394 in recursive_edit_1 () at keyboard.c:754 #47 0x006f8595 in Frecursive_edit () at keyboard.c:837 #48 0x006f485b in main (argc=2, argv=0x1f2570) at emacs.c:2626 Lisp Backtrace: Cannot access memory at address 0xa51064c