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: 70073@debbugs.gnu.org
Subject: bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs
Date: Fri, 12 Apr 2024 14:07:24 +0300	[thread overview]
Message-ID: <86r0fasutv.fsf@gnu.org> (raw)
In-Reply-To: <NvGat_9--B-9@tuta.io> (arash.sah@tuta.io)

> Date: Fri, 12 Apr 2024 11:54:50 +0200 (CEST)
> From: "Abraham S.A.H." <arash.sah@tuta.io>
> Cc: 70073 <70073@debbugs.gnu.org>
> 
> Sorry for delay.
> 
> I got the opportunity to build Arch's `emacs-wayland` package myself, from the same PKGBUILD file used to build it in Arch's official repositories, including debug and without stripping anything. The result was about 30mg increase in size of the final built Emacs.  And the issue still persist.

The increase of the executable size is because it includes debug info.

> $ gdb emacs
> GNU gdb (GDB) 14.2
> 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) r -Q
> Starting program: /usr/bin/emacs -Q
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/usr/lib/libthread_db.so.1".
> [New Thread 0x7fffeda006c0 (LWP 7410)]
> [New Thread 0x7fffed0006c0 (LWP 7411)]
> [New Thread 0x7fffe7e006c0 (LWP 7412)]
> [New Thread 0x7fffe74006c0 (LWP 7413)]
> [New Thread 0x7fffe6a006c0 (LWP 7414)]
> [New Thread 0x7fffe54006c0 (LWP 7415)]
> [Detaching after vfork from child process 7435]
> 
> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> pgtk_handle_selection_request (event=0x7fffffffbe80)
>     at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:573
> warning: 573    /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c: No such file or directory

At this point, please type at the GDB prompt:

  thread apply all bt

and post the backtrace produced by GDB.  That's the information we
need to try to figure out what causes these crashes.





  reply	other threads:[~2024-04-12 11:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-29 14:52 bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-29 18:05 ` Eli Zaretskii
     [not found]   ` <NuAVPFf--B-9@tuta.io>
2024-03-29 19:00     ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-30  6:12     ` Eli Zaretskii
2024-03-30  8:13       ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-30  8:42         ` Eli Zaretskii
2024-03-30 11:06           ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-30 12:53             ` Eli Zaretskii
2024-04-12  9:54               ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-12 11:07                 ` Eli Zaretskii [this message]
2024-04-12 18:41                   ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-12 19:07                     ` Eli Zaretskii
2024-04-13  1:44                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-15 10:06                         ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-15 11:27                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-20 23:18                             ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-02  8:42                               ` Eli Zaretskii
2024-05-02 12:05                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-05  3:26                                   ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-05  4:07                                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-06  1:50                                       ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-25  7:27                                         ` Eli Zaretskii
2024-06-08 11:43                                           ` Eli Zaretskii
2024-06-08 12:10                                             ` 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=86r0fasutv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70073@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).