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:09:07 +0300 Message-ID: <86sez91yy4.fsf@gnu.org> References: <86il063imh.fsf@gnu.org> <87ttjqghyd.fsf@gmail.com> <86zfti101u.fsf@gnu.org> <87pluegd4z.fsf@gmail.com> <86ttjp20je.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32828"; 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:12:02 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 1rzx1E-0008KS-TF for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Apr 2024 13:12:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzwyk-0002CE-Hm; Thu, 25 Apr 2024 07:09:26 -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 1rzwyZ-0001yy-Rk for emacs-devel@gnu.org; Thu, 25 Apr 2024 07:09:18 -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 1rzwyY-0003Bc-LA; Thu, 25 Apr 2024 07:09:15 -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=hwaj0n/x7lVeyP1PrRWN+0UAxtBRrNzzR+QuCHsTWvs=; b=S7Esy0odRSCr Wu6AVEZb3L2gtBDsO3gzOrB1OrXpWtRyPZon90qir44ydp7rfqPG7UoEcq/6bl1wjg2q61796LDaL oKg55zLlvfiKXCQiYTI3WWXuTYodLIBb9el3cu/wsN+A1th6Yr6NbacZgBjZookhN5rjdj0vjg0iB iG+wG91IPa5Vz3+3CI4BJAr0BlsKelRsDH8fPqKdiyMfg9DxEo54+66WFTY/wrqoL6fOu2Oyl+CVx KaU5islck8MPnLC0A02mZAOh/d3O9iLeJAL9F9ozc8DCXjDlUG1e+DIBlHTK7hlD++xeHgXIEVbpU CzzmVEFscB0wUTtDY/cc9g==; In-Reply-To: <86ttjp20je.fsf@gnu.org> (message from Eli Zaretskii on Thu, 25 Apr 2024 13:34:45 +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:318070 Archived-At: > Date: Thu, 25 Apr 2024 13:34:45 +0300 > From: Eli Zaretskii > Cc: eller.helmut@gmail.com, emacs-devel@gnu.org > > Here are the two backtraces. Note that "xbacktrace" also reports a > bad address, which probably means some significant issue with Lisp > strings in general(??). One more backtrace below, obtained like the ones before, by scrolling through xdisp.c. This one doesn't seem to be due to Lisp strings, but something that could actually be specific to MS-Windows. At least the comment there says so; Gerd, can you tell more about that comment and what it means? igc.c:1584: Emacs fatal error: assertion failed: !"other" Thread 1 hit Breakpoint 1, terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:443 443 signal (sig, SIG_DFL); (gdb) bt #0 terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:443 #1 0x007825ab in die (msg=0xd46437 "!\"other\"", file=0xd4616a "igc.c", line=1584) at alloc.c:8334 #2 0x0084eca0 in igc_assert_fail (file=0xd4616a "igc.c", line=1584, msg=0xd46437 "!\"other\"") at igc.c:84 #3 0x00851f38 in fix_other (ss=0x66da1d4, o=0x13250008) at igc.c:1584 #4 0x0085222c in fix_vector (ss=0x66da1d4, v=0x13250008) at igc.c:1661 #5 0x00850e75 in dflt_scanx (ss=0x66da1d4, base_start=0x13250000, base_limit=0x13252000, closure=0x0) at igc.c:1202 #6 0x0085109c in dflt_scan (ss=0x66da1d4, base_start=0x13250000, base_limit=0x13252000) at igc.c:1245 #7 0x00944e32 in TraceScanFormat (ss=ss@entry=0x66da1d0, base=base@entry=0x13250000, limit=limit@entry=0x13252000) at trace.c:1539 #8 0x0094faf1 in amcSegScan (totalReturn=0x66da22c, seg=0x9ca59c8, ss=0x66da1d0) at poolamc.c:1440 #9 0x00935f8e in SegScan (totalReturn=totalReturn@entry=0x66da22c, seg=seg@entry=0x9ca59c8, ss=ss@entry=0x66da1d0) at seg.c:775 #10 0x00944208 in traceScanSegRes (ts=ts@entry=1, rank=rank@entry=1, arena=arena@entry=0x1f0000, seg=seg@entry=0x9ca59c8) at trace.c:1205 #11 0x00944381 in traceScanSeg (ts=1, rank=1, arena=arena@entry=0x1f0000, seg=0x9ca59c8) at trace.c:1267 #12 0x0094571a in TraceAdvance (trace=0x1f0518) at trace.c:1728 #13 0x00945a10 in TracePoll (workReturn=workReturn@entry=0x66da308, collectWorldReturn=collectWorldReturn@entry=0x66da30c, globals=globals@entry=0x1f0008, collectWorldAllowed=1) at trace.c:1849 #14 0x009117d0 in ArenaPoll (globals=globals@entry=0x1f0008) at global.c:745 #15 0x0091e005 in mps_ap_fill (p_o=0x66da3cc, mps_ap=0x9b16c10, size=32) at mpsi.c:1097 #16 0x00853862 in alloc (size=32, type=IGC_OBJ_VECTOR, pvec_type=PVEC_MARKER) at igc.c:2590 #17 0x00853c8b in igc_alloc_pseudovector (nwords_mem=5, nwords_lisp=0, nwords_zero=0, tag=PVEC_MARKER) at igc.c:2710 #18 0x0077f998 in allocate_pseudovector (memlen=5, lisplen=0, zerolen=0, tag=PVEC_MARKER) at alloc.c:3782 #19 0x007800bd in Fmake_marker () at alloc.c:4150 #20 0x0076b26b in Fmatch_data (integers=XIL(0), reuse=XIL(0), reseat=XIL(0)) at search.c:2913 #21 0x007b6b10 in funcall_subr (subr=0xd02e80 , numargs=0, args=0x1a2024b8) at eval.c:3104 #22 0x00808e62 in exec_byte_code (fun=XIL(0x19ab914d), args_template=0, nargs=0, args=0x1a2024b8) at bytecode.c:829 #23 0x007b7126 in funcall_lambda (fun=XIL(0x12cb16d5), nargs=1, arg_vector=0x1a202100) at eval.c:3200 #24 0x007b653c in funcall_general (fun=XIL(0x12cb16d5), numargs=1, args=0x1a202100) at eval.c:2982 #25 0x007b681c in Ffuncall (nargs=2, args=0x1a2020fc) at eval.c:3032 #26 0x007b5f0b in run_hook_wrapped_funcall (nargs=2, args=0x1a2020fc) at eval.c:2810 #27 0x007b6173 in run_hook_with_args (nargs=2, args=0x1a2020fc, funcall=0x7b5ed5 ) at eval.c:2891 #28 0x007b5f48 in Frun_hook_wrapped (nargs=2, args=0x1a2020fc) at eval.c:2825 #29 0x007b6d16 in funcall_subr (subr=0xd050c0 , numargs=2, args=0x1a2020fc) at eval.c:3123 #30 0x00808e62 in exec_byte_code (fun=XIL(0x19a9a5ad), args_template=514, nargs=2, args=0x1a202094) at bytecode.c:829 #31 0x007b7126 in funcall_lambda (fun=XIL(0x19a99f85), nargs=1, arg_vector=0x66dae1c) at eval.c:3200 #32 0x007b653c in funcall_general (fun=XIL(0x19a99f85), numargs=1, args=0x66dae1c) at eval.c:2982 #33 0x007b681c in Ffuncall (nargs=2, args=0x66dae18) at eval.c:3032 #34 0x007b3118 in internal_condition_case_n (bfun=0x7b6698 , nargs=2, args=0x66dae18, handlers=XIL(0x18), hfun=0x606089 ) at eval.c:1624 #35 0x0060617d in dsafe__call (inhibit_quit=false, f=0x7b6698 , nargs=2, args=0x66dae18) at xdisp.c:3067 #36 0x00606231 in dsafe_call1 (f=XIL(0x18c67c08), arg=make_fixnum(374707)) at xdisp.c:3097 #37 0x00609e95 in handle_fontified_prop (it=0x66dbe3c) at xdisp.c:4616 #38 0x00608b51 in handle_stop (it=0x66dbe3c) at xdisp.c:4136 #39 0x00616553 in next_element_from_buffer (it=0x66dbe3c) at xdisp.c:9643 #40 0x00612cfc in get_next_display_element (it=0x66dbe3c) at xdisp.c:8209 #41 0x006443c2 in display_line (it=0x66dbe3c, cursor_vpos=0) at xdisp.c:25295 #42 0x0063736f in try_window (window=XIL(0xa21c62d), pos=..., flags=0) at xdisp.c:21136 #43 0x006338b3 in redisplay_window (window=XIL(0xa21c62d), just_this_one_p=true) at xdisp.c:20245 #44 0x0062c8aa in redisplay_window_1 (window=XIL(0xa21c62d)) at xdisp.c:18023 #45 0x007b2f9a in internal_condition_case_1 ( bfun=0x62c865 , arg=XIL(0xa21c62d), handlers=XIL(0x19c8108b), hfun=0x62c6ed ) at eval.c:1568 #46 0x0062b7eb in redisplay_internal () at xdisp.c:17512 #47 0x0062913c in redisplay () at xdisp.c:16562 #48 0x006fca1e in read_char (commandflag=1, map=XIL(0x12cb0713), prev_event=XIL(0), used_mouse_menu=0x66df657, end_time=0x0) at keyboard.c:2678 #49 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 #50 0x006f9791 in command_loop_1 () at keyboard.c:1429 #51 0x007b2ee9 in internal_condition_case (bfun=0x6f9377 , handlers=XIL(0x48), hfun=0x6f8846 ) at eval.c:1544 #52 0x006f8f91 in command_loop_2 (handlers=XIL(0x48)) at keyboard.c:1168 #53 0x007b251a in internal_catch (tag=XIL(0x8790), func=0x6f8f6f , arg=XIL(0x48)) at eval.c:1224 #54 0x006f8f27 in command_loop () at keyboard.c:1146 #55 0x006f8394 in recursive_edit_1 () at keyboard.c:754 #56 0x006f8595 in Frecursive_edit () at keyboard.c:837 #57 0x006f485b in main (argc=2, argv=0x80e2570) at emacs.c:2626 Lisp Backtrace: "match-data" (0x1a2024b8) "c-beginning-of-macro" (0x1a202480) "c-append-to-state-cache" (0x1a202434) "c-parse-state-1" (0x1a2023e8) "c-parse-state" (0x1a2023c0) "c-get-fontification-context" (0x1a202374) 0x12cbd610 PVEC_COMPILED "c-find-decl-spots" (0x1a2022a8) "c-font-lock-declarations" (0x1a20223c) "font-lock-fontify-keywords-region" (0x1a2021ec) "font-lock-default-fontify-region" (0x1a2021b0) "c-font-lock-fontify-region" (0x1a202174) "font-lock-fontify-region" (0x1a202138) 0x12cb16d0 PVEC_COMPILED "run-hook-wrapped" (0x1a2020fc) "jit-lock--run-functions" (0x1a20208c) "jit-lock-fontify-now" (0x1a202040) "jit-lock-function" (0x66dae1c) "redisplay_internal (C function)" (0x0) (gdb) fr 3 #3 0x00851f38 in fix_other (ss=0x66da1d4, o=0x13250008) at igc.c:1584 1584 igc_assert (!"other"); (gdb) l 1579 { 1580 MPS_SCAN_BEGIN (ss) 1581 { 1582 IGC_FIX_CALL_FN (ss, struct Lisp_Vector, o, fix_vectorlike); 1583 // Not used on macOS. Some scroll bar stuff in w32? 1584 igc_assert (!"other"); 1585 } 1586 MPS_SCAN_END (ss); 1587 return MPS_RES_OK; 1588 }