GNU bug report logs - #19138
Emacs crashes

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Fri, 21 Nov 2014 10:48:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19138 in the body.
You can then email your comments to 19138 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#19138; Package guix. (Fri, 21 Nov 2014 10:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 21 Nov 2014 10:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: Emacs crashes
Date: Fri, 21 Nov 2014 11:42:24 +0100
With current emacs-24.4 of git 0276f69, the following crash occurs:

I start emacs, which seems to launch a gtk version.
Then I click on the first icon in the upper left, labelled
"Specify a new's file name, to edit the file".

The program crashes with the following message:
(emacs:22810): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
Fatal error 5: Trace/breakpoint trap
Backtrace:
emacs[0x4fd00b]
emacs[0x4e404e]
emacs[0x4fc02e]
emacs[0x4fc233]
/gnu/store/4k20pkxgvfc22wpcvh6xr26ma4b619ad-glibc-2.20/lib/libpthread.so.0(+0x10000)[0x7f606891e000]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libglib-2.0.so.0(g_logv+0x2ba)[0x7f606b0140ba]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libglib-2.0.so.0(g_log+0x82)[0x7f606b014212]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgio-2.0.so.0(+0xb7363)[0x7f606c182363]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(+0x15729)[0x7f606b30b729]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_object_new_valist+0x334)[0x7f606b30d434]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_object_new+0xd4)[0x7f606b30d824]
/gnu/store/k18h6zbbki58scic78pdxq090dsfwr04-gtk+-3.10.1/lib/libgtk-3.so.0(+0x158eec)[0x7f606ca47eec]
/gnu/store/k18h6zbbki58scic78pdxq090dsfwr04-gtk+-3.10.1/lib/libgtk-3.so.0(+0x150180)[0x7f606ca3f180]
/gnu/store/k18h6zbbki58scic78pdxq090dsfwr04-gtk+-3.10.1/lib/libgtk-3.so.0(+0x156df4)[0x7f606ca45df4]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7f606b3063b8]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(+0x21c8d)[0x7f606b317c8d]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xe62)[0x7f606b31f922]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x4fd)[0x7f606b32006d]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7f606b3063b8]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(+0x21c8d)[0x7f606b317c8d]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xe62)[0x7f606b31f922]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x4fd)[0x7f606b32006d]
/gnu/store/k18h6zbbki58scic78pdxq090dsfwr04-gtk+-3.10.1/lib/libgtk-3.so.0(+0x1552f1)[0x7f606ca442f1]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_object_set_property+0x233)[0x7f606b30e663]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_object_set_property+0x233)[0x7f606b30e663]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(+0x154b5)[0x7f606b30b4b5]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_object_new_valist+0x334)[0x7f606b30d434]
/gnu/store/wpr2wd24yi42lrbxr20vgdx1i13sxrjk-glib-2.40.0/lib/libgobject-2.0.so.0(g_object_new+0xd4)[0x7f606b30d824]
/gnu/store/k18h6zbbki58scic78pdxq090dsfwr04-gtk+-3.10.1/lib/libgtk-3.so.0(gtk_file_chooser_dialog_new+0x65)[0x7f606ca462a5]
emacs[0x4d3429]
emacs[0x4d66a1]
emacs[0x4c46fc]
emacs[0x5545a4]
emacs[0x5881e5]
emacs[0x554403]
emacs[0x5881e5]
emacs[0x554403]
emacs[0x5881e5]
emacs[0x554403]
emacs[0x5881e5]
emacs[0x553ab0]
...

When launching it, it already displayed two warnings:
** (emacs:22802): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(emacs:22802): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion 'source != NULL' failed

I am using guix on top of debian with kde.

Andreas





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 09 Dec 2014 22:25:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Tue, 09 Dec 2014 22:25:03 GMT) Full text and rfc822 format available.

Message #10 received at 19138-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas <at> enge.fr>
Cc: 19138-done <at> debbugs.gnu.org
Subject: Re: bug#19138: Emacs crashes
Date: Tue, 09 Dec 2014 23:24:07 +0100
Andreas Enge <andreas <at> enge.fr> skribis:

> With current emacs-24.4 of git 0276f69, the following crash occurs:
>
> I start emacs, which seems to launch a gtk version.
> Then I click on the first icon in the upper left, labelled
> "Specify a new's file name, to edit the file".

Fixed in commit 71f5715, thanks.

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#19138; Package guix. (Sat, 13 Dec 2014 08:54:02 GMT) Full text and rfc822 format available.

Message #13 received at 19138 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: 19138 <at> debbugs.gnu.org
Cc: ludo <at> gnu.org, andreas <at> enge.fr
Subject: Re: bug#19138: Emacs crashes
Date: Sat, 13 Dec 2014 03:51:51 -0500
ludo <at> gnu.org (Ludovic Courtès) writes:

> Andreas Enge <andreas <at> enge.fr> skribis:
>
>> With current emacs-24.4 of git 0276f69, the following crash occurs:
>>
>> I start emacs, which seems to launch a gtk version.
>> Then I click on the first icon in the upper left, labelled
>> "Specify a new's file name, to edit the file".
>
> Fixed in commit 71f5715, thanks.

This fix causes two unfortunate side effects on my system:

* When launching Emacs from the WindowMaker dock, the dock icon stays
  gray forever (indicating that the program is launching).  However, it
  should be noted that the WindowMaker dock handling of Emacs 24.4 was
  already somewhat broken before this, although in a different way.

* The window title is now ".emacs-real@<hostname>".

Regarding the window title: it occurs to me that it would be better for
our wrapper script to pass the original program name as argv[0].  This
could be important for some programs whose behavior depends on argv[0].

     Mark




Information forwarded to bug-guix <at> gnu.org:
bug#19138; Package guix. (Sat, 13 Dec 2014 10:09:02 GMT) Full text and rfc822 format available.

Message #16 received at 19138 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: 19138 <at> debbugs.gnu.org
Subject: Re: bug#19138: Emacs crashes
Date: Sat, 13 Dec 2014 05:09:14 -0500
Mark H Weaver <mhw <at> netris.org> writes:

> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> Andreas Enge <andreas <at> enge.fr> skribis:
>>
>>> With current emacs-24.4 of git 0276f69, the following crash occurs:
>>>
>>> I start emacs, which seems to launch a gtk version.
>>> Then I click on the first icon in the upper left, labelled
>>> "Specify a new's file name, to edit the file".
>>
>> Fixed in commit 71f5715, thanks.
>
> This fix causes two unfortunate side effects on my system:
>
> * When launching Emacs from the WindowMaker dock, the dock icon stays
>   gray forever (indicating that the program is launching).  However, it
>   should be noted that the WindowMaker dock handling of Emacs 24.4 was
>   already somewhat broken before this, although in a different way.

I fixed this by removing my old emacs dock icon, putting a new one back
in, and then editing its settings to change "-emacs-real" to "emacs" in
the launch commands.  So I guess most of the problems above were because
of the stale item, and the only remaining issue for new users will be
having the launch commands be "-emacs-real" by default.

> * The window title is now ".emacs-real@<hostname>".

I worked around this by setting Emacs.title in ~/.Xresources.

> Regarding the window title: it occurs to me that it would be better for
> our wrapper script to pass the original program name as argv[0].  This
> could be important for some programs whose behavior depends on argv[0].
>
>      Mark




Information forwarded to bug-guix <at> gnu.org:
bug#19138; Package guix. (Sun, 14 Dec 2014 11:02:01 GMT) Full text and rfc822 format available.

Message #19 received at 19138 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: andreas <at> enge.fr, 19138 <at> debbugs.gnu.org
Subject: Re: bug#19138: Emacs crashes
Date: Sun, 14 Dec 2014 12:00:44 +0100
Mark H Weaver <mhw <at> netris.org> skribis:

> This fix causes two unfortunate side effects on my system:
>
> * When launching Emacs from the WindowMaker dock, the dock icon stays
>   gray forever (indicating that the program is launching).  However, it
>   should be noted that the WindowMaker dock handling of Emacs 24.4 was
>   already somewhat broken before this, although in a different way.

I don’t know how the WindowMaker dock works actually.  I tried it in a
VM, but there are only two icons: one for the WindowMaker preferences,
and one for xterm.  If you have an idea how this works, I’m all ears.
:-)

> * The window title is now ".emacs-real@<hostname>".
>
> Regarding the window title: it occurs to me that it would be better for
> our wrapper script to pass the original program name as argv[0].  This
> could be important for some programs whose behavior depends on argv[0].

Good idea.  Done in 2ed11b3 in ‘core-updates’.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 11 Jan 2015 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 100 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.