Emacs crashes

  • Done
  • quality assurance status badge
Details
3 participants
  • Andreas Enge
  • Ludovic Courtès
  • Mark H Weaver
Owner
unassigned
Submitted by
Andreas Enge
Severity
normal

Debbugs page

Andreas Enge wrote 10 years ago
(address . bug-guix@gnu.org)
20141121104224.GA22689@debian.math.u-bordeaux1.fr
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
Ludovic Courtès wrote 10 years ago
(name . Andreas Enge)(address . andreas@enge.fr)(address . 19138-done@debbugs.gnu.org)
87oarcpim0.fsf@gnu.org
Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (6 lines)
> 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’.
Closed
Mark H Weaver wrote 10 years ago
(address . 19138@debbugs.gnu.org)
87bnn853vc.fsf@yeeloong.lan
ludo@gnu.org (Ludovic Courtès) writes:

Toggle quote (10 lines)
> Andreas Enge <andreas@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
Mark H Weaver wrote 10 years ago
(address . 19138@debbugs.gnu.org)
87oar750ad.fsf@netris.org
Mark H Weaver <mhw@netris.org> writes:

Toggle quote (19 lines)
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Andreas Enge <andreas@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.

Toggle quote (2 lines)
> * The window title is now ".emacs-real@<hostname>".

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

Toggle quote (5 lines)
> 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
Ludovic Courtès wrote 10 years ago
(name . Mark H Weaver)(address . mhw@netris.org)
87egs2bin7.fsf@gnu.org
Mark H Weaver <mhw@netris.org> skribis:

Toggle quote (7 lines)
> 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.
:-)

Toggle quote (6 lines)
> * 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’.
?
Your comment

This issue is archived.

To comment on this conversation send an email to 19138@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 19138
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help