From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: da_vid@orange.fr, 69287@debbugs.gnu.org
Subject: bug#69287: 30.0.50; Pasting text from KDE clipboard sometimes crashes Emacs
Date: Wed, 21 Feb 2024 14:34:08 +0200 [thread overview]
Message-ID: <86wmqym1xb.fsf@gnu.org> (raw)
In-Reply-To: <87bk8a8trc.fsf@yahoo.com> (bug-gnu-emacs@gnu.org)
> Cc: 69287@debbugs.gnu.org
> Date: Wed, 21 Feb 2024 09:56:39 +0800
> From: Po Lu via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> David Ponce <da_vid@orange.fr> writes:
>
> > Hello,
> >
> > While working in Emacs, I often paste text from the 'KDE clipboard popup
> > menu at mouse position' into the *scratch* buffer, and sometimes this
> > crashes Emacs, but not systematically.
> >
> > Since a few days I run Emacs under GDB, and I managed to get the
> > attached backtrace.
> >
> > Please, eventually let me know how I can help to get more useful details
> > when another crash will happen.
> >
> > Thanks.
>
> I suspect invalid Lisp objects are being recorded into one of several
> lists that hold temporary data during selection conversion. Please
> build Emacs with --enable-checking and post a backtrace from there.
But the second backtrace posted by David is unrelated to selections.
It is still in GC, but that GC was invoked from funcall, not from
selection-related code.
So it sounds like some invalid object is indeed created, but not
necessarily during selection conversion. Unfortunately, debugging GC
crashes is not easy; see etc/DEBUG for some guidance.
prev parent reply other threads:[~2024-02-21 12:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-20 14:59 bug#69287: 30.0.50; Pasting text from KDE clipboard sometimes crashes Emacs David Ponce
2024-02-20 16:22 ` David Ponce
2024-02-21 1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21 9:58 ` David Ponce
2024-02-21 11:34 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-21 15:31 ` Eli Zaretskii
2024-02-22 9:14 ` David Ponce
2024-02-21 12:34 ` Eli Zaretskii [this message]
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=86wmqym1xb.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=69287@debbugs.gnu.org \
--cc=da_vid@orange.fr \
--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).