unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Abraham S.A.H." <arash.sah@tuta.io>
Cc: 70072@debbugs.gnu.org
Subject: bug#70072: 29.3; Emacs-PGTK crashes upon kill-region or kill-ring-save
Date: Fri, 29 Mar 2024 21:03:35 +0300	[thread overview]
Message-ID: <86le60ewzs.fsf@gnu.org> (raw)
In-Reply-To: <Nu9egIx--3-9@tuta.io> (bug-gnu-emacs@gnu.org)

> Date: Fri, 29 Mar 2024 15:43:52 +0100 (CET)
> From:  "Abraham S.A.H." via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> ## System Information:
> 
> * Kernel: 6.8.2-2
> * DE: Gnome 46.0
> * WM: Mutter (Wayland)
> * gnome-shell: 46.0
> * wayland: 1.22.0
> * mutter: 46.0
> * wl-clipboard: 2.2.1
> * weston: 13.0.0
> * sway: 1.9-e93da93
> * emacs package: emacs-wayland 29.3-1.1 (archlinux)
> 
> ## Steps to reproduce the issue under Gnome:
> 
> 1. Invoke `emacs -Q` in any terminal emulator to start Emacs along with
>    its GUI frame.
> 2. Mark/highlight some area of text with your mouse pointer. OR use
>    C-Space and keyboard movement shortcuts to do the same.
> 3. Use `C-w` or `M-w` to kill or kill-save the marked text.
> 5. Emacs crashes.
> 
> NOTE1: The problem is reproducible both when marking with mouse cursor
>        or when marking with keyboard shortcuts.
> NOTE2: Using `kill-region` or `kill-ring-save` commands results in the
>        same state.
> NOTE3: Copying or cutting text outside Emacs and yanking inside Emacs
>        works without any problem.
> 
> ## State of the issue under Sway:
> 
> Just Killing doesn't make Emacs to crash, but then trying to paste it
> into other applications make Emacs to crash.
> 
> ## State of the issue under Weston:
> 
> Copying and cutting outside of Emacs and yanking into Emacs works
> without issues.  Killing inside Emacs doesn't make it to crash, but 
> it also doesn't paste inside other applications, and makes the current
> clipboard to get empty.
> 
> ## Workaround:
> Set variable `select-enable-clipboard` to `nil`.
> 
> ## Terminal log of Emacs after crash:
> 
> ~~~~~~~~~~ Start of the log
> Fatal error 11: Segmentation fault
> Backtrace:
> 
> emacs(+0x16bc62)[0x5f8b0fcddc62]
> emacs(+0x20243)[0x5f8b0fb92243]
> emacs(+0x21d44)[0x5f8b0fb93d44]
> /usr/lib/libc.so.6(+0x41b30)[0x735b53041b30]

Thank you for your report, but these backtraces can only be
interpreted on your system.  So either convert them to human-readable
lists of file names, line numbers, and function names as described in
the node "Crashing" of the Emacs user manual, or run Emacs from GDB,
and when Emacs crashes, type "bt" at the GDB prompt and post the
backtrace produced by GDB.

> fish: Job 1, 'emacs --debug-init' terminated by signal SIGSEGV (Address
> boundary error)

This says you invoked Emacs with --debug-init, not with -Q.  Which one
is correct?





  reply	other threads:[~2024-03-29 18:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-29 14:43 bug#70072: 29.3; Emacs-PGTK crashes upon kill-region or kill-ring-save Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-29 18:03 ` Eli Zaretskii [this message]
2024-03-29 18:58   ` Abraham S.A.H. 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=86le60ewzs.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70072@debbugs.gnu.org \
    --cc=arash.sah@tuta.io \
    /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).