unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Alexander Prähauser" <ahprae@protonmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 69478@debbugs.gnu.org
Subject: bug#69478: 30.0.50; Emacs dies after scrolling in eww
Date: Sat, 02 Mar 2024 10:15:01 +0800	[thread overview]
Message-ID: <877cil4bx6.fsf@yahoo.com> (raw)
In-Reply-To: <87jzmlslt0.fsf@protonmail.com> ("Alexander Prähauser"'s message of "Fri, 01 Mar 2024 20:06:24 +0000")

Alexander Prähauser <ahprae@protonmail.com> writes:

> "Eli Zaretskii" <eliz@gnu.org> writes:
>
>>> Date: Fri, 01 Mar 2024 19:08:31 +0000
>>> From: Alexander Prähauser <ahprae@protonmail.com>
>>> Cc: Eli Zaretskii <eliz@gnu.org>, 69478@debbugs.gnu.org
>>>
>>> "Po Lu" <luangruo@yahoo.com> writes:
>>>
>>> >>>   ./emacs -xrm 'Emacs.synchronous: true'
>>> >>>
>>> >>> so that X errors are reported immediately upon the offending requests
>>> >>> being issued.
>>> >>
>>> >> Should the above be run from the shell prompt or from GDB?  If the
>>> >
>>> > From GDB, of course.  Thanks.
>>>
>>> Interestingly, if run in this way, Emacs doesn't die, it just freezes.
>>> Here is the gdb output:
>>
>> The backtrace indicates you haven't run Emacs with the -xrm option as
>> shown above.  The X errors are still detected asynchronously, not
>> synchronously.
>
> What I did, exactly, was this:
>
> [alex@Arch emacs]$ gdb emacs
> GNU gdb (GDB) 14.1
> Copyright (C) 2023 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://www.gnu.org/software/gdb/bugs/>.
> 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 emacs...
> (gdb) run -xrm 'Emacs.synchronous: true'
>
> from vterm in another Emacs instance. So I specified the flags inside
> gdb and I called emacs, not ./emacs. Could one of those two things be
> the culprit? 

No, but try executing:

  (x-synchronize t)

within the Emacs session after it starts.  This will enable synchronous
operation regardless of the command line with which Emacs was started.





  reply	other threads:[~2024-03-02  2:15 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-29 18:27 bug#69478: 30.0.50; Emacs dies after scrolling in eww Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-29 18:33 ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-29 19:14 ` Eli Zaretskii
2024-02-29 19:15 ` Eli Zaretskii
2024-02-29 19:55   ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-29 20:12     ` Eli Zaretskii
2024-02-29 22:07       ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-29 23:07         ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-29 23:20           ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-29 23:32           ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-01  1:52             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-01  7:12               ` Eli Zaretskii
2024-03-01  8:31                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-01  1:48   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-01  7:11     ` Eli Zaretskii
2024-03-01  8:30       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-01 19:08         ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-01 19:29           ` Eli Zaretskii
2024-03-01 20:06             ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-02  2:15               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-03-02 21:09                 ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-03  6:16                   ` Eli Zaretskii
2024-03-03  6:56                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-03 15:38                       ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-04  2:09                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-14  7:55                           ` Eli Zaretskii
2024-03-14  9:36                             ` Alexander Prähauser via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-21 10:20                             ` Eli Zaretskii
2024-03-21 13:06                               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877cil4bx6.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=69478@debbugs.gnu.org \
    --cc=ahprae@protonmail.com \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).