unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 45277@debbugs.gnu.org
Subject: bug#45277: SELECTION_CLEAR_EVENT crashes
Date: Wed, 06 Jan 2021 19:37:18 +0200	[thread overview]
Message-ID: <87mtxm6k51.fsf_-_@mail.linkov.net> (raw)
In-Reply-To: <87mtxv8uh6.fsf@gmx.de> (Michael Albinus's message of "Wed, 30 Dec 2020 11:21:41 +0100")

retitle 45277 SELECTION_CLEAR_EVENT crashes
quit

>> Thanks for the help offer.  I see no more crashes even
>> without making bootstrap, so can't find an explanation.
>
> I've just pushed a change to dbusbind.c because of another
> error. Although I don't see a coincidence with your problem, it might be
> worth to pull and compile Emacs (no bootstrap).

After a week of calm, the crashes returned, but now with
a breakpoint in kbd_buffer_store_buffered_event, it revealed
that after copying a text to the clipboard outside of Emacs
causes the broken event SELECTION_CLEAR_EVENT to be added to the
kbd queue.  Sometimes the event kind becomes 11, sometimes 27.
Their binary representations:

#b01011 => 11 (SELECTION_CLEAR_EVENT)
#b11011 => 27 (DBUS_EVENT)
   ====
Note that their suffixes are the same "1011",
and only the leading bit differs.

Looks like a bit flip that means a faulty memory.
Maybe I should acquire ECC memory as Linus suggested
https://www.realworldtech.com/forum/?threadid=198497&curpostid=198647





  reply	other threads:[~2021-01-06 17:37 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 20:58 bug#45277: D-Bus crashes and DND errors Juri Linkov
2020-12-17 18:38 ` Michael Albinus
2020-12-17 21:54   ` Juri Linkov
2020-12-18 10:22     ` Michael Albinus
2020-12-19 20:23       ` Juri Linkov
2020-12-20 20:01       ` Juri Linkov
2020-12-20 20:21         ` Michael Albinus
2020-12-28 17:03           ` Juri Linkov
2020-12-28 17:52             ` Michael Albinus
2020-12-28 18:19               ` Juri Linkov
2020-12-29  8:27                 ` Michael Albinus
2020-12-29  9:31                   ` Juri Linkov
2020-12-29 10:59                     ` Michael Albinus
2020-12-29 15:16                       ` Eli Zaretskii
2020-12-29 19:28                         ` Juri Linkov
2020-12-30 10:21                           ` Michael Albinus
2021-01-06 17:37                             ` Juri Linkov [this message]
2021-05-16 15:52                               ` bug#45277: SELECTION_CLEAR_EVENT crashes Lars Ingebrigtsen
2021-05-16 17:57                                 ` Juri Linkov
2021-05-17 14:03                                   ` Lars Ingebrigtsen
2021-07-13 20:49                                     ` Juri Linkov
2021-07-13 22:28                                       ` Juri Linkov
2021-07-13 22:34                                       ` Lars Ingebrigtsen
2020-12-21  8:59         ` bug#45277: DND errors Juri Linkov

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=87mtxm6k51.fsf_-_@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=45277@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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).