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: Fri, 26 Apr 2024 14:32:37 +0300 Message-ID: <867cgkz7e2.fsf@gnu.org> References: <86il063imh.fsf@gnu.org> <87ttjqghyd.fsf@gmail.com> <86zfti101u.fsf@gnu.org> <87pluegd4z.fsf@gmail.com> <86ttjp20je.fsf@gnu.org> <87y191fwnd.fsf@gmail.com> <87cyqcfv6k.fsf@gmail.com> <86o79wzi31.fsf@gnu.org> <86mspgza23.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14390"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eller.helmut@gmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 26 13:33:37 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 1s0Jph-0003a7-J2 for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Apr 2024 13:33:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0Joy-0008FX-PJ; Fri, 26 Apr 2024 07:32:52 -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 1s0Jox-0008FK-7Z for emacs-devel@gnu.org; Fri, 26 Apr 2024 07:32:51 -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 1s0Jow-0000Q2-MZ; Fri, 26 Apr 2024 07:32:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=LsR5TxCPJfDxtP4XZVZFu7L3uZPj31d3qkoi+Z4IM9c=; b=UEzwRKEQXVABqPcVZQBn 0jGuDPPm3V6oa5hZMkBFuSucw4UCq0CVyVKGpgkpqINkC1nd3ivHQ9fG9uyQEn23C+8Vy0N3Qh8Dv TQRRSWSdwVPjBqjHOvVaoDTNxlWMxUWZCA2kTyCKPfUsJp1beqd1pR8+7oZ1m4vxGrVtVaJ2P0ujW 881BSGh3Ys6T2kNrIpuKnXkO2VYzp+uQd3O6ghEb+tTNsPEYCnrMsX6a5Isum64HJ+7WuDzgldKyy VJ4fjYmh4gVKMKOJ3FWugMYbYxqcc0RUqQlWfTzAFlNvkbxxgMxbyKppKEjKOjvV8OuxSIlzkG1+V 3mXmDT+mNVytrg==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Fri, 26 Apr 2024 12:56:29 +0200) 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:318124 Archived-At: > From: Gerd Möllmann > Cc: eller.helmut@gmail.com, emacs-devel@gnu.org > Date: Fri, 26 Apr 2024 12:56:29 +0200 > > I've meanwhile pushed something that handles the use of PVEC_OTHER in > modules. Nothing done for the scroll_bar struct in w32. Caution: I > remved the assert. This still crashes while scrolling through xdisp.c, but with a different backtrace. I've noticed that it crashes after GC kicks in and releases a large amount of memory (about 100MB). Here's the backtrace: Thread 1 received signal SIGSEGV, Segmentation fault. XCAR (c=0xab5ca1b) at lisp.h:751 751 return lisp_h_XLP (o); (gdb) bt #0 XCAR (c=0xab5ca1b) at lisp.h:751 #1 assoc_no_quit (key=, alist=0xab5ca1b) at fns.c:2032 #2 0x00cbc12d in font_list_entities (f=0xaa1c478, spec=0xa84227d) at font.c:2795 #3 0x00cbce93 in font_find_for_lface (f=, f@entry=0xaa1c478, attrs=, attrs@entry=0x743a2b0, spec=, spec@entry=0xa8421dd, c=, c@entry=-1) at font.c:3316 #4 0x00cbe3c4 in font_load_for_lface (f=f@entry=0xaa1c478, attrs=attrs@entry=0x743a2b0, spec=spec@entry=0xa8421dd) at font.c:3396 #5 0x00bedf2b in realize_gui_face (cache=0x13ca1f88, attrs=0x743a2b0) at xfaces.c:6216 #6 realize_face (cache=cache@entry=0x13ca1f88, attrs=attrs@entry=0x743a2b0, former_face_id=former_face_id@entry=-1) at xfaces.c:6053 #7 0x00befdb3 in lookup_face (f=f@entry=0xaa1c478, attr=attr@entry=0x743a2b0) at xfaces.c:4989 #8 0x00bf2dcc in face_at_string_position (w=0xaa1c628, string=, string@entry=0x1a30b7d4, pos=pos@entry=1, bufpos=bufpos@entry=0, endptr=endptr@entry=0x743a37c, base_face_id=MODE_LINE_ACTIVE_FACE_ID, mouse_p=mouse_p@entry=false, attr_filter=attr_filter@entry=0) at xfaces.c:6930 #9 0x00b59268 in display_string (string=string@entry=0x13cbb010 "xdisp.c", lisp_string=0xac546fc, face_string=face_string@entry=0x1a30b7d4, face_string_pos=face_string_pos@entry=1, start=start@entry=0, it=it@entry=0x743a690, field_width=field_width@entry=12, precision=precision@entry=-13, max_x=max_x@entry=0, multibyte=multibyte@entry=0) at xdisp.c:29116 #10 0x00b5a299 in display_mode_element (it=it@entry=0x743a690, depth=, depth@entry=3, field_width=, precision=, precision@entry=-13, elt=, elt@entry=0x1a30b7d4, props=, props@entry=0x0, risky=, risky@entry=false) at xdisp.c:27788 #11 0x00b5b5ff in display_mode_element (it=it@entry=0x743a690, depth=3, depth@entry=1, field_width=0, precision=precision@entry=-13, elt=, elt@entry=0x1903ec10, props=props@entry=0x0, risky=risky@entry=false) at xdisp.c:27965 #12 0x00b5b5ff in display_mode_element (it=it@entry=0x743a690, depth=1, depth@entry=0, field_width=field_width@entry=0, precision=precision@entry=0, elt=, elt@entry=0x1a40e953, props=props@entry=0x0, risky=risky@entry=false) at xdisp.c:27965 #13 0x00b5cba9 in display_mode_line (w=w@entry=0xaa1c628, face_id=MODE_LINE_ACTIVE_FACE_ID, format=0x1a40e953) at lisp.h:1178 #14 0x00b5f695 in display_mode_lines (w=w@entry=0xaa1c628) at xdisp.c:27303 #15 0x00b77df2 in redisplay_window (window=window@entry=0xaa1c62d, just_this_one_p=just_this_one_p@entry=true) at xdisp.c:20924 #16 0x00b7cab8 in redisplay_window_1 (window=0xaa1c62d) at xdisp.c:18023 #17 0x00c928bb in internal_condition_case_1 ( bfun=bfun@entry=0xb7ca80 , arg=0xaa1c62d, handlers=0x1a4810b3, hfun=hfun@entry=0xb26297 ) at eval.c:1568 #18 0x00b6124e in redisplay_internal () at xdisp.c:17512 #19 0x00b62463 in redisplay () at xdisp.c:16562 #20 0x00c06088 in read_char (commandflag=, commandflag@entry=1, map=, map@entry=0x134a91a3, prev_event=, used_mouse_menu=, used_mouse_menu@entry=0x743f7fb, end_time=, end_time@entry=0x0) at keyboard.c:2678 #21 0x00c096bd in read_key_sequence (keybuf=keybuf@entry=0x743f8d8, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=, can_return_switch_frame@entry=true, fix_current_buffer=, fix_current_buffer@entry=true, prevent_redisplay=, prevent_redisplay@entry=false, disable_text_conversion_p=false) at keyboard.c:10727 #22 0x00c0b24b in command_loop_1 () at lisp.h:1178 #23 0x00c9281d in internal_condition_case ( bfun=bfun@entry=0xc0b090 , handlers=handlers@entry=0x48, hfun=hfun@entry=0xbfe3d6 ) at eval.c:1544 #24 0x00bf46eb in command_loop_2 (handlers=0x48) at keyboard.c:1168 #25 0x00c92737 in internal_catch (tag=tag@entry=0x8790, func=func@entry=0xbf46cb , arg=arg@entry=0x48) at eval.c:1224 #26 0x00bf468b in command_loop () at lisp.h:1178 #27 0x00bfdf91 in recursive_edit_1 () at keyboard.c:754 #28 0x00bfe281 in Frecursive_edit () at keyboard.c:837 #29 0x00e37bef in main (argc=, argv=) at emacs.c:2626 (gdb) p c $1 = (Lisp_Object) 0xab5ca1b (gdb) source src/.gdbinit warning: d:\gnu\git\emacs\feature/../lwlib: No such file or directory SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] Environment variable "DISPLAY" not defined. Environment variable "TERM" not defined. Breakpoint 1 at 0xbf4030: file emacs.c, line 442. (gdb) p c $2 = XIL(0xab5ca1b) (gdb) xtype Lisp_Cons (gdb) xcar Cannot access memory at address 0xab5ca18 (gdb) p c $3 = XIL(0xab5ca1b) (gdb) xcdr Cannot access memory at address 0xab5ca1c (gdb)