* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs @ 2024-03-29 14:52 Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors 2024-03-29 18:05 ` Eli Zaretskii 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-03-29 14:52 UTC (permalink / raw) To: 70073 ## 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. Open any other application. (gnome-text-editor, for example) 4. Use your middle mouse button in an editable text area of the second application's frame. 5. Emacs crashes. NOTE1: Emacs doesn't crash if you just middle click in any *non-textual/non-editable* area, outside Emacs. NOTE2: Middle clicking *inside* any of Emacs' own buffers DOES work properly without any crash or noticeable problem. NOTE3: The problem is reproducible both when marking with mouse cursor or when marking with keyboard shortcuts. NOTE4: Using another shortcut that pastes the Primary selection of the wayland, instead of mouse's middle click, also reproduces the same issue. E.g. S-Insert of WezTerm. NOTE5: Marking a text outside of Emacs and middle clicking inside Emacs works flawlessly. ## State of the issue under Sway: The issue is completely reproducable under sway with the same steps as above, with the same symptoms and the same segmentation fault error. ## State of the issue under Weston: The issue is not reproducable under Weston but the functionality is also lost. Weston doesn't support primary selection. ## Tried Workarounds: ### Workaround number 1: Disable the primary selection. In gnome you can disable primary selection. Brings users to the same state of under Weston. Emacs will not crash, Primary selection works inside Emacs, but not outside of Emacs. Emacs still crashes if user uses the middle click inside applications that try to pull primary selection with middle click. ### Workaround number 2: Set variable `select-active-regions` to `nil`. Disables the functionality and of course removes the issue. ## Terminal log of Emacs after crash: ~~~~~~~ Start of the terminal log Fatal error 11: Segmentation fault Backtrace: emacs(+0x16bc62)[0x5f8b0fcddc62] emacs(+0x20243)[0x5f8b0fb92243] emacs(+0x21d44)[0x5f8b0fb93d44] /usr/lib/libc.so.6(+0x41b30)[0x735b53041b30] emacs(+0x3027c9)[0x5f8b0fe747c9] emacs(+0x14950d)[0x5f8b0fcbb50d] emacs(+0x14a631)[0x5f8b0fcbc631] emacs(+0x275406)[0x5f8b0fde7406] emacs(+0x44808)[0x5f8b0fbb6808] emacs(+0x152ea1)[0x5f8b0fcc4ea1] emacs(+0x317837)[0x5f8b0fe89837] emacs(+0x1465ec)[0x5f8b0fcb85ec] emacs(+0x1fd94f)[0x5f8b0fd6f94f] emacs(+0x143fae)[0x5f8b0fcb5fae] emacs(+0x1fd8a5)[0x5f8b0fd6f8a5] emacs(+0x145dc9)[0x5f8b0fcb7dc9] emacs(+0x34bf40)[0x5f8b0febdf40] emacs(+0x146300)[0x5f8b0fcb8300] emacs(+0x380d3)[0x5f8b0fbaa0d3] /usr/lib/libc.so.6(+0x26010)[0x735b53026010] /usr/lib/libc.so.6(__libc_start_main+0x8a)[0x735b530260ca] emacs(+0x38445)[0x5f8b0fbaa445] fish: Job 1, 'emacs --debug-init' terminated by signal SIGSEGV (Address boundary error) ~~~~~~~ End of the log In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) Repository revision: 4b1bcc2ad665ccd3fe1d4b8a206f9bf3a8bc2c98 Repository branch: HEAD System Description: Arch Linux Configured using: 'configure --with-pgtk --with-native-compilation=aot --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --with-tree-sitter --localstatedir=/var --with-cairo --disable-build-details --with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=-march=x86-64-v3 -mtune=haswell -O3 -pipe -fno-plt -fexceptions -mpclmul -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g1 -ffile-prefix-map=/startdir/src=/usr/src/debug/emacs -flto=auto -falign-functions=32' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32' 'CXXFLAGS=-march=x86-64-v3 -mtune=haswell -O3 -pipe -fno-plt -fexceptions -mpclmul -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g1 -ffile-prefix-map=/startdir/src=/usr/src/debug/emacs -flto=auto -falign-functions=32'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LC_COLLATE: en_GB.UTF-8 value of $LC_CTYPE: en_GB.UTF-8 value of $LC_MESSAGES: en_GB.UTF-8 value of $LC_MONETARY: fa_IR.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 77836 11913) (symbols 48 7110 0) (strings 32 19779 1208) (string-bytes 1 599931) (vectors 16 15779) (vector-slots 8 329592 20534) (floats 8 28 46) (intervals 56 291 0) (buffers 984 12)) ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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> 0 siblings, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-03-29 18:05 UTC (permalink / raw) To: Abraham S.A.H.; +Cc: 70073 > Date: Fri, 29 Mar 2024 15:52:12 +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. Open any other application. (gnome-text-editor, for example) > 4. Use your middle mouse button in an editable text area of the second > application's frame. > 5. Emacs crashes. > > NOTE1: Emacs doesn't crash if you just middle click in any > *non-textual/non-editable* area, outside Emacs. > NOTE2: Middle clicking *inside* any of Emacs' own buffers DOES work > properly without any crash or noticeable problem. > NOTE3: The problem is reproducible both when marking with mouse cursor > or when marking with keyboard shortcuts. > NOTE4: Using another shortcut that pastes the Primary selection of the > wayland, instead of mouse's middle click, also reproduces the > same issue. E.g. S-Insert of WezTerm. > NOTE5: Marking a text outside of Emacs and middle clicking inside > Emacs works flawlessly. Is this different from bug#70072 that you submitted a few minutes ago, or is this the same problem? It sounds almost the same problem, just triggered in 2 different ways. > > ## State of the issue under Sway: > > The issue is completely reproducable under sway with the same steps as > above, with the same symptoms and the same segmentation fault error. > > ## State of the issue under Weston: > > The issue is not reproducable under Weston but the functionality is > also lost. Weston doesn't support primary selection. > > ## Tried Workarounds: > > ### Workaround number 1: > Disable the primary selection. In gnome you can disable > primary selection. Brings users to the same state of under > Weston. Emacs will not crash, Primary selection works inside > Emacs, but not outside of Emacs. > > Emacs still crashes if user uses the middle click inside applications > that try to pull primary selection with middle click. > > ### Workaround number 2: > Set variable `select-active-regions` to `nil`. Disables the > functionality and of course removes the issue. > > ## Terminal log of Emacs after crash: > > ~~~~~~~ Start of the terminal 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. ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <NuAVPFf--B-9@tuta.io>]
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs [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 1 sibling, 0 replies; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-03-29 19:00 UTC (permalink / raw) Cc: 70073 > 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. The least I could do. That's the end of the day in my time — Tehran's time. I will do it again with GDB as you instructed, tomorrow. > This says you invoked Emacs with --debug-init, not with -Q. Which one > is correct? It's saying right. When I ran the bug report command, Emacs was invoked with both `-Q` and `--debug-init` flags. But the issue and backtrace is the same, nonetheless. > Is this different from bug#70072 that you submitted a few minutes ago, > or is this the same problem? It sounds almost the same problem, just > triggered in 2 different ways. Exactly, it seems to be the same issue, triggered in 2 different ways. Even the crash backtrace is the same. By the way! I have tried `emacs-pgtk-native-comp-git` of AUR, which is Emacs dev master branch (30.0.50.171462) with PGTK and I could NOT reproduce the bug. This is the only available package of Emacs dev branch with PGTK enabled, in Arch Linux. -- Best Regards, Abraham Sent with Tutanota; https://tuta.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs [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 1 sibling, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-03-30 6:12 UTC (permalink / raw) To: Abraham S.A.H.; +Cc: 70073 merge 70073 70072 thanks [Please always use Reply All to reply, to keep the bug tracker CC'ed.] > Date: Fri, 29 Mar 2024 19:53:40 +0100 (CET) > From: "Abraham S.A.H." <arash.sah@tuta.io> > > > 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. > > The least I could do. > > That's the end of the day in my time — Tehran's time. I will do it again > with GDB as you instructed, tomorrow. > > > This says you invoked Emacs with --debug-init, not with -Q. Which one > > is correct? > > It's saying right. When I ran the bug report command, Emacs was invoked > with both `-Q` and `--debug-init` flags. But the issue and backtrace is the > same, nonetheless. > > > Is this different from bug#70072 that you submitted a few minutes ago, > > or is this the same problem? It sounds almost the same problem, just > > triggered in 2 different ways. > > Exactly, it seems to be the same issue, triggered in 2 different ways. > Even the crash backtrace is the same. I'm therefore merging the two bugs. > By the way! I have tried `emacs-pgtk-native-comp-git` of AUR, which is > Emacs dev master branch (30.0.50.171462) with PGTK and I could NOT > reproduce the bug. This is the only available package of Emacs dev branch > with PGTK enabled, in Arch Linux. ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-03-30 8:13 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 70073 Hello. I ran GDB with `gdb emacs`. It downloaded some debuginfo stuff that I don't know what are they. And then I ran `run -Q` It's the result on the terminal: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reading symbols from emacs... (No debugging symbols found in emacs) (gdb) r -Q The program being debugged has been started already. Start it from the beginning? (y or n) y 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 28804)] [New Thread 0x7fffed0006c0 (LWP 28805)] [New Thread 0x7fffe7e006c0 (LWP 28806)] [New Thread 0x7fffe74006c0 (LWP 28807)] [New Thread 0x7fffe6a006c0 (LWP 28808)] [New Thread 0x7fffe50006c0 (LWP 28809)] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00005555558567c9 in ?? () (gdb) Quit (gdb) r -Q The program being debugged has been started already. Start it from the beginning? (y or n) y 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 28856)] [New Thread 0x7fffed0006c0 (LWP 28857)] [New Thread 0x7fffe7e006c0 (LWP 28858)] [New Thread 0x7fffe74006c0 (LWP 28859)] [New Thread 0x7fffe6a006c0 (LWP 28860)] [New Thread 0x7fffe50006c0 (LWP 28861)] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00005555558567c9 in ?? () ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It seems like that `emacs-wayland` package does not contain debug symbols. I have to probably consult with Arch Wiki or ask for guidance in archlinux mailing lists to find out if there is a version with debugging symbols enabled to download. Or just rebuild the package with debugging symbols enabled. -- Best Regards, Abraham Sent with Tutanota; https://tuta.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-03-30 8:42 UTC (permalink / raw) To: Abraham S.A.H.; +Cc: 70073 > Date: Sat, 30 Mar 2024 09:13:26 +0100 (CET) > From: "Abraham S.A.H." <arash.sah@tuta.io> > Cc: 70073 <70073@debbugs.gnu.org> > > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x00005555558567c9 in ?? () > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > It seems like that `emacs-wayland` package does not contain debug symbols. I have to probably consult with Arch Wiki or ask for guidance in archlinux mailing lists to find out if there is a version with debugging symbols enabled to download. Or just rebuild the package with debugging symbols enabled. Yes, please. ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-03-30 11:06 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 70073 Okay, the Arch debug repository (extra-debug), does not contain a debug package for `emacs-wayland`. Interestingly, `emacs-wayland` package is built with a single PKGBUILD file[1] containing instructions to build all other Emacs packages in Arch official repository. So to reproduce `emacs-wayland` the same way it's built for Arch's repository, I have to build three other Emacs packages alongside `emacs-wayland`. Those other three are `emacs`, `emacs-nox` and `emcas-nativecomp`. The other option for me to reproduce `emacs-wayland` package, is to review that file and write another one which just build that single package. I'll do the first later and then report. -- Best Regards, Abraham Sent with Tutanota; https://tuta.com [1]:https://gitlab.archlinux.org/archlinux/packaging/packages/emacs/-/blob/main/PKGBUILD ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-03-30 12:53 UTC (permalink / raw) To: Abraham S.A.H.; +Cc: 70073 > Date: Sat, 30 Mar 2024 12:06:57 +0100 (CET) > From: "Abraham S.A.H." <arash.sah@tuta.io> > Cc: 70073 <70073@debbugs.gnu.org> > > Okay, the Arch debug repository (extra-debug), does not contain a debug package for `emacs-wayland`. > > Interestingly, `emacs-wayland` package is built with a single PKGBUILD file[1] containing instructions to build all other Emacs packages in Arch official repository. So to reproduce `emacs-wayland` the same way it's built for Arch's repository, I have to build three other Emacs packages alongside `emacs-wayland`. Those other three are `emacs`, `emacs-nox` and `emcas-nativecomp`. > > The other option for me to reproduce `emacs-wayland` package, is to review that file and write another one which just build that single package. > > I'll do the first later and then report. Thank you. ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-12 9:54 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 70073 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. GDB OUTPUT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ 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 (gdb) r -Q The program being debugged has been started already. Start it from the beginning? (y or n) y 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 7535)] [New Thread 0x7fffed0006c0 (LWP 7536)] [New Thread 0x7fffe7e006c0 (LWP 7537)] [New Thread 0x7fffe74006c0 (LWP 7538)] [New Thread 0x7fffe6a006c0 (LWP 7539)] [New Thread 0x7fffe54006c0 (LWP 7540)] [Detaching after vfork from child process 7541] 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 573 in /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ report-emacs-bug OUTPUT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) System Description: Arch Linux Configured using: 'configure --with-pgtk --with-native-compilation=aot --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --with-tree-sitter --localstatedir=/var --with-cairo --disable-build-details --with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=-march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/tmp/makepkg/emacs/src=/usr/src/debug/emacs -flto=auto' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs,-fuse-ld=mold -flto=auto' 'CXXFLAGS=-march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/tmp/makepkg/emacs/src=/usr/src/debug/emacs -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LC_COLLATE: en_GB.UTF-8 value of $LC_CTYPE: en_GB.UTF-8 value of $LC_MESSAGES: en_GB.UTF-8 value of $LC_MONETARY: fa_IR.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 77550 5699) (symbols 48 7115 0) (strings 32 19768 2366) (string-bytes 1 600069) (vectors 16 15780) (vector-slots 8 329652 14342) (floats 8 28 46) (intervals 56 276 0) (buffers 984 12)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Now that I got time to build it and can more responsively reply for anything needed about this issue. BY THE WAY, checking arch-devel and arch-general mailing lists and also "issues" page of the emacs pacakge, it seems like no one else have this issue… kinda only happening to me! During the time, I gave GTK+ and Lucid toolkits a try, and now I decided on staying with the lucid toolkit. Even switched my whole desktop, from Pure Wayland of Gnome, to Pure X11 of Xfce4. I think, I stay with it until using X is not practically possible. Or when PGTK is recommended by you (Emacs-devs). -- Best Regards, Abraham Sent with Tutanota; https://tuta.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 2024-04-12 18:41 ` Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-04-12 11:07 UTC (permalink / raw) To: Abraham S.A.H.; +Cc: 70073 > 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. ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 2024-04-12 11:07 ` Eli Zaretskii @ 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 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-12 18:41 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 70073 > At this point, please type at the GDB prompt... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 60662)] [New Thread 0x7fffe7e006c0 (LWP 60663)] [New Thread 0x7fffed0006c0 (LWP 60664)] [New Thread 0x7fffe74006c0 (LWP 60665)] [New Thread 0x7fffe6a006c0 (LWP 60666)] [New Thread 0x7fffe50006c0 (LWP 60667)] [Detaching after vfork from child process 60668] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. pgtk_handle_selection_request (event=0x7fffffffc040) 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 (gdb) thread apply all bt Thread 7 (Thread 0x7fffe50006c0 (LWP 60667) "emacs"): #0 0x00007ffff37233ad in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff6fc8487 in g_cond_wait () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f38454 in ??? () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f384bc in g_async_queue_pop () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6046c08 in ??? () at /usr/lib/libpangoft2-1.0.so.0 #5 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #6 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #7 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 6 (Thread 0x7fffe6a006c0 (LWP 60666) "dconf worker"): #0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6d712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007fffee1c638e in ??? () at /usr/lib/gio/modules/libdconfsettings.so #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 5 (Thread 0x7fffe74006c0 (LWP 60665) "gdbus"): #0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 --Type <RET> for more, q to quit, c to continue without paging--c #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6edc7 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff71ca83c in ??? () at /usr/lib/libgio-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 4 (Thread 0x7fffed0006c0 (LWP 60664) "pool-emacs"): #0 0x00007ffff37233ad in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff6fc8e43 in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f38425 in ??? () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f38587 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6fa1a5e in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #6 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #7 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 3 (Thread 0x7fffe7e006c0 (LWP 60663) "gmain"): #0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6d712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f6d762 in ??? () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7fffeda006c0 (LWP 60662) "pool-spawner"): #0 0x00007ffff37233ad in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff6fc8487 in g_cond_wait () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f38454 in ??? () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f9d29e in ??? () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7ffff2090080 (LWP 60645) "emacs"): #0 pgtk_handle_selection_request (event=0x7fffffffc040) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:573 #1 0x00005555556fbc8d in pgtk_handle_selection_event (event=0x7fffffffc040) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:784 #2 process_special_events () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4449 #3 0x00005555556fcd91 in swallow_events (do_display=true) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4489 #4 0x0000555555831607 in wait_reading_process_output (time_limit=<optimized out>, nsecs=<optimized out>, read_kbd=<optimized out>, do_display=<optimized out>, wait_for_cell=<optimized out>, wait_proc=<optimized out>, just_wait_proc=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/process.c:5788 #5 0x00005555555eea46 in sit_for (timeout=<optimized out>, reading=<optimized out>, display_option=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/dispnew.c:6264 #6 0x0000555555705551 in read_char (commandflag=1, map=0x555556dc40f3, prev_event=0x0, used_mouse_menu=0x7fffffffcb6b, end_time=0x0) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:2881 #7 0x00005555558d7de7 in read_key_sequence.constprop.0 (keybuf=<optimized out>, prevent_redisplay=false, fix_current_buffer=<optimized out>, can_return_switch_frame=<optimized out>, dont_downcase_last=<optimized out>, prompt=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:10084 #8 0x00005555556f50f4 in command_loop_1 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1384 #9 0x00005555557b50df in internal_condition_case (bfun=0x5555556f4e20 <command_loop_1>, handlers=<optimized out>, hfun=0x5555556f2890 <cmd_error>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1474 #10 0x00005555556f2b6e in command_loop_2 (handlers=handlers@entry=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1133 #11 0x00005555557b5035 in internal_catch (tag=<optimized out>, func=0x5555556f2b40 <command_loop_2>, arg=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1197 #12 0x00005555556f48f9 in command_loop () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1111 #13 0x000055555590ceb0 in recursive_edit_1.isra.0 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:720 #14 0x00005555556f4e00 in Frecursive_edit () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:803 #15 0x00005555556fa777 in main (argc=<optimized out>, argv=0x7fffffffd278) at /usr/src/debug/emacs/emacs-29.3-wayland/src/emacs.c:2521 (gdb) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Best Regards, Abraham Sent with Tutanota; https://tuta.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-04-12 19:07 UTC (permalink / raw) To: Abraham S.A.H., Po Lu; +Cc: 70073 > Date: Fri, 12 Apr 2024 20:41:02 +0200 (CEST) > From: "Abraham S.A.H." <arash.sah@tuta.io> > Cc: 70073 <70073@debbugs.gnu.org> > > Thread 1 (Thread 0x7ffff2090080 (LWP 60645) "emacs"): > #0 pgtk_handle_selection_request (event=0x7fffffffc040) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:573 > #1 0x00005555556fbc8d in pgtk_handle_selection_event (event=0x7fffffffc040) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:784 > #2 process_special_events () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4449 > #3 0x00005555556fcd91 in swallow_events (do_display=true) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4489 > #4 0x0000555555831607 in wait_reading_process_output (time_limit=<optimized out>, nsecs=<optimized out>, read_kbd=<optimized out>, do_display=<optimized out>, wait_for_cell=<optimized out>, wait_proc=<optimized out>, just_wait_proc=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/process.c:5788 > #5 0x00005555555eea46 in sit_for (timeout=<optimized out>, reading=<optimized out>, display_option=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/dispnew.c:6264 > #6 0x0000555555705551 in read_char (commandflag=1, map=0x555556dc40f3, prev_event=0x0, used_mouse_menu=0x7fffffffcb6b, end_time=0x0) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:2881 > #7 0x00005555558d7de7 in read_key_sequence.constprop.0 (keybuf=<optimized out>, prevent_redisplay=false, fix_current_buffer=<optimized out>, can_return_switch_frame=<optimized out>, dont_downcase_last=<optimized out>, prompt=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:10084 > #8 0x00005555556f50f4 in command_loop_1 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1384 > #9 0x00005555557b50df in internal_condition_case (bfun=0x5555556f4e20 <command_loop_1>, handlers=<optimized out>, hfun=0x5555556f2890 <cmd_error>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1474 > #10 0x00005555556f2b6e in command_loop_2 (handlers=handlers@entry=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1133 > #11 0x00005555557b5035 in internal_catch (tag=<optimized out>, func=0x5555556f2b40 <command_loop_2>, arg=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1197 > #12 0x00005555556f48f9 in command_loop () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1111 > #13 0x000055555590ceb0 in recursive_edit_1.isra.0 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:720 > #14 0x00005555556f4e00 in Frecursive_edit () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:803 > #15 0x00005555556fa777 in main (argc=<optimized out>, argv=0x7fffffffd278) at /usr/src/debug/emacs/emacs-29.3-wayland/src/emacs.c:2521 Thanks. Po Lu, any idea why pgtk_handle_selection_request segfaults at that point? Is dpyinfo or dpyinfo->terminal a NULL or invalid pointer or something? ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-13 1:44 UTC (permalink / raw) To: Eli Zaretskii; +Cc: Abraham S.A.H., 70073 Eli Zaretskii <eliz@gnu.org> writes: > Po Lu, any idea why pgtk_handle_selection_request segfaults at that > point? Is dpyinfo or dpyinfo->terminal a NULL or invalid pointer or > something? That should not be possible. >> Date: Fri, 12 Apr 2024 20:41:02 +0200 (CEST) >> From: "Abraham S.A.H." <arash.sah@tuta.io> >> Cc: 70073 <70073@debbugs.gnu.org> >> >> Thread 1 (Thread 0x7ffff2090080 (LWP 60645) "emacs"): >> #0 pgtk_handle_selection_request (event=0x7fffffffc040) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:573 Abraham, please run the following commands: p *(struct selection_input_event *) event p *dpyinfo p *dpyinfo->terminal Thanks in advance. ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-15 10:06 UTC (permalink / raw) To: Po Lu; +Cc: Eli Zaretskii, 70073 Sorry if I caN't work with GDB Properly. I have tried to read the info, but it didn't help much. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 gpg-connect-agent: no running gpg-agent - starting '/usr/bin/gpg-agent' gpg-connect-agent: waiting for the agent to come up ... (5s) gpg-connect-agent: connection to the agent established [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffeda006c0 (LWP 5841)] [New Thread 0x7fffe7e006c0 (LWP 5842)] [New Thread 0x7fffed0006c0 (LWP 5843)] [New Thread 0x7fffe74006c0 (LWP 5844)] [New Thread 0x7fffe6a006c0 (LWP 5845)] [New Thread 0x7fffe50006c0 (LWP 5846)] [Thread 0x7fffed0006c0 (LWP 5843) exited] [Detaching after vfork from child process 5907] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. pgtk_handle_selection_request (event=0x7fffffffc000) 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 (gdb) thread apply all bt Thread 7 (Thread 0x7fffe50006c0 (LWP 5846) "emacs"): #0 0x00007ffff37233ad in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff6fc8487 in g_cond_wait () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f38454 in ??? () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f384bc in g_async_queue_pop () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6046c08 in ??? () at /usr/lib/libpangoft2-1.0.so.0 #5 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #6 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #7 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 6 (Thread 0x7fffe6a006c0 (LWP 5845) "dconf worker"): #0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6d712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007fffee1c638e in ??? () at /usr/lib/gio/modules/libdconfsettings.so #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 5 (Thread 0x7fffe74006c0 (LWP 5844) "gdbus"): #0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6edc7 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff71ca83c in ??? () at /usr/lib/libgio-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 3 (Thread 0x7fffe7e006c0 (LWP 5842) "gmain"): #0 0x00007ffff371876f in poll () at /usr/lib/libc.so.6 #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6d712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f6d762 in ??? () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7fffeda006c0 (LWP 5841) "pool-spawner"): --Type <RET> for more, q to quit, c to continue without paging--c #0 0x00007ffff37233ad in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff6fc8487 in g_cond_wait () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f38454 in ??? () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f9d29e in ??? () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cdc in ??? () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7ffff2090080 (LWP 5813) "emacs"): #0 pgtk_handle_selection_request (event=0x7fffffffc000) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:573 #1 0x00005555556fbc8d in pgtk_handle_selection_event (event=0x7fffffffc000) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:784 #2 process_special_events () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4449 #3 0x00005555556fcd91 in swallow_events (do_display=true) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4489 #4 0x0000555555831607 in wait_reading_process_output (time_limit=<optimized out>, nsecs=<optimized out>, read_kbd=<optimized out>, do_display=<optimized out>, wait_for_cell=<optimized out>, wait_proc=<optimized out>, just_wait_proc=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/process.c:5788 #5 0x00005555555eea46 in sit_for (timeout=<optimized out>, reading=<optimized out>, display_option=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/dispnew.c:6264 #6 0x0000555555705551 in read_char (commandflag=1, map=0x555556d95bc3, prev_event=0x0, used_mouse_menu=0x7fffffffcb2b, end_time=0x0) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:2881 #7 0x00005555558d7de7 in read_key_sequence.constprop.0 (keybuf=<optimized out>, prevent_redisplay=false, fix_current_buffer=<optimized out>, can_return_switch_frame=<optimized out>, dont_downcase_last=<optimized out>, prompt=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:10084 #8 0x00005555556f50f4 in command_loop_1 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1384 #9 0x00005555557b50df in internal_condition_case (bfun=0x5555556f4e20 <command_loop_1>, handlers=<optimized out>, hfun=0x5555556f2890 <cmd_error>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1474 #10 0x00005555556f2b6e in command_loop_2 (handlers=handlers@entry=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1133 #11 0x00005555557b5035 in internal_catch (tag=<optimized out>, func=0x5555556f2b40 <command_loop_2>, arg=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1197 #12 0x00005555556f48f9 in command_loop () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1111 #13 0x000055555590ceb0 in recursive_edit_1.isra.0 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:720 #14 0x00005555556f4e00 in Frecursive_edit () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:803 #15 0x00005555556fa777 in main (argc=<optimized out>, argv=0x7fffffffd248) at /usr/src/debug/emacs/emacs-29.3-wayland/src/emacs.c:2521 (gdb) p *(struct selection_input_event *) event $1 = {kind = SELECTION_REQUEST_EVENT, dpyinfo = 0x56243690, requestor = 0x55555651b3d0, selection = 0x1, target = 0x4d, property = 0x5e, time = 0} (gdb) p *dpyinfo value has been optimized out (gdb) p *dpyinfo->terminal value has been optimized out (gdb) kill Kill the program being debugged? (y or n) y [Inferior 1 (process 5813) killed] (gdb) q ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Best Regards, Abraham Sent with Tutanota; https://tuta.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-15 11:27 UTC (permalink / raw) To: Abraham S.A.H.; +Cc: Eli Zaretskii, 70073 "Abraham S.A.H." <arash.sah@tuta.io> writes: > (gdb) p *(struct selection_input_event *) event > $1 = {kind = SELECTION_REQUEST_EVENT, dpyinfo = 0x56243690, requestor > = 0x55555651b3d0, selection = 0x1, target = 0x4d, property = 0x5e, > time = 0} > (gdb) p *dpyinfo > value has been optimized out > (gdb) p *dpyinfo->terminal > value has been optimized out Thanks. Would you try this instead: (gdb) p *$1->dpyinfo (gdb) p *$1->requestor ? ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-20 23:18 UTC (permalink / raw) To: Po Lu; +Cc: Eli Zaretskii, 70073 Hello; I have wiped out everything of my system and installed just Xfce4 and sway (for testing Emacs PGTK). By wiping out, I mean formatting my entire disk, then repartitioning and reinstallation of my new desktops and neccessary applications. The problem still persists. I include the result of report-emacs-bug with this new system with this email. One reason for me replying late is that I have to uninstall emacs-lucid and reinstall emacs-wayland and switch to a wayland desktop, each time that I want to test it. However, this time I was also busy with some other works. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffeda006c0 (LWP 12909)] [New Thread 0x7fffe7e006c0 (LWP 12910)] [New Thread 0x7fffed0006c0 (LWP 12911)] [New Thread 0x7fffe74006c0 (LWP 12912)] [New Thread 0x7fffe6a006c0 (LWP 12913)] [Detaching after vfork from child process 12932] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. pgtk_handle_selection_request (event=0x7fffffffba80) 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 (gdb) thread apply all bt Thread 7 (Thread 0x7fffe54006c0 (LWP 12916) "emacs"): #0 0x00007ffff37233cd in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff6fc8487 in g_cond_wait () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f38454 in ??? () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f384bc in g_async_queue_pop () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff5ca8c08 in ??? () at /usr/lib/libpangoft2-1.0.so.0 #5 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #6 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #7 0x00007ffff3725cfc in ??? () at /usr/lib/libc.so.6 Thread 6 (Thread 0x7fffe6a006c0 (LWP 12913) "dconf worker"): #0 0x00007ffff371878f in poll () at /usr/lib/libc.so.6 #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6d712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007fffee02e49e in ??? () at /usr/lib/gio/modules/libdconfsettings.so #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cfc in ??? () at /usr/lib/libc.so.6 Thread 5 (Thread 0x7fffe74006c0 (LWP 12912) "gdbus"): #0 0x00007ffff371878f in poll () at /usr/lib/libc.so.6 #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6edc7 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff71ca83c in ??? () at /usr/lib/libgio-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cfc in ??? () at /usr/lib/libc.so.6 Thread 4 (Thread 0x7fffed0006c0 (LWP 12911) "pool-emacs"): #0 0x00007ffff37233cd in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff6fc8e43 in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f38425 in ??? () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f38587 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6fa1a5e in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #6 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #7 0x00007ffff3725cfc in ??? () at /usr/lib/libc.so.6 --Type <RET> for more, q to quit, c to continue without paging--c Thread 3 (Thread 0x7fffe7e006c0 (LWP 12910) "gmain"): #0 0x00007ffff371878f in poll () at /usr/lib/libc.so.6 #1 0x00007ffff6fcd306 in ??? () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f6d712 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f6d762 in ??? () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cfc in ??? () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7fffeda006c0 (LWP 12909) "pool-spawner"): #0 0x00007ffff37233cd in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff6fc8487 in g_cond_wait () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff6f38454 in ??? () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff6f9d29e in ??? () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff6f9c065 in ??? () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff369ab9d in ??? () at /usr/lib/libc.so.6 #6 0x00007ffff3725cfc in ??? () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7ffff20db080 (LWP 12897) "emacs"): #0 pgtk_handle_selection_request (event=0x7fffffffba80) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:573 #1 0x00005555556fbc8d in pgtk_handle_selection_event (event=0x7fffffffba80) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:784 #2 process_special_events () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4449 #3 0x00005555556fcd91 in swallow_events (do_display=true) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4489 #4 0x0000555555831607 in wait_reading_process_output (time_limit=<optimized out>, nsecs=<optimized out>, read_kbd=<optimized out>, do_display=<optimized out>, wait_for_cell=<optimized out>, wait_proc=<optimized out>, just_wait_proc=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/process.c:5788 #5 0x00005555555eea46 in sit_for (timeout=<optimized out>, reading=<optimized out>, display_option=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/dispnew.c:6264 #6 0x0000555555705551 in read_char (commandflag=1, map=0x555556e5e753, prev_event=0x0, used_mouse_menu=0x7fffffffc5ab, end_time=0x0) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:2881 #7 0x00005555558d7de7 in read_key_sequence.constprop.0 (keybuf=<optimized out>, prevent_redisplay=false, fix_current_buffer=<optimized out>, can_return_switch_frame=<optimized out>, dont_downcase_last=<optimized out>, prompt=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:10084 #8 0x00005555556f50f4 in command_loop_1 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1384 #9 0x00005555557b50df in internal_condition_case (bfun=0x5555556f4e20 <command_loop_1>, handlers=<optimized out>, hfun=0x5555556f2890 <cmd_error>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1474 #10 0x00005555556f2b6e in command_loop_2 (handlers=handlers@entry=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1133 #11 0x00005555557b5035 in internal_catch (tag=<optimized out>, func=0x5555556f2b40 <command_loop_2>, arg=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1197 #12 0x00005555556f48f9 in command_loop () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1111 #13 0x000055555590ceb0 in recursive_edit_1.isra.0 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:720 #14 0x00005555556f4e00 in Frecursive_edit () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:803 #15 0x00005555556fa777 in main (argc=<optimized out>, argv=0x7fffffffccb8) at /usr/src/debug/emacs/emacs-29.3-wayland/src/emacs.c:2521 (gdb) p *(struct selection_input_event *) event $1 = {kind = SELECTION_REQUEST_EVENT, dpyinfo = 0x56267e20, requestor = 0x5555563c4330, selection = 0x1, target = 0x4d, property = 0x5e, time = 0} (gdb) p *$1->dpyinfo Cannot access memory at address 0x56267e20 (gdb) p *$1->requestor $2 = <incomplete type> (gdb) k Kill the program being debugged? (y or n) y [Inferior 1 (process 12897) killed] (gdb) q ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) Repository revision: c7d7995e4fcbee3cba1018595623bc21174526d4 Repository branch: HEAD System Description: Arch Linux Configured using: 'configure --with-pgtk --with-native-compilation=aot --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --with-tree-sitter --localstatedir=/var --with-cairo --disable-build-details --with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=-march=x86-64-v3 -mtune=haswell -O3 -pipe -fno-plt -fexceptions -mpclmul -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g1 -ffile-prefix-map=/startdir/src=/usr/src/debug/emacs -flto=auto -falign-functions=32' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32' 'CXXFLAGS=-march=x86-64-v3 -mtune=haswell -O3 -pipe -fno-plt -fexceptions -mpclmul -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g1 -ffile-prefix-map=/startdir/src=/usr/src/debug/emacs -flto=auto -falign-functions=32'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LC_COLLATE: en_GB.UTF-8 value of $LC_CTYPE: en_GB.UTF-8 value of $LC_MESSAGES: en_GB.UTF-8 value of $LC_MONETARY: fa_IR.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 77621 5947) (symbols 48 7115 0) (strings 32 19777 2419) (string-bytes 1 600739) (vectors 16 15780) (vector-slots 8 329652 14853) (floats 8 28 46) (intervals 56 290 0) (buffers 984 12)) -- Best Regards, Abraham Sent with Tutanota; https://tuta.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-05-02 8:42 UTC (permalink / raw) To: luangruo, Abraham S.A.H.; +Cc: 70073 > Date: Sun, 21 Apr 2024 01:18:22 +0200 (CEST) > From: "Abraham S.A.H." <arash.sah@tuta.io> > Cc: Eli Zaretskii <eliz@gnu.org>, 70073 <70073@debbugs.gnu.org> > > Hello; > > I have wiped out everything of my system and installed just Xfce4 > and sway (for testing Emacs PGTK). > > By wiping out, I mean formatting my entire disk, then repartitioning and > reinstallation of my new desktops and neccessary applications. > > The problem still persists. I include the result of > report-emacs-bug with this new system with this email. > > One reason for me replying late is that I have to uninstall emacs-lucid > and reinstall emacs-wayland and switch to a wayland desktop, each time > that I want to test it. However, this time I was also busy with some other > works. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/usr/lib/libthread_db.so.1". > [New Thread 0x7fffeda006c0 (LWP 12909)] > [New Thread 0x7fffe7e006c0 (LWP 12910)] > [New Thread 0x7fffed0006c0 (LWP 12911)] > [New Thread 0x7fffe74006c0 (LWP 12912)] > [New Thread 0x7fffe6a006c0 (LWP 12913)] > [Detaching after vfork from child process 12932] > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > pgtk_handle_selection_request (event=0x7fffffffba80) 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 > (gdb) thread apply all bt > [...] > Thread 1 (Thread 0x7ffff20db080 (LWP 12897) "emacs"): > #0 pgtk_handle_selection_request (event=0x7fffffffba80) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:573 > #1 0x00005555556fbc8d in pgtk_handle_selection_event (event=0x7fffffffba80) at /usr/src/debug/emacs/emacs-29.3-wayland/src/pgtkselect.c:784 > #2 process_special_events () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4449 > #3 0x00005555556fcd91 in swallow_events (do_display=true) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:4489 > #4 0x0000555555831607 in wait_reading_process_output (time_limit=<optimized out>, nsecs=<optimized out>, read_kbd=<optimized out>, do_display=<optimized out>, wait_for_cell=<optimized out>, wait_proc=<optimized out>, just_wait_proc=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/process.c:5788 > #5 0x00005555555eea46 in sit_for (timeout=<optimized out>, reading=<optimized out>, display_option=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/dispnew.c:6264 > #6 0x0000555555705551 in read_char (commandflag=1, map=0x555556e5e753, prev_event=0x0, used_mouse_menu=0x7fffffffc5ab, end_time=0x0) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:2881 > #7 0x00005555558d7de7 in read_key_sequence.constprop.0 (keybuf=<optimized out>, prevent_redisplay=false, fix_current_buffer=<optimized out>, can_return_switch_frame=<optimized out>, dont_downcase_last=<optimized out>, prompt=<optimized out>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:10084 > #8 0x00005555556f50f4 in command_loop_1 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1384 > #9 0x00005555557b50df in internal_condition_case (bfun=0x5555556f4e20 <command_loop_1>, handlers=<optimized out>, hfun=0x5555556f2890 <cmd_error>) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1474 > #10 0x00005555556f2b6e in command_loop_2 (handlers=handlers@entry=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1133 > #11 0x00005555557b5035 in internal_catch (tag=<optimized out>, func=0x5555556f2b40 <command_loop_2>, arg=0x90) at /usr/src/debug/emacs/emacs-29.3-wayland/src/eval.c:1197 > #12 0x00005555556f48f9 in command_loop () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:1111 > #13 0x000055555590ceb0 in recursive_edit_1.isra.0 () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:720 > #14 0x00005555556f4e00 in Frecursive_edit () at /usr/src/debug/emacs/emacs-29.3-wayland/src/keyboard.c:803 > #15 0x00005555556fa777 in main (argc=<optimized out>, argv=0x7fffffffccb8) at /usr/src/debug/emacs/emacs-29.3-wayland/src/emacs.c:2521 > (gdb) p *(struct selection_input_event *) event > $1 = {kind = SELECTION_REQUEST_EVENT, dpyinfo = 0x56267e20, requestor = 0x5555563c4330, selection = 0x1, target = 0x4d, property = 0x5e, time = 0} > (gdb) p *$1->dpyinfo > Cannot access memory at address 0x56267e20 > (gdb) p *$1->requestor > $2 = <incomplete type> > (gdb) k > Kill the program being debugged? (y or n) y [Inferior 1 (process 12897) killed] > (gdb) q Po Lu, any suggestions for how to move forward with this issue? ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-05-02 12:05 UTC (permalink / raw) To: Eli Zaretskii; +Cc: Abraham S.A.H., 70073 Eli Zaretskii <eliz@gnu.org> writes: >> Hello; >> >> I have wiped out everything of my system and installed just Xfce4 >> and sway (for testing Emacs PGTK). >> >> By wiping out, I mean formatting my entire disk, then repartitioning and >> reinstallation of my new desktops and neccessary applications. >> >> The problem still persists. I include the result of >> report-emacs-bug with this new system with this email. >> >> One reason for me replying late is that I have to uninstall emacs-lucid >> and reinstall emacs-wayland and switch to a wayland desktop, each time >> that I want to test it. However, this time I was also busy with some other >> works. > Po Lu, any suggestions for how to move forward with this issue? I wasn't aware that Xfce4 supported Wayland, but apparently it does now. I will try to reproduce this with the Fedora-built Emacs 29 the OP appears to have installed. ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-05-05 3:26 UTC (permalink / raw) To: Po Lu; +Cc: Eli Zaretskii, 70073 Xfce4 doesn't support Wayland. Even Their roadmap for supporting Wayland is exprimental. I have exprimented the issue on Gnome, first. Then reproduced it on Weston and Sway. And reported. Then, I have reinstalled a new system only with Xfce4 and also Sway. I test Emacs PGTK build on Swaya, at the moment. But, use Emacs Athena on Xfce4. Basically learning it in my spare time. I found Emacs about a month ago. All this is on Arch not Fedora.-- Best Regards, Abraham Sent with Tutanota; https://tuta.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-05-05 4:07 UTC (permalink / raw) To: Abraham S.A.H.; +Cc: Eli Zaretskii, 70073 "Abraham S.A.H." <arash.sah@tuta.io> writes: > Xfce4 doesn't support Wayland. Even Their roadmap for supporting > Wayland is exprimental. > > I have exprimented the issue on Gnome, first. Then reproduced it on > Weston and Sway. And reported. > > Then, I have reinstalled a new system only with Xfce4 and also Sway. > I test Emacs PGTK build on Swaya, at the moment. But, use Emacs > Athena on Xfce4. Basically learning it in my spare time. I found > Emacs about a month ago. > > All this is on Arch not Fedora.-- Right. I couldn't reproduce this on Fedora, neither with our Emacs 29.3 tarball nor with their downstream release. Does your distributor apply patches to their Emacs binaries or thereabouts? ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Abraham S.A.H. via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-05-06 1:50 UTC (permalink / raw) To: Po Lu; +Cc: Eli Zaretskii, 70073 Last time, I have built and compile the package by myself to include debuging symbols on built. Both prebuilt Arch's mirror binary package and the one I tried to build had the same issue. I, however, can try rebuilding it with more fine control on the condition. -- Best Regards, Abraham Sent with Tutanota; https://tuta.com 5 May 2024, 08:37 by luangruo@yahoo.com: > "Abraham S.A.H." <arash.sah@tuta.io> writes: > >> Xfce4 doesn't support Wayland. Even Their roadmap for supporting >> Wayland is exprimental. >> >> I have exprimented the issue on Gnome, first. Then reproduced it on >> Weston and Sway. And reported. >> >> Then, I have reinstalled a new system only with Xfce4 and also Sway. >> I test Emacs PGTK build on Swaya, at the moment. But, use Emacs >> Athena on Xfce4. Basically learning it in my spare time. I found >> Emacs about a month ago. >> >> All this is on Arch not Fedora.-- >> > > Right. I couldn't reproduce this on Fedora, neither with our Emacs 29.3 > tarball nor with their downstream release. Does your distributor apply > patches to their Emacs binaries or thereabouts? > ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-05-25 7:27 UTC (permalink / raw) To: Abraham S.A.H.; +Cc: luangruo, 70073 Ping! Any further progress in investigating this? > Date: Mon, 6 May 2024 03:50:59 +0200 (CEST) > From: "Abraham S.A.H." <arash.sah@tuta.io> > Cc: Eli Zaretskii <eliz@gnu.org>, 70073 <70073@debbugs.gnu.org> > > Last time, I have built and compile the package by myself to include debuging symbols on built. > > Both prebuilt Arch's mirror binary package and the one I tried to build had the same issue. > > I, however, can try rebuilding it with more fine control on the condition. > > -- > Best Regards, > Abraham > Sent with Tutanota; https://tuta.com > > > > 5 May 2024, 08:37 by luangruo@yahoo.com: > > > "Abraham S.A.H." <arash.sah@tuta.io> writes: > > > >> Xfce4 doesn't support Wayland. Even Their roadmap for supporting > >> Wayland is exprimental. > >> > >> I have exprimented the issue on Gnome, first. Then reproduced it on > >> Weston and Sway. And reported. > >> > >> Then, I have reinstalled a new system only with Xfce4 and also Sway. > >> I test Emacs PGTK build on Swaya, at the moment. But, use Emacs > >> Athena on Xfce4. Basically learning it in my spare time. I found > >> Emacs about a month ago. > >> > >> All this is on Arch not Fedora.-- > >> > > > > Right. I couldn't reproduce this on Fedora, neither with our Emacs 29.3 > > tarball nor with their downstream release. Does your distributor apply > > patches to their Emacs binaries or thereabouts? > > > > ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 1 reply; 24+ messages in thread From: Eli Zaretskii @ 2024-06-08 11:43 UTC (permalink / raw) To: arash.sah, luangruo; +Cc: 70073 Ping! Ping! Can we make some progress in this matter? > Cc: luangruo@yahoo.com, 70073@debbugs.gnu.org > Date: Sat, 25 May 2024 10:27:17 +0300 > From: Eli Zaretskii <eliz@gnu.org> > > Ping! Any further progress in investigating this? > > > Date: Mon, 6 May 2024 03:50:59 +0200 (CEST) > > From: "Abraham S.A.H." <arash.sah@tuta.io> > > Cc: Eli Zaretskii <eliz@gnu.org>, 70073 <70073@debbugs.gnu.org> > > > > Last time, I have built and compile the package by myself to include debuging symbols on built. > > > > Both prebuilt Arch's mirror binary package and the one I tried to build had the same issue. > > > > I, however, can try rebuilding it with more fine control on the condition. > > > > -- > > Best Regards, > > Abraham > > Sent with Tutanota; https://tuta.com > > > > > > > > 5 May 2024, 08:37 by luangruo@yahoo.com: > > > > > "Abraham S.A.H." <arash.sah@tuta.io> writes: > > > > > >> Xfce4 doesn't support Wayland. Even Their roadmap for supporting > > >> Wayland is exprimental. > > >> > > >> I have exprimented the issue on Gnome, first. Then reproduced it on > > >> Weston and Sway. And reported. > > >> > > >> Then, I have reinstalled a new system only with Xfce4 and also Sway. > > >> I test Emacs PGTK build on Swaya, at the moment. But, use Emacs > > >> Athena on Xfce4. Basically learning it in my spare time. I found > > >> Emacs about a month ago. > > >> > > >> All this is on Arch not Fedora.-- > > >> > > > > > > Right. I couldn't reproduce this on Fedora, neither with our Emacs 29.3 > > > tarball nor with their downstream release. Does your distributor apply > > > patches to their Emacs binaries or thereabouts? > > > > > > > > > > > ^ permalink raw reply [flat|nested] 24+ messages in thread
* bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs 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 0 siblings, 0 replies; 24+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-06-08 12:10 UTC (permalink / raw) To: Eli Zaretskii; +Cc: arash.sah, 70073 Eli Zaretskii <eliz@gnu.org> writes: > Ping! Ping! Can we make some progress in this matter? I can only state that I've since expended many long and fruitless hours on attempting to reproduce this. Maybe the problem will vanish of itself for the OP if he builds Emacs with `-O0', or experiments with the compiler command line. ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2024-06-08 12:10 UTC | newest] Thread overview: 24+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.