Package: emacs;
Reported by: Oliver Reiter <oliver.reiter <at> snapdragon.cc>
Date: Wed, 12 Feb 2025 20:24:02 UTC
Severity: normal
Found in version 31.0.50
Done: Pip Cet <pipcet <at> protonmail.com>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: help-debbugs <at> gnu.org (GNU bug Tracking System) To: Oliver Reiter <oliver.reiter <at> snapdragon.cc> Subject: bug#76238: closed (Re: bug#76238: 31.0.50; feature/igc: crash #2, 2025-02-12) Date: Sat, 22 Feb 2025 11:52:06 +0000
[Message part 1 (text/plain, inline)]
Your bug report #76238: 31.0.50; feature/igc: crash #2, 2025-02-12 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 76238 <at> debbugs.gnu.org. -- 76238: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76238 GNU Bug Tracking System Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Pip Cet <pipcet <at> protonmail.com> To: Oliver Reiter <oliver.reiter <at> snapdragon.cc> Cc: 76238-done <at> debbugs.gnu.org Subject: Re: bug#76238: 31.0.50; feature/igc: crash #2, 2025-02-12 Date: Sat, 22 Feb 2025 11:51:41 +0000Pip Cet <pipcet <at> protonmail.com> writes: > Pip Cet <pipcet <at> protonmail.com> writes: > >> "Oliver Reiter" <oliver.reiter <at> snapdragon.cc> writes: >>> >>> So you are suggesting to build with X (or Lucid or so?), and if I keep >>> seeing these crashes we have established it is not PGTK's fault. Or, >> >> Precisely. > >>> in the case of no (similar) crashes, that it is indeed PGTK causing >>> these crashes. Right? If yes, then I'll do that over the next weeks. >> >> I think that would be extremely helpful, yes (I'd use the plain GTK3 >> build as it's probably closest to PGTK). You can also wait for me to >> commit the initial round of fixes for PGTK and try continuing to use >> that, of course. > > I've done that now. I can run the PGTK build under X (with the warning) > and under Wayland under X, and I think it's okay not to disable the PGTK > + MPS build for now, even though it's obviously not well-tested yet. > > So feel free to continue testing with or without PGTK. I'll have > another look at the font code because I saw you were using unusual > settings there, too, so if it turns out not to have been PGTK, that > might be the issue... Closing this as likely PGTK-related. Please keep testing, thanks! Pip
[Message part 3 (message/rfc822, inline)]
From: Oliver Reiter <oliver.reiter <at> snapdragon.cc> To: bug-gnu-emacs <at> gnu.org Subject: 31.0.50; feature/igc: crash #2, 2025-02-12 Date: Wed, 12 Feb 2025 21:23:38 +0100Dear all, a crash while marking a region: Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=11, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs/src/emacs.c:425 425 { (gdb) bt #0 terminate_due_to_signal (sig=11, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs/src/emacs.c:425 #1 0x00005555556d38d2 in handle_fatal_signal (sig=sig <at> entry=11) at /home/reitero/build/sources/emacs/emacs/src/sysdep.c:1793 #2 0x00005555556d0fb9 in deliver_thread_signal (sig=sig <at> entry=11, handler=handler <at> entry=0x5555556d38c4 <handle_fatal_signal>) at /home/reitero/build/sources/emacs/emacs/src/sysdep.c:1785 #3 0x00005555556d101d in deliver_fatal_thread_signal (sig=sig <at> entry=11) at /home/reitero/build/sources/emacs/emacs/src/sysdep.c:1805 #4 0x00005555556d104e in handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at /home/reitero/build/sources/emacs/emacs/src/sysdep.c:1943 #5 <signal handler called> #6 0x00007ffff364c3db in __GI_kill () at ../sysdeps/unix/syscall-template.S:120 #7 0x000055555585f797 in sigHandle () #8 <signal handler called> #9 0x0000555555799d5a in igc_header_nwords (h=h <at> entry=0x7fffc3f96f10) at /home/reitero/build/sources/emacs/emacs/src/igc.c:689 #10 0x0000555555799d68 in obj_size (h=h <at> entry=0x7fffc3f96f10) at /home/reitero/build/sources/emacs/emacs/src/igc.c:720 #11 0x0000555555799d92 in dflt_skip (base_addr=0x7fffc3f96f10) at /home/reitero/build/sources/emacs/emacs/src/igc.c:1753 #12 0x000055555586953d in amcSegFix () #13 0x000055555580362d in _mps_fix2 () #14 0x00005555557994a7 in fix_raw (ss=ss <at> entry=0x7ffffffef108, p=p <at> entry=0x7ffffffeef80) at /home/reitero/build/sources/emacs/emacs/src/igc.c:1188 #15 0x0000555555799563 in fix_string (ss=ss <at> entry=0x7ffffffef108, s=s <at> entry=0x7fffb9c074b8) at /home/reitero/build/sources/emacs/emacs/src/igc.c:1765 #16 0x00005555557a0f93 in dflt_scan_obj (ss=ss <at> entry=0x7ffffffef108, base_start=base_start <at> entry=0x7fffb9c074b8, base_limit=base_limit <at> entry=0x7fffb9c07730, closure=closure <at> entry=0x0) at /home/reitero/build/sources/emacs/emacs/src/igc.c:2032 #17 0x00005555557a1146 in dflt_scanx (ss=ss <at> entry=0x7ffffffef108, base_start=<optimized out>, base_limit=0x7fffb9c07730, closure=closure <at> entry=0x0) at /home/reitero/build/sources/emacs/emacs/src/igc.c:2099 #18 0x00005555557a1182 in dflt_scan (ss=0x7ffffffef108, base_start=<optimized out>, base_limit=<optimized out>) at /home/reitero/build/sources/emacs/emacs/src/igc.c:2110 #19 0x0000555555834ce5 in amcSegScan () #20 0x0000555555863ec0 in traceScanSegRes () #21 0x00005555558640aa in traceScanSeg () #22 0x0000555555864f06 in TraceAdvance () #23 0x00005555558656cd in TracePoll () #24 0x0000555555865939 in ArenaPoll () #25 0x0000555555865d23 in mps_ap_fill () #26 0x000055555579d572 in alloc_impl (size=size <at> entry=24, type=type <at> entry=IGC_OBJ_CONS, ap=0x7fffe8001900) at /home/reitero/build/sources/emacs/emacs/src/igc.c:4089 #27 0x000055555579d661 in alloc (size=size <at> entry=24, type=type <at> entry=IGC_OBJ_CONS) at /home/reitero/build/sources/emacs/emacs/src/igc.c:4117 #28 0x000055555579d682 in igc_make_cons (car=0x2, cdr=0x0) at /home/reitero/build/sources/emacs/emacs/src/igc.c:4146 #29 0x000055555570e3cd in Fcons (car=<optimized out>, cdr=<optimized out>) at /home/reitero/build/sources/emacs/emacs/src/alloc.c:2812 #30 0x000055555570f143 in Flist (nargs=1, args=0x7ffffffef510) at /home/reitero/build/sources/emacs/emacs/src/alloc.c:2928 #31 0x0000555555702422 in Fmatch_data (integers=integers <at> entry=0x0, reuse=reuse <at> entry=0x0, --Type <RET> for more, q to quit, c to continue without paging-- reseat=reseat <at> entry=0x0) at /home/reitero/build/sources/emacs/emacs/src/search.c:2936 #32 0x00005555557028bd in record_unwind_save_match_data () at /home/reitero/build/sources/emacs/emacs/src/search.c:3181 #33 0x000055555579639f in autocmp_chars (rule=rule <at> entry=0x7fffb904568d, charpos=charpos <at> entry=1162, bytepos=bytepos <at> entry=1162, limit=limit <at> entry=21798, win=win <at> entry=0x7fffeecf3c08, face=face <at> entry=0x7fffc376c888, string=0x0, direction=0x3bf0, ch=40) at /home/reitero/build/sources/emacs/emacs/src/composite.c:948 #34 0x000055555579680d in composition_reseat_it (cmp_it=0x7fffffff7830, charpos=1162, bytepos=1162, endpos=21798, w=0x7fffeecf3c08, bidi_level=<optimized out>, face=0x7fffc376c888, string=0x0) at /home/reitero/build/sources/emacs/emacs/src/composite.c:1353 #35 0x0000555555613c36 in next_element_from_buffer (it=0x7fffffff6f70) at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:9812 #36 0x00005555556116ad in get_next_display_element (it=0x7fffffff6f70) at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:8310 #37 0x0000555555614845 in move_it_in_display_line_to (it=it <at> entry=0x7fffffff6f70, to_charpos=to_charpos <at> entry=21798, to_x=to_x <at> entry=-1, op=op <at> entry=MOVE_TO_POS) at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:10111 #38 0x000055555561673b in move_it_to (it=it <at> entry=0x7fffffff6f70, to_charpos=21798, to_x=to_x <at> entry=-1, to_y=<optimized out>, to_vpos=to_vpos <at> entry=-1, op=op <at> entry=10) at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:10845 #39 0x0000555555617b4c in partial_line_height (it_origin=<optimized out>) at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:11477 #40 0x0000555555623955 in try_window (window=window <at> entry=0x7fffeecf3c0d, pos=..., flags=flags <at> entry=1) at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:21311 #41 0x00005555556277b1 in redisplay_window (window=0x7fffeecf3c0d, just_this_one_p=just_this_one_p <at> entry=true) at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:20654 #42 0x0000555555629499 in redisplay_window_1 (window=window <at> entry=0x7fffeecf3c0d) at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:18138 #43 0x000055555572c3e4 in internal_condition_case_1 (bfun=0x55555562946a <redisplay_window_1>, arg=0x7fffeecf3c0d, handlers=<optimized out>, hfun=0x555555621106 <redisplay_window_error>) at /home/reitero/build/sources/emacs/emacs/src/eval.c:1650 #44 0x0000555555622625 in redisplay_internal () at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:17644 #45 0x0000555555623621 in redisplay () at /home/reitero/build/sources/emacs/emacs/src/xdisp.c:16675 #46 0x00005555556bb2e8 in read_char (commandflag=1, map=0x7fffc5182d6b, prev_event=0x0, used_mouse_menu=0x7fffffffd65b, end_time=0x0) at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:2683 #47 0x00005555556c4fc0 in read_key_sequence (keybuf=0x7fffffffd780, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:10790 #48 0x00005555556b7de3 in command_loop_1 () at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:1435 #49 0x000055555572c36e in internal_condition_case (bfun=0x5555556b7ba1 <command_loop_1>, handlers=<optimized out>, hfun=0x5555556b4c5e <cmd_error>) at /home/reitero/build/sources/emacs/emacs/src/eval.c:1626 #50 0x00005555556b4e89 in command_loop_2 (handlers=handlers <at> entry=0xa8) at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:1174 #51 0x000055555572c2ac in internal_catch (tag=<optimized out>, func=0x5555556b4e67 <command_loop_2>, arg=0xa8) at /home/reitero/build/sources/emacs/emacs/src/eval.c:1305 #52 0x00005555556b6069 in command_loop () at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:1152 --Type <RET> for more, q to quit, c to continue without paging-- #53 0x00005555556b6100 in recursive_edit_1 () at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:760 #54 0x00005555556b629e in Frecursive_edit () at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:843 #55 0x00005555556b76d6 in main (argc=<optimized out>, argv=0x7fffffffdb78) at /home/reitero/build/sources/emacs/emacs/src/emacs.c:2580 Lisp Backtrace: "redisplay_internal (C function)" (0x0) In GNU Emacs 31.0.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version 3.24.48, cairo version 1.18.2) of 2025-02-11 built on wilap Repository revision: 9d3e946e756ac5a146c21d6fbae2fc803de95059 Repository branch: feature/igc System Description: Arch Linux Configured using: 'configure 'CFLAGS=-g3 -ggdb -Og -fno-omit-frame-pointer' CPPFLAGS=-I/home/reitero/.local/lib/mps LDFLAGS=-L/home/reitero/.local/lib/mps --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-mps=yes --with-gameuser=root:games --with-pgtk --with-xft --with-harfbuzz --with-modules --without-compress-install --without-m17n-flt --with-libotf --without-imagemagick --without-gsettings --without-gconf --with-native-compilation=aot --with-tree-sitter --enable-link-time-optimization' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES MPS NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: de_AT.UTF-8 locale-coding-system: utf-8-unix
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.