Summary: | =app-editors/emacs-25.1[cairo] fail to maximize properly | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | rnddim |
Component: | Current packages | Assignee: | GNU Emacs project <gnu-emacs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | truls |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
rnddim
2016-08-27 12:06:07 UTC
Can you report this upstream please? I was having similar issues, but for me, the problem also occurred even when using the Motif toolkit and additionally caused random segfaults when specifying a custom font using the xft font backend in an init.el containing only: (setq default-frame-alist '((font-backend . "xft") (font . "DejaVu Sans Mono-9")) The culprit seems to be the cairo use-flag. Building emacs from git master using only the --with-cairo configure flag appears to be enough to reproduce the issues. Starting emacs -Q when compiled with cairo reproduces the window resizing problems mentioned in the this bug-report and running emacs --no-site-file --no-site-lisp --no-splash --no-x-resources with the aforementioned elisp statement in init.el makes the segfaults easily reproducible. For example by running M-x report-emacs-bug, M-x package-list-packages or simply by C-x C-f and trying to tab-complete a few folders. The segfaults occur either in the string_hash function in fns.c or somewhere in libfreetype. I can post the GDB backtraces if anyone is interested, but as I'm not sure this is even a Gentoo related issue, I'm submitting the bug upstream. But the bottom-line, for now at least, is that removing the cairo use-flag seems to make Emacs 25 work. (In reply to Truls Asheim from comment #2) Again, report this upstream, please. They are late in the release process for Emacs 25, but a segmentation fault might be severe enough still to be fixed before the release. > But the bottom-line, for now at least, is that removing the cairo use-flag > seems to make Emacs 25 work. We can use this as a stopgap solution, but the underlying bug should be fixed. @rnddim, @Truls: Can you please post the value of the system-configuration-options variable in Emacs (C-h v system-configuration-options RET)? Or alternatively, attach the build.log? (In reply to Ulrich Müller from comment #4) > @rnddim, @Truls: Can you please post the value of the > system-configuration-options variable in Emacs (C-h v > system-configuration-options RET)? Or alternatively, attach the build.log? Sure, here's mine, for 25.1_rc2 with the athena toolkit: system-configuration-options is a variable defined in ‘C source code’. Its value is "--prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/emacs-25.1_rc2 --htmldir=/usr/share/doc/emacs-25.1_rc2/html --libdir=/usr/lib64 --program-suffix=-emacs-25 --infodir=/usr/share/info/emacs-25 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=:gamestat --without-compress-install --with-file-notification=inotify --enable-acl --with-dbus --without-gpm --without-hesiod --without-kerberos --without-kerberos5 --without-xml2 --without-selinux --with-gnutls --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --with-gsettings --with-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --without-imagemagick --with-xft --with-cairo --without-libotf --without-m17n-flt --with-x-toolkit=lucid --without-xaw3d GENTOO_PACKAGE=app-editors/emacs-25.1_rc2 'CFLAGS=-march=native -O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'" And as an aside, I've been able to successfully use 25.1_rc2 with athena for a while now, so that at least works for me. There are issues with screen updates also with the Athena/Lucid toolkit, therefore I have masked the cairo flag in the base profile now: +# Ulrich Müller <ulm@gentoo.org> (15 Oct 2016) +# The --with-cairo option is considered as experimental by upstream +# and causes problems with updating the X window, bug #592238 +app-editors/emacs cairo +app-editors/emacs-vcs cairo + I have lifted the cairo use mask for app-editors/emacs-vcs:27 some time ago, see bug 691830. At the same time, for app-editors/emacs the mask is restricted to slots 25 and 26, so it won't affect a future slot 27. There is not much that we can do for slots 25 and 26 on the distro level, therefore closing. |