Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emacs coredumps after update #23160

Closed
alexvorobiev opened this issue Feb 24, 2017 · 10 comments
Closed

emacs coredumps after update #23160

alexvorobiev opened this issue Feb 24, 2017 · 10 comments

Comments

@alexvorobiev
Copy link
Contributor

Issue description

I have just updated from the unstable channel and emacs coredumps

Steps to reproduce

emacs

** (emacs:6376): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .ser
vice files
Fontconfig warning: line 142: blank doesn't take any effect anymore. please remove it from your fonts.conf

(emacs:6376): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != NULL' failed
X protocol error: BadRequest (invalid request code or no such operation) on protocol request 131
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
For details, see etc/PROBLEMS.
.....

Technical details

  • System: lsb_release -a
    LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
    Distributor ID: RedHatEnterpriseServer
    Description: Red Hat Enterprise Linux Server release 6.8 (Santiago)
    Release: 6.8
    Codename: Santiago

  • Nix version: nix-env (Nix) 1.11.7

  • Nixpkgs version: "16.09pre90254.6b20d5b"

@alexvorobiev
Copy link
Contributor Author

I wonder if it is caused by the switch to Gtk3 in bc6b917

@alexvorobiev
Copy link
Contributor Author

Apparently the reason is some kind of incompatibility between Gtk3 build of emacs and x2go I use to access the server where emacs is installed. The issue has bug reports https://bugzilla.redhat.com/show_bug.cgi?id=1349412 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24280 with no solution other than build with Gtk2. I have added this to my config.nix:

emacs-gtk2 = lowPrio (appendToName "gtk2" (emacs25.override {
        withGTK2 = true;
        withGTK3 = false;
}));

and emacs works again over the x2go connection. I wonder if the snippet should be added to nixpkgs so that there is an easy workaround for others with this problem.

@AndersonTorres
Copy link
Member

I think that error is more common. I have the same problem now with VirtualBox.

@AndersonTorres
Copy link
Member

The same type of erros is going on Calibre on unstable.
I have changed to Stable and now everything is fine.

@vmandela
Copy link
Contributor

vmandela commented Apr 1, 2017

I see the same issue with nixpkgs on Ubuntu 16.04 when using NXClient to connect remotely to my desktop.

@AndersonTorres
Copy link
Member

It was solved? After all, I have noted a strange pattern: when I use XFCE, calibre fails with the same type of error, but in KDE it opens the file dialog normally.

@Ekleog
Copy link
Member

Ekleog commented Jan 26, 2019

(triage) does anyone still see the same issue?

@alexvorobiev
Copy link
Contributor Author

alexvorobiev commented Feb 1, 2019

I am now running most recent emacs from unstable over my x2go connection as is with no issues. I think the issue was the older emacs somehow called gtk3 in a way that requested some X11 extensions that x2go does not support (GLX, etc.). Calibre mentioned above may be have been having the same problem.

@jtojnar
Copy link
Member

jtojnar commented Feb 1, 2019

This was caused by missing schemas and should be fixed by a8785da

@Ekleog
Copy link
Member

Ekleog commented Feb 1, 2019

Let's close, then, and if someone sees that again we can reopen :)

@Ekleog Ekleog closed this as completed Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants