GNU bug report logs -
#69287
30.0.50; Pasting text from KDE clipboard sometimes crashes Emacs
Previous Next
Full log
View this message in rfc822 format
> Cc: 69287 <at> 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 <at> gnu.org>
>
> David Ponce <da_vid <at> 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.
This bug report was last modified 1 year and 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.