From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Spero via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse Date: Tue, 29 Mar 2022 22:25:21 -0400 Message-ID: <87r16kdvgl.fsf@ericspero.com> References: <87h77gedew.fsf@ericspero.com> <87mth8z2hg.fsf@yahoo.com> <87mth86y6t.fsf@ericspero.com> <87fsn0yyqs.fsf@yahoo.com> Reply-To: Eric Spero Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13386"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 29.0.50 Cc: 54629@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 30 04:30:40 2022 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 1nZO6X-0003GB-K1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Mar 2022 04:30:37 +0200 Original-Received: from localhost ([::1]:40054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZO6W-0007Ae-4P for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Mar 2022 22:30:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZO60-0007AW-DL for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 22:30:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZO5y-0002qa-LH for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 22:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZO5y-00071X-DO for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2022 22:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Spero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Mar 2022 02:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54629 X-GNU-PR-Package: emacs Original-Received: via spool by 54629-submit@debbugs.gnu.org id=B54629.164860736326934 (code B ref 54629); Wed, 30 Mar 2022 02:30:02 +0000 Original-Received: (at 54629) by debbugs.gnu.org; 30 Mar 2022 02:29:23 +0000 Original-Received: from localhost ([127.0.0.1]:34031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZO5K-00070L-Pv for submit@debbugs.gnu.org; Tue, 29 Mar 2022 22:29:23 -0400 Original-Received: from mail.ericspero.com ([155.138.147.57]:38268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZO5J-000705-5F for 54629@debbugs.gnu.org; Tue, 29 Mar 2022 22:29:22 -0400 Original-Received: from gentoo (bras-base-prscon2005w-grc-01-216-208-65-135.dsl.bell.ca [216.208.65.135]) by mail.ericspero.com (Postfix) with ESMTPSA id 7C4747D3A9; Wed, 30 Mar 2022 02:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ericspero.com; s=mail; t=1648607355; bh=DqBSexJiyesOWsZ8s2/rY1+SE21SpiaaaTmYH06u9X8=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=PZdJkleiz2IOQORfb3TabXPafQCR9za2wvxNJ8aNkrX00zqqV6JgD9WkpSSH7tF3Q rOzO+SaPtcPqi+03e3Qm2FpgQuUlw+zY4D/Yzid0H33lyumrWuTlwVOc2tZgz1kLhX 9G7xFWK3dQiLeYFH5xupme59YBbhxuVsIa61IfC8= In-reply-to: <87fsn0yyqs.fsf@yahoo.com> 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" Xref: news.gmane.io gmane.emacs.bugs:229084 Archived-At: Ok, here are the steps I took. 1. gdb /usr/bin/emacs 2. run -Q 3. [try to pull scroll bar down] 4. bt gdb produced a bit output after I tried to pull the scroll bar down, starting at "Fatal error 6: Aborted". Please let me know if I've done anything wrong, or if there is anything else I can provide. Eric ++++++ es@gentoo ~ $ gdb /usr/bin/emacs GNU gdb (Gentoo 11.2 vanilla) 11.2 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/emacs... (No debugging symbols found in /usr/bin/emacs) (gdb) run -Q Starting program: /usr/bin/emacs -Q [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffeb7d7640 (LWP 16506)] [New Thread 0x7fffeafa3640 (LWP 16507)] [New Thread 0x7fffea792640 (LWP 16508)] [New Thread 0x7fffe9f7f640 (LWP 16509)] [New Thread 0x7fffe916c640 (LWP 16521)] [Thread 0x7fffe916c640 (LWP 16521) exited] [New Thread 0x7fffe916c640 (LWP 16524)] [New Thread 0x7fffe896b640 (LWP 16525)] [Thread 0x7fffe916c640 (LWP 16524) exited] [New Thread 0x7fffe916c640 (LWP 16555)] [New Thread 0x7fffd3fff640 (LWP 16558)] [Thread 0x7fffe896b640 (LWP 16525) exited] [Thread 0x7fffe916c640 (LWP 16555) exited] [Thread 0x7fffd3fff640 (LWP 16558) exited] Fatal error 6: Aborted Backtrace: /usr/bin/emacs(emacs_backtrace+0x51)[0x5555556da651] /usr/bin/emacs(terminate_due_to_signal+0x88)[0x5555555cd72a] /usr/bin/emacs(+0x79c82)[0x5555555cdc82] /usr/bin/emacs(+0x169cab)[0x5555556bdcab] /usr/bin/emacs(+0x16def8)[0x5555556c1ef8] /usr/bin/emacs(read_char+0x12bb)[0x5555556c890b] /usr/bin/emacs(+0x176a11)[0x5555556caa11] /usr/bin/emacs(+0x178713)[0x5555556cc713] /usr/bin/emacs(internal_condition_case+0x67)[0x555555746317] /usr/bin/emacs(command_loop_2+0x2e)[0x5555556b80be] /usr/bin/emacs(internal_catch+0x41)[0x555555746271] /usr/bin/emacs(+0x164049)[0x5555556b8049] /usr/bin/emacs(recursive_edit_1+0x7f)[0x5555556bf5ff] /usr/bin/emacs(Frecursive_edit+0xcb)[0x5555556bf97b] /usr/bin/emacs(main+0x1b59)[0x5555555d5529] /lib64/libc.so.6(+0x292fa)[0x7ffff08a72fa] /lib64/libc.so.6(__libc_start_main+0x78)[0x7ffff08a73a8] /usr/bin/emacs(_start+0x21)[0x5555555d5a91] Thread 1 "emacs" received signal SIGABRT, Aborted. 0x00007ffff0908d0c in ?? () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff0908d0c in () at /lib64/libc.so.6 #1 0x00007ffff08bba62 in raise () at /lib64/libc.so.6 #2 0x00005555555cd757 in terminate_due_to_signal () #3 0x00005555555cdc82 in () #4 0x00005555556bdcab in () #5 0x00005555556c1ef8 in () #6 0x00005555556c890b in read_char () #7 0x00005555556caa11 in () #8 0x00005555556cc713 in () #9 0x0000555555746317 in internal_condition_case () #10 0x00005555556b80be in command_loop_2 () #11 0x0000555555746271 in internal_catch () #12 0x00005555556b8049 in () #13 0x00005555556bf5ff in recursive_edit_1 () #14 0x00005555556bf97b in Frecursive_edit () #15 0x00005555555d5529 in main () (gdb) On Wed 30 Mar 2022 at 10:12 AM, Po Lu wrote: > Eric Spero writes: > >> Hello, >> >> No, I use OpenRC unfortunately. >> >> And I actually just managed to fix it with the "toolkit-tool-bar" use >> flag: >> >> + + toolkit-scroll-bars : Use the selected toolkit's scrollbars in >> preference to Emacs' own scrollbars >> >> I probably should have looked for this before filing the bug report, >> but perhaps it's a bug nonetheless? >> >> Eric > > That's odd, since PGTK doesn't support non-toolkit scroll bars at all. > IOW, that flag should not do anything there. > > So please run Emacs under GDB, reproduce the bug, and send the resulting > backtrace here, like this: > > $ gdb path/to/emacs > (gdb) run -Q > (gdb) bt