From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#70385: Crash in note_fringe_highlight Date: Sun, 14 Apr 2024 19:10:16 +0300 Organization: LINKOV.NET Message-ID: <86h6g49cdv.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21720"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) To: 70385@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 14 18:18:04 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rw2YO-0005PU-2c for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Apr 2024 18:18:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rw2YI-0002tY-6e; Sun, 14 Apr 2024 12:17:58 -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 1rw2YG-0002sy-0F for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2024 12:17:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rw2YF-0005Dy-OK for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2024 12:17:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rw2YQ-0007aI-9o for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2024 12:18:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Apr 2024 16:18:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70385 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171311148229109 (code B ref -1); Sun, 14 Apr 2024 16:18:05 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Apr 2024 16:18:02 +0000 Original-Received: from localhost ([127.0.0.1]:36016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rw2YJ-0007Yz-Qz for submit@debbugs.gnu.org; Sun, 14 Apr 2024 12:18:02 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:46168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rw2Y0-0007UJ-1Q for submit@debbugs.gnu.org; Sun, 14 Apr 2024 12:17:41 -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 1rw2Xi-0002Yr-9h for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2024 12:17:22 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rw2Xf-0005Bl-DZ for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2024 12:17:21 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id B005EC0002 for ; Sun, 14 Apr 2024 16:17:16 +0000 (UTC) X-GND-Sasl: juri@linkov.net Received-SPF: pass client-ip=217.70.183.198; envelope-from=juri@linkov.net; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283288 Archived-At: Hopefully this backtrace could help to find where is the bug: Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00005555556120fe in note_fringe_highlight (part=, y=, x=, window=XIL(0x5555564aa62d)) at xdisp.c:35762 35762 struct glyph *glyph = MATRIX_ROW_GLYPH_START (w->current_matrix, vpos); (gdb) bt #0 0x00005555556120fe in note_fringe_highlight (part=, y=, x=, window=XIL(0x5555564aa62d)) at xdisp.c:35762 #1 note_mouse_highlight (f=0x5555564aa198, x=, y=) at xdisp.c:36017 #2 0x000055555568afd0 in XTframe_up_to_date (f=0x5555564aa198) at xterm.c:7633 #3 0x0000555555743903 in garbage_collect () at alloc.c:6587 #4 0x0000555555766c65 in maybe_gc () at lisp.h:5891 #5 Ffuncall (nargs=3, args=0x7fffffff7cd0) at eval.c:3017 #6 0x00007fffdfc5eae6 in F70726f6a6563742d7472792d7663_project_try_vc_0 () at project-5477de5a-135e3ef0.eln #7 0x0000555555766bb7 in Ffuncall (nargs=2, args=0x7fffffff7e30) at eval.c:3022 #8 0x0000555555765adb in run_hook_with_args (nargs=2, args=0x7fffffff7e30, funcall=0x555555766ac0 ) at eval.c:2881 #9 0x0000555555766bb7 in Ffuncall (nargs=3, args=0x7fffffff7e28) at eval.c:3022 #10 0x00007fffdfc5d5fe in F70726f6a6563742d2d66696e642d696e2d6469726563746f7279_project__find_in_directory_0 () at project-5477de5a-135e3ef0.eln #11 0x0000555555766bb7 in Ffuncall (nargs=2, args=0x7fffffff7ea0) at eval.c:3022 #12 0x00007fffdfc5d405 in F70726f6a6563742d63757272656e74_project_current_0 () at project-5477de5a-135e3ef0.eln #13 0x0000555555766bb7 in Ffuncall (nargs=1, args=0x7fffffff7f58) at eval.c:3022 #14 0x00007fffdfc6761a in F70726f6a6563742d6d6f64652d6c696e652d666f726d6174_project_mode_line_format_0 () at project-5477de5a-135e3ef0.eln #15 0x000055555576a516 in eval_sub (form=) at lisp.h:2242 #16 0x000055555576c9c4 in Feval (form=XIL(0x55555700d1b3), lexical=) at eval.c:2389 #17 0x0000555555766bb7 in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7fffffff8230) at eval.c:3022 #18 0x00005555555cd15f in funcall_with_backtraces (nargs=nargs@entry=3, args=args@entry=0x7fffffff8230) at xdisp.c:3081 #19 0x0000555555765361 in internal_condition_case_n (bfun=bfun@entry=0x5555555cd130 , nargs=nargs@entry=3, args=args@entry=0x7fffffff8230, handlers=handlers@entry=XIL(0x30), hfun=hfun@entry=0x5555555e14d0 ) at eval.c:1617 #20 0x00005555555ce7d2 in dsafe__call (inhibit_quit=inhibit_quit@entry=true, f=0x5555555cd130 , nargs=nargs@entry=3, args=args@entry=0x7fffffff8230) at lisp.h:1191 #21 0x00005555555fd701 in dsafe__call (args=0x7fffffff8230, nargs=3, f=, inhibit_quit=true) at xdisp.c:3056 #22 dsafe_eval (sexpr=) at xdisp.c:3103 #23 display_mode_element (it=0x7fffffff83d0, depth=4, field_width=0, precision=-39, elt=, props=XIL(0), risky=false) at xdisp.c:27876 #24 0x00005555555fd862 in display_mode_element (it=0x7fffffff83d0, depth=1, field_width=0, precision=0, elt=, props=XIL(0), risky=false) at lisp.h:1538 #25 0x00005555555ff020 in display_mode_line (w=w@entry=0x5555564aa410, face_id=MODE_LINE_ACTIVE_FACE_ID, format=XIL(0x7fffeff37a4b)) at lisp.h:1191 #26 0x00005555556010be in display_mode_lines (w=w@entry=0x5555564aa410) at lisp.h:751 #27 0x0000555555616722 in redisplay_window (window=, just_this_one_p=) at xdisp.c:20921 #28 0x000055555561a513 in redisplay_window_0 (window=window@entry=XIL(0x5555564aa415)) at xdisp.c:18012 #29 0x000055555576520c in internal_condition_case_1 (bfun=bfun@entry=0x55555561a4e0 , arg=arg@entry=XIL(0x5555564aa415), handlers=, hfun=hfun@entry=0x5555555d0e60 ) at eval.c:1561 #30 0x00005555555ce379 in redisplay_windows (window=XIL(0x5555564aa415)) at xdisp.c:17981 #31 0x00005555556021b1 in redisplay_internal () at xdisp.c:17381 #32 0x000055555560387d in redisplay_preserve_echo_area (from_where=from_where@entry=8) at xdisp.c:17744 #33 0x00005555556eb27e in detect_input_pending_run_timers (do_display=do_display@entry=true) at keyboard.c:11555 #34 0x00005555557c7798 in wait_reading_process_output (time_limit=time_limit@entry=82, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=XIL(0), wait_proc=wait_proc@entry=0x0, just_wait_proc=) at process.c:5839 #35 0x00005555555bd354 in sit_for (timeout=timeout@entry=make_fixnum(82), reading=reading@entry=true, display_option=display_option@entry=1) at lisp.h:1191 #36 0x00005555556e5404 in read_char (commandflag=1, map=XIL(0x555565074e43), prev_event=XIL(0), used_mouse_menu=0x7fffffffde9b, end_time=0x0) at lisp.h:1225 #37 0x00005555556e7161 in read_key_sequence (keybuf=0x7fffffffdff0, prompt=XIL(0), dont_downcase_last=, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=, disable_text_conversion_p=false) at keyboard.c:10722 #38 0x00005555556e8f8f in command_loop_1 () at lisp.h:1191 #39 0x0000555555765177 in internal_condition_case (bfun=bfun@entry=0x5555556e8dc0 , handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x5555556dd2d0 ) at eval.c:1537 #40 0x00005555556d51ea in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1167 #41 0x00005555557650b9 in internal_catch (tag=tag@entry=XIL(0x10740), func=func@entry=0x5555556d51c0 , arg=arg@entry=XIL(0x90)) at eval.c:1217 #42 0x00005555556d5186 in command_loop () at lisp.h:1191 #43 0x00005555556dce35 in recursive_edit_1 () at keyboard.c:753 #44 0x00005555556dd1e4 in Frecursive_edit () at keyboard.c:836 #45 0x00005555555b23f1 in main (argc=, argv=) at emacs.c:2618 Lisp Backtrace: "Automatic GC" (0x0) "cl-find-if" (0xffff7cd8) "project-try-vc" (0xffff7e38) "run-hook-with-args-until-success" (0xffff7e30) "project--find-in-directory" (0xffff7ea8) "project-current" (0xffff7f60) "project-mode-line-format" (0xffff8030) "eval" (0xffff8238) "redisplay_internal (C function)" (0x0)