Package 'emacs-wayland' segfaults on v3 #275

Closed
opened 2025-05-05 15:08:57 +02:00 by bezirg · 1 comment

pacman -Qi wayland :

Name            : emacs-wayland
Version         : 30.1-5.1
Description     : The extensible, customizable, self-documenting real-time display editor with PGTK enabled
Architecture    : x86_64
URL             : https://www.gnu.org/software/emacs/emacs.html
Licenses        : GPL3
Groups          : None
Provides        : emacs
Depends On      : gmp  gnutls  lcms2  libacl.so=1-64  libasound.so=2-64  libgccjit  libdbus-1.so=3-64  libfontconfig.so=1-64  libfreetype.so=6-64  libgdk-3.so=0-64  libgdk_pixbuf-2.0.so=0-64
                  libgif.so=7-64  libgio-2.0.so=0-64  libglib-2.0.so=0-64  libgobject-2.0.so=0-64  libgpm.so=2-64  libgtk-3.so=0-64  libharfbuzz.so=0-64  libice  libjpeg.so=8-64
                  libncursesw.so=6-64  libotf  libpango-1.0.so=0-64  libpng  librsvg-2.so=2-64  libsm  sqlite  libsqlite3.so=0-64  libsystemd.so=0-64  libtiff.so=6-64
                  libtree-sitter.so=0.25-64  libwebp.so  libwebpdemux.so=2-64  libxfixes  libxml2.so=16-64  m17n-lib  zlib
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : emacs
Replaces        : None
Installed Size  : 270.48 MiB
Packager        : ALHP x86-64-v3 <alhp@harting.dev>
Build Date      : Fri 02 May 2025 01:16:04 AM CEST
Install Date    : Mon 05 May 2025 03:00:07 PM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : SHA-256 Sum  Signature

To reproduce start with emacs -Q (no configuration) , copy some text with M-w and paste the text (Ctrl-v usually) not on emacs itself but on any wayland application (tested with chromium, foot, firefox).

On chromium for example upon pasting:

VFatal error 11: Segmentation fault
Backtrace:
emacs(+0x18cb04) [0x5ae4257cfb04]
emacs(+0x20c2d) [0x5ae425663c2d]
emacs(+0x22105) [0x5ae425665105]
/usr/lib/libc.so.6(+0x3def0) [0x7d7ccd659ef0]
emacs(+0x36a830) [0x5ae4259ad830]
emacs(+0x1684c5) [0x5ae4257ab4c5]
emacs(+0x1694b2) [0x5ae4257ac4b2]
emacs(+0x2c841f) [0x5ae42590b41f]
emacs(+0x494f0) [0x5ae42568c4f0]
emacs(+0x1720eb) [0x5ae4257b50eb]
emacs(+0x17d52c) [0x5ae4257c052c]
emacs(+0x164313) [0x5ae4257a7313]
emacs(+0x2306e3) [0x5ae4258736e3]
emacs(+0x161926) [0x5ae4257a4926]
emacs(+0x230641) [0x5ae425873641]
emacs(+0x16385b) [0x5ae4257a685b]
emacs(+0x163a34) [0x5ae4257a6a34]
emacs(+0x16405e) [0x5ae4257a705e]
emacs(+0x37a23) [0x5ae42567aa23]
/usr/lib/libc.so.6(+0x276b5) [0x7d7ccd6436b5]
/usr/lib/libc.so.6(__libc_start_main+0x89) [0x7d7ccd643769]
emacs(+0x37e45) [0x5ae42567ae45]
Segmentation fault (core dumped)

Note that the upstream arch package of same version works without issues.

`pacman -Qi wayland` : ``` Name : emacs-wayland Version : 30.1-5.1 Description : The extensible, customizable, self-documenting real-time display editor with PGTK enabled Architecture : x86_64 URL : https://www.gnu.org/software/emacs/emacs.html Licenses : GPL3 Groups : None Provides : emacs Depends On : gmp gnutls lcms2 libacl.so=1-64 libasound.so=2-64 libgccjit libdbus-1.so=3-64 libfontconfig.so=1-64 libfreetype.so=6-64 libgdk-3.so=0-64 libgdk_pixbuf-2.0.so=0-64 libgif.so=7-64 libgio-2.0.so=0-64 libglib-2.0.so=0-64 libgobject-2.0.so=0-64 libgpm.so=2-64 libgtk-3.so=0-64 libharfbuzz.so=0-64 libice libjpeg.so=8-64 libncursesw.so=6-64 libotf libpango-1.0.so=0-64 libpng librsvg-2.so=2-64 libsm sqlite libsqlite3.so=0-64 libsystemd.so=0-64 libtiff.so=6-64 libtree-sitter.so=0.25-64 libwebp.so libwebpdemux.so=2-64 libxfixes libxml2.so=16-64 m17n-lib zlib Optional Deps : None Required By : None Optional For : None Conflicts With : emacs Replaces : None Installed Size : 270.48 MiB Packager : ALHP x86-64-v3 <alhp@harting.dev> Build Date : Fri 02 May 2025 01:16:04 AM CEST Install Date : Mon 05 May 2025 03:00:07 PM CEST Install Reason : Explicitly installed Install Script : No Validated By : SHA-256 Sum Signature ``` To reproduce start with `emacs -Q` (no configuration) , copy some text with `M-w` and paste the text (Ctrl-v usually) not on emacs itself but on any wayland application (tested with chromium, foot, firefox). On chromium for example upon pasting: ``` VFatal error 11: Segmentation fault Backtrace: emacs(+0x18cb04) [0x5ae4257cfb04] emacs(+0x20c2d) [0x5ae425663c2d] emacs(+0x22105) [0x5ae425665105] /usr/lib/libc.so.6(+0x3def0) [0x7d7ccd659ef0] emacs(+0x36a830) [0x5ae4259ad830] emacs(+0x1684c5) [0x5ae4257ab4c5] emacs(+0x1694b2) [0x5ae4257ac4b2] emacs(+0x2c841f) [0x5ae42590b41f] emacs(+0x494f0) [0x5ae42568c4f0] emacs(+0x1720eb) [0x5ae4257b50eb] emacs(+0x17d52c) [0x5ae4257c052c] emacs(+0x164313) [0x5ae4257a7313] emacs(+0x2306e3) [0x5ae4258736e3] emacs(+0x161926) [0x5ae4257a4926] emacs(+0x230641) [0x5ae425873641] emacs(+0x16385b) [0x5ae4257a685b] emacs(+0x163a34) [0x5ae4257a6a34] emacs(+0x16405e) [0x5ae4257a705e] emacs(+0x37a23) [0x5ae42567aa23] /usr/lib/libc.so.6(+0x276b5) [0x7d7ccd6436b5] /usr/lib/libc.so.6(__libc_start_main+0x89) [0x7d7ccd643769] emacs(+0x37e45) [0x5ae42567ae45] Segmentation fault (core dumped) ``` Note that the upstream arch package of same version works without issues.
anonfunc added the bug label 2025-05-05 16:32:51 +02:00
Author

Fixed in emacs 30.2 .

Fixed in emacs 30.2 .
Sign in to join this conversation.