unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
@ 2022-03-29 20:00 Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  0:51 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found] ` <handler.54629.D54629.16486116441691.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-29 20:00 UTC (permalink / raw)
  To: 54629

Recipe:

- emacs -Q
- Grab scroll bar with mouse
- Move scroll bar up or down. As soon as you move the bar far enough that it is about to move up or down a line, emacs will crash.

I don't have any debugging output to report, but I can provide some if
needed. I don't believe I've ever used gdb before.

Thanks.


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-Recipe:

- emacs -Q
- Grab scroll bar with mouse
- Move scroll bar up or down. As soon as you move the bar far enough that it is about to move up or down a line, emacs will crash.

I don't have any debugging output to report, but I can provide some if
needed. I don't believe I've ever used gdb before.

Thanks.gnu, GTK+ Version 3.24.31, cairo version 1.16.0)
 of 2022-03-29 built on localhost
Repository revision: fbf2ed9a648d9c0f64519900acf1574d0d74692b
Repository branch: master
System Description: Gentoo/Linux

Configured using:
 'configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --datarootdir=/usr/share
 --disable-silent-rules --docdir=/usr/share/doc/emacs-29.0.9999
 --htmldir=/usr/share/doc/emacs-29.0.9999/html --libdir=/usr/lib64
 --program-suffix=-emacs-29-vcs --includedir=/usr/include/emacs-29-vcs
 --infodir=/usr/share/info/emacs-29-vcs --localstatedir=/var
 --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
 --without-compress-install --without-hesiod --without-pop
 --with-file-notification=inotify --with-pdumper --enable-acl
 --with-dbus --without-modules --without-gameuser --with-libgmp
 --without-gpm --without-native-compilation --without-json
 --without-kerberos --without-kerberos5 --without-lcms2 --with-xml2
 --with-mailutils --without-selinux --without-sqlite3 --with-gnutls
 --without-libsystemd --with-threads --without-wide-int --with-zlib
 --with-sound=no --with-pgtk --without-x --without-ns --without-gconf
 --without-gsettings --without-toolkit-scroll-bars --without-harfbuzz
 --without-libotf --without-m17n-flt --with-xwidgets --with-gif
 --with-jpeg --with-png --with-rsvg --with-tiff --with-webp
 --with-imagemagick --with-dumping=pdumper 'CFLAGS=-O2 -march=znver2
 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG LIBXML2
NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP THREADS TIFF WEBP XIM
XWIDGETS GTK3 ZLIB

Important settings:
  value of $LANG: en_CA.utf8
  locale-coding-system: utf-8-unix

Major mode: mu4e-headers

Minor modes in effect:
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  pixel-scroll-precision-mode: t
  hl-line-mode: t
  projectile-mode: t
  xterm-mouse-mode: t
  electric-pair-mode: t
  global-company-mode: t
  company-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  override-global-mode: t
  ivy-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/es/.emacs.d/elpa/dash-20210826.1149/dash hides /usr/share/emacs/site-lisp/dash/dash
/home/es/.emacs.d/elpa/f-20210624.1103/f hides /usr/share/emacs/site-lisp/f/f
/home/es/.emacs.d/elpa/s-20210616.619/s hides /usr/share/emacs/site-lisp/s/s

Features:
(shadow emacsbug view network-stream nsm epa-file erc-list erc-menu
erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match
erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend
erc-loaddefs cus-start cus-load pixel-scroll counsel xdg sort gnus-cite
smiley shr-color mm-archive mail-extr textsec uni-scripts idna-mapping
ucs-normalize uni-confusable textsec-check qp prodigy f warnings
mu4e-alert time ht dash s alert log4e notifications gntp mu4e mu4e-org
mu4e-main mu4e-view mu4e-view-gnus gnus-art mm-uu mml2015 mm-view
mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus
dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time
gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit
mu4e-view-common mu4e-headers mu4e-compose mu4e-context mu4e-draft
mu4e-actions ido rfc2368 smtpmail mu4e-mark mu4e-proc mu4e-utils
doc-view jka-compr image-mode exif mu4e-lists mu4e-message shr
pixel-fill kinsoku url-file url-dired svg xml dom flow-fill org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint org-pcomplete pcomplete org-list org-faces org-entities
noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table
oc-basic bibtex iso8601 ol rx org-keys oc org-compat org-macs
org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs
mule-util hl-line mu4e-vars message sendmail yank-media rmc puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils
mailheader mu4e-meta time-date swiper ebuild-mode skeleton sh-script
smie executable bookmark pp term/xterm xterm server flyspell ispell
company-oddmuse company-keywords company-etags etags fileloop generator
xref project company-gtags company-dabbrev-code company-dabbrev
company-files company-clang company-capf company-cmake company-semantic
company-template company-bbdb advice langtool projectile lisp-mnt grep
compile text-property-search comint ansi-color ibuf-ext thingatpt
persp-mode xt-mouse ibuffer ibuffer-loaddefs use-package-ensure
elec-pair company pcase sanityinc-tomorrow-night-theme
color-theme-sanityinc-tomorrow undo-tree diff queue edmacro kmacro
cl-extra help-mode use-package-bind-key bind-key easy-mmode ivy delsel
ring ivy-faces ivy-overlay colir color use-package-core finder-inf
site-gentoo tex-site info package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x
byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl
tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice
simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese composite
emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help
abbrev obarray cl-preloaded button loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads xwidget-internal dbusbind inotify dynamic-setting
font-render-setting cairo gtk pgtk multi-tty make-network-process emacs)

Memory information:
((conses 16 639945 86824)
 (symbols 48 38432 1)
 (strings 32 185377 11752)
 (string-bytes 1 4959460)
 (vectors 16 92986)
 (vector-slots 8 1528388 82713)
 (floats 8 522 513)
 (intervals 56 3935 977)
 (buffers 992 32))





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-29 20:00 bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-03-30  0:51 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  1:01   ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found] ` <handler.54629.D54629.16486116441691.notifdone@debbugs.gnu.org>
  1 sibling, 1 reply; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-30  0:51 UTC (permalink / raw)
  To: Eric Spero; +Cc: 54629

Eric Spero <eric@ericspero.com> writes:

> Recipe:
>
> - emacs -Q
> - Grab scroll bar with mouse
> - Move scroll bar up or down. As soon as you move the bar far enough
>   that it is about to move up or down a line, emacs will crash.
>
> I don't have any debugging output to report, but I can provide some if
> needed. I don't believe I've ever used gdb before.

I can't reproduce your problem here.  Does your system use systemd?  If
so, simply say "coredumpctl debug emacs" and then "bt" at the resulting
gdb prompt, and send the results here.

Thanks.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30  0:51 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-03-30  1:01   ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  1:13     ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  2:12     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 12+ messages in thread
From: Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-30  1:01 UTC (permalink / raw)
  To: Po Lu; +Cc: 54629

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

On Wed 30 Mar 2022 at 08:51 AM, Po Lu <luangruo@yahoo.com> wrote:

> Eric Spero <eric@ericspero.com> writes:
>
>> Recipe:
>>
>> - emacs -Q
>> - Grab scroll bar with mouse
>> - Move scroll bar up or down. As soon as you move the bar far enough
>>   that it is about to move up or down a line, emacs will crash.
>>
>> I don't have any debugging output to report, but I can provide some if
>> needed. I don't believe I've ever used gdb before.
>
> I can't reproduce your problem here.  Does your system use systemd?  If
> so, simply say "coredumpctl debug emacs" and then "bt" at the resulting
> gdb prompt, and send the results here.
>
> Thanks.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30  1:01   ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-03-30  1:13     ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  2:12     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 12+ messages in thread
From: Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-30  1:13 UTC (permalink / raw)
  To: Po Lu; +Cc: 54629

Forgot to mention that if you need any more info from me I would be happy to provide it.

Eric

On Tue 29 Mar 2022 at 09:01 PM, Eric Spero <eric@ericspero.com> wrote:

> 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
>
> On Wed 30 Mar 2022 at 08:51 AM, Po Lu <luangruo@yahoo.com> wrote:
>
>> Eric Spero <eric@ericspero.com> writes:
>>
>>> Recipe:
>>>
>>> - emacs -Q
>>> - Grab scroll bar with mouse
>>> - Move scroll bar up or down. As soon as you move the bar far enough
>>>   that it is about to move up or down a line, emacs will crash.
>>>
>>> I don't have any debugging output to report, but I can provide some if
>>> needed. I don't believe I've ever used gdb before.
>>
>> I can't reproduce your problem here.  Does your system use systemd?  If
>> so, simply say "coredumpctl debug emacs" and then "bt" at the resulting
>> gdb prompt, and send the results here.
>>
>> Thanks.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30  1:01   ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  1:13     ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-03-30  2:12     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  2:25       ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-30  2:12 UTC (permalink / raw)
  To: Eric Spero; +Cc: 54629

Eric Spero <eric@ericspero.com> 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





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30  2:12     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-03-30  2:25       ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  3:18         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-30  2:25 UTC (permalink / raw)
  To: Po Lu; +Cc: 54629

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 <http://gnu.org/licenses/gpl.html>
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:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

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 <luangruo@yahoo.com> wrote:

> Eric Spero <eric@ericspero.com> 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






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30  2:25       ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-03-30  3:18         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  3:24           ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-30  3:18 UTC (permalink / raw)
  To: Eric Spero; +Cc: 54629

Eric Spero <eric@ericspero.com> writes:

> 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.

Thanks.  This is because the PGTK port assumes toolkit scroll bars are
always available, but compiling without them causes the wrong code to be
enabled in keyboard.c, which then aborts upon "unexpected" scroll bar
events.

I will update the configure script to disallow this specific
configuration, but in the meantime, please tell the Gentoo developers to
fix their build script.

Please tell them to also turn PGTK off by default, people shouldn't be
using it on X.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30  3:18         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-03-30  3:24           ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-03-30  3:40             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-30  3:24 UTC (permalink / raw)
  To: Po Lu; +Cc: 54629

Great, thank you for the explanation. I will forward this message on to the Gentoo people tomorrow.

Cheers,
Eric

On Wed 30 Mar 2022 at 11:18 AM, Po Lu <luangruo@yahoo.com> wrote:

> Eric Spero <eric@ericspero.com> writes:
>
>> 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.
>
> Thanks.  This is because the PGTK port assumes toolkit scroll bars are
> always available, but compiling without them causes the wrong code to be
> enabled in keyboard.c, which then aborts upon "unexpected" scroll bar
> events.
>
> I will update the configure script to disallow this specific
> configuration, but in the meantime, please tell the Gentoo developers to
> fix their build script.
>
> Please tell them to also turn PGTK off by default, people shouldn't be
> using it on X.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30  3:24           ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-03-30  3:40             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-03-30  3:40 UTC (permalink / raw)
  To: Eric Spero; +Cc: 54629-done

Eric Spero <eric@ericspero.com> writes:

> Great, thank you for the explanation. I will forward this message on
> to the Gentoo people tomorrow.

Thanks.  The adjustments to configure.ac have also been installed, so
I'm closing this bug report.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
       [not found] ` <handler.54629.D54629.16486116441691.notifdone@debbugs.gnu.org>
@ 2022-03-30 18:54   ` Glenn Morris
  2022-03-30 19:04     ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Glenn Morris @ 2022-03-30 18:54 UTC (permalink / raw)
  To: 54629; +Cc: luangruo


Since 62c779c, "--without-all --without-x" builds don't work.

Ref: https://hydra.nixos.org/build/171190052





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30 18:54   ` Glenn Morris
@ 2022-03-30 19:04     ` Eli Zaretskii
  2022-03-31 16:17       ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2022-03-30 19:04 UTC (permalink / raw)
  To: Glenn Morris; +Cc: luangruo, 54629

> From: Glenn Morris <rgm@gnu.org>
> Date: Wed, 30 Mar 2022 14:54:28 -0400
> Cc: luangruo@yahoo.com
> 
> 
> Since 62c779c, "--without-all --without-x" builds don't work.
> 
> Ref: https://hydra.nixos.org/build/171190052

Does the below help?

diff --git a/configure.ac b/configure.ac
index 93c821e..254f15b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3357,7 +3357,7 @@ AC_DEFUN
     AC_DEFINE(USE_TOOLKIT_SCROLL_BARS)
     USE_TOOLKIT_SCROLL_BARS=yes
   fi
-elif test "${window_system}" != "x11"; then
+elif test "${window_system}" != "x11" && "${window_system}" != "none"; then
   AC_MSG_ERROR(Non-toolkit scroll bars are not implemented for your system)
 fi
 





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse
  2022-03-30 19:04     ` Eli Zaretskii
@ 2022-03-31 16:17       ` Eli Zaretskii
  0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2022-03-31 16:17 UTC (permalink / raw)
  To: rgm, luangruo; +Cc: 54629-done

> Date: Wed, 30 Mar 2022 22:04:10 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: luangruo@yahoo.com, 54629@debbugs.gnu.org
> 
> > From: Glenn Morris <rgm@gnu.org>
> > Date: Wed, 30 Mar 2022 14:54:28 -0400
> > Cc: luangruo@yahoo.com
> > 
> > 
> > Since 62c779c, "--without-all --without-x" builds don't work.
> > 
> > Ref: https://hydra.nixos.org/build/171190052
> 
> Does the below help?

No responses, so I installed this fix on master, and I'm marking the
bug done.





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-03-31 16:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 20:00 bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-30  0:51 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-30  1:01   ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-30  1:13     ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-30  2:12     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-30  2:25       ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-30  3:18         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-30  3:24           ` Eric Spero via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-30  3:40             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found] ` <handler.54629.D54629.16486116441691.notifdone@debbugs.gnu.org>
2022-03-30 18:54   ` Glenn Morris
2022-03-30 19:04     ` Eli Zaretskii
2022-03-31 16:17       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).