[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building the igc branch on MS-Windows
From: |
Eli Zaretskii |
Subject: |
Re: Building the igc branch on MS-Windows |
Date: |
Fri, 26 Apr 2024 14:32:37 +0300 |
> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> 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=<optimized out>, 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=<optimized out>, f@entry=0xaa1c478,
attrs=<optimized out>, attrs@entry=0x743a2b0, spec=<optimized out>,
spec@entry=0xa8421dd, c=<optimized out>, 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=<optimized out>, 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=<optimized out>, depth@entry=3, field_width=<optimized out>,
precision=<optimized out>, precision@entry=-13, elt=<optimized out>,
elt@entry=0x1a30b7d4, props=<optimized out>, props@entry=0x0,
risky=<optimized out>, 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=<optimized out>, 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=<optimized out>, 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 <redisplay_window_1>, arg=0xaa1c62d,
handlers=0x1a4810b3, hfun=hfun@entry=0xb26297 <redisplay_window_error>)
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=<optimized out>, commandflag@entry=1,
map=<optimized out>, map@entry=0x134a91a3, prev_event=<optimized out>,
used_mouse_menu=<optimized out>, used_mouse_menu@entry=0x743f7fb,
end_time=<optimized out>, 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=<optimized out>,
can_return_switch_frame@entry=true, fix_current_buffer=<optimized out>,
fix_current_buffer@entry=true, prevent_redisplay=<optimized out>,
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 <command_loop_1>, handlers=handlers@entry=0x48,
hfun=hfun@entry=0xbfe3d6 <cmd_error>) 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 <command_loop_2>, 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=<optimized out>, argv=<optimized out>)
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)
- Re: Building the igc branch on MS-Windows, (continued)
- Re: Building the igc branch on MS-Windows, Eli Zaretskii, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Eli Zaretskii, 2024/04/26
- Re: Building the igc branch on MS-Windows, Po Lu, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Eli Zaretskii, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Eli Zaretskii, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows,
Eli Zaretskii <=
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Helmut Eller, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Eli Zaretskii, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Helmut Eller, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Gerd Möllmann, 2024/04/26
- Re: Building the igc branch on MS-Windows, Helmut Eller, 2024/04/26