From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Madhu Newsgroups: gmane.emacs.bugs Subject: bug#75120: 31.0.50; which-key crashes on xt if the scroll bar is activated. Date: Thu, 26 Dec 2024 20:56:01 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35753"; mail-complaints-to="usenet@ciao.gmane.io" To: 75120@debbugs.gnu.org Cancel-Lock: sha1:/tWXfjV2/kRVGZRhvDCRwubP0o0= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 26 16:27:18 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 1tQpld-00093w-NO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Dec 2024 16:27:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQplS-00063v-BH; Thu, 26 Dec 2024 10:27:06 -0500 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 1tQplQ-00063l-Nj for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 10:27:04 -0500 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 1tQplQ-000805-EB for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 10:27:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Mime-Version:Date:From:To:Subject; bh=G/w2DbdPjNCMQW34Q+NpzKhu3IW111RnqEjrr0oLBro=; b=n0CVWZiSIyyuTHt8vr4EfJ9ZExJmZ9hnyhelqu+dLhi2u+JTjNi5RCPwuEs/lIEHsLca91n/U1cN7Q+s0PeaMdp8wSx7AVY51rZk66UG1aoX6KOzc7d02XcOM3WNC73ZsZhFn/Gxf8i4e6cgdV+cVbY/dfQsnI77LJrG9pOmGjSQwiF4VKAQ8hdqsyf+MXP4OlaVj5IVKeBQPuggJNGu5o9Ysf4s7MZEvH+krTmNj00y0sHR0VeHk8T0NN1udVsh5Szty3Yw5G7TVYI8JLXaV0VtrSaeTEeglb/WJYPnA1nv19TtwBtjYnSuj628X/7zfrJKHmDH+sA4sQ5X1W2jhA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQplO-0003lI-CA for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 10:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Madhu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Dec 2024 15:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75120 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.173522677914382 (code B ref -1); Thu, 26 Dec 2024 15:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Dec 2024 15:26:19 +0000 Original-Received: from localhost ([127.0.0.1]:41904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQpkg-0003ju-Fq for submit@debbugs.gnu.org; Thu, 26 Dec 2024 10:26:18 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQpkc-0003ji-3v for submit@debbugs.gnu.org; Thu, 26 Dec 2024 10:26:17 -0500 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 1tQpkb-00061g-R2 for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 10:26:13 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQpka-0007yi-2Y for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 10:26:13 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1tQpkX-0007xQ-1N for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 16:26:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.169, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:297772 Archived-At: Hello, Having heard about which-key mode I decided to try it. gdb --args ../build-xt-native/src/emacs -Q -eval '(which-key-mode 1)' -eval '(setq window-min-height 8)' 1. type C-x, wait 5 seconds, type C-g. 2. type C-x, wait 2 seconds for the 8 line frame with scrollbar, click the "up arrow" on the top of the scrollbar. BEGIN BACKTRACE read 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x000000000054446b in xt_action_hook (widget=, client_data=, action_name=0xe964d3 "EndScroll", event=, params=, num_params=) at ../../src/xterm.c:15479 15479 if (bar->dragging != -1) (gdb) xbacktrace (gdb) bt full #0 0x000000000054446b in xt_action_hook (widget=, client_data=, action_name=0xe964d3 "EndScroll", event=, params=, num_params=) at ../../src/xterm.c:15479 w = 0x1555470 bar = scroll_bar_p = end_action = scroll_bar_p = end_action = w = bar = #1 xt_action_hook (widget=, client_data=, action_name=0xe964d3 "EndScroll", event=, params=, num_params=) at ../../src/xterm.c:15453 scroll_bar_p = end_action = 0x6f4dcb "EndScroll" w = bar = #2 0x00007ffff7d0a43d in ?? () from /usr/lib64/libXt.so.6 No symbol table info available. #3 0x0000000000e7ec10 in ?? () [...] (gdb) sharedlibrary . (gdb) back #0 0x000000000054446b in xt_action_hook (widget=, client_data=, action_name=0xe964d3 "EndScroll", event=, params=, num_params=) at ../../src/xterm.c:15479 #1 xt_action_hook (widget=, client_data=, action_name=0xe964d3 "EndScroll", event=, params=, num_params=) at ../../src/xterm.c:15453 #2 0x00007ffff7d0a43d in HandleActions (w=w@entry=0x1256750, event=0x7fffffffc5a0, stateTree=0x124a3f0, accelWidget=, procs=0xde6318, actions=actions@entry=0x7ffff7d2a120 ) at /usr/src/debug/x11-libs/libXt-1.3.0/libXt-1.3.0/src/TMstate.c:633 #3 0x00007ffff7d0ac91 in HandleSimpleState (w=w@entry=0x1256750, tmRecPtr=tmRecPtr@entry=0x1256798, curEventPtr=curEventPtr@entry=0x7fffffffbdd0) at /usr/src/debug/x11-libs/libXt-1.3.0/libXt-1.3.0/src/TMstate.c:866 #4 0x00007ffff7d0bb68 in _XtTranslateEvent (w=w@entry=0x1256750, event=event@entry=0x7fffffffc5a0) at /usr/src/debug/x11-libs/libXt-1.3.0/libXt-1.3.0/src/TMstate.c:1064 #5 0x00007ffff7ce4eeb in XtDispatchEventToWidget (widget=widget@entry=0x1256750, event=event@entry=0x7fffffffc5a0) at /usr/src/debug/x11-libs/libXt-1.3.0/libXt-1.3.0/src/Event.c:933 #6 0x00007ffff7ce55a2 in _XtDefaultDispatcher (event=0x7fffffffc5a0) at /usr/src/debug/x11-libs/libXt-1.3.0/libXt-1.3.0/src/Event.c:1407 --Type for more, q to quit, c to continue without paging--c #7 0x00007ffff7ce5701 in XtDispatchEvent (event=event@entry=0x7fffffffc5a0) at /usr/src/debug/x11-libs/libXt-1.3.0/libXt-1.3.0/src/Event.c:1481 #8 0x000000000055b181 in handle_one_xevent (dpyinfo=, event=, finish=, hold_quit=) at ../../src/xterm.c:25578 #9 0x0000000000566d91 in XTread_socket (terminal=, hold_quit=0x7fffffffc690) at ../../src/xterm.c:25740 #10 0x0000000000592341 in gobble_input () at ../../src/keyboard.c:7923 #11 0x0000000000595355 in handle_async_input () at ../../src/keyboard.c:8162 #12 process_pending_signals () at ../../src/keyboard.c:8176 #13 unblock_input_to (level=0) at ../../src/keyboard.c:8191 #14 unblock_input_to (level=) at ../../src/keyboard.c:8185 #15 unblock_input () at ../../src/keyboard.c:8210 #16 0x00000000006cc9d9 in xg_select (fds_lim=, rfds=rfds@entry=0x7fffffffcef0, wfds=, efds=0x0, timeout=, sigmask=) at ../../src/xgselect.c:298 #17 0x0000000000673c96 in wait_reading_process_output (time_limit=time_limit@entry=30, 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=0) at ../../src/process.c:5765 #18 0x00000000004759f0 in sit_for (timeout=timeout@entry=make_fixnum(30), reading=reading@entry=true, display_option=display_option@entry=1) at ../../src/dispnew.c:6335 #19 0x000000000059a4e8 in read_char (commandflag=1, map=XIL(0x151af43), prev_event=XIL(0), used_mouse_menu=0x7fffffffd70b, end_time=0x0) at ../../src/keyboard.c:2926 #20 0x000000000059b7ef in read_key_sequence (keybuf=, 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 ../../src/keyboard.c:10747 #21 0x000000000059d446 in command_loop_1 () at ../../src/keyboard.c:1424 #22 0x0000000000613d47 in internal_condition_case (bfun=bfun@entry=0x59d2a0 , handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x591030 ) at ../../src/eval.c:1607 #23 0x00000000005891ca in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at ../../src/keyboard.c:1163 #24 0x0000000000613ca1 in internal_catch (tag=tag@entry=XIL(0x12390), func=func@entry=0x5891b0 , arg=arg@entry=XIL(0x90)) at ../../src/eval.c:1286 #25 0x000000000058916f in command_loop () at ../../src/keyboard.c:1141 #26 0x0000000000590be3 in recursive_edit_1 () at ../../src/keyboard.c:749 #27 0x0000000000590f5e in Frecursive_edit () at ../../src/keyboard.c:832 #28 0x000000000046a7ec in main (argc=6, argv=0x7fffffffdc88) at ../../src/emacs.c:2649 END BACKTRACE VERSION INFO. In GNU Emacs 31.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) of 2024-12-09 built on maher Repository revision: based off 1098ae2896f Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: Gentoo Linux Configured using: 'configure --with-x-toolkit=athena --with-native-compilation -C' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix END VERSION INFO