unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19138: Emacs crashes
@ 2014-11-21 10:42 Andreas Enge
  2014-12-09 22:24 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Enge @ 2014-11-21 10:42 UTC (permalink / raw)
  To: 19138

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19138: Emacs crashes
  2014-11-21 10:42 bug#19138: Emacs crashes Andreas Enge
@ 2014-12-09 22:24 ` Ludovic Courtès
  2014-12-13  8:51   ` Mark H Weaver
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2014-12-09 22:24 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 19138-done

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.

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19138: Emacs crashes
  2014-12-09 22:24 ` Ludovic Courtès
@ 2014-12-13  8:51   ` Mark H Weaver
  2014-12-13 10:09     ` Mark H Weaver
  2014-12-14 11:00     ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Mark H Weaver @ 2014-12-13  8:51 UTC (permalink / raw)
  To: 19138

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.

* 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19138: Emacs crashes
  2014-12-13  8:51   ` Mark H Weaver
@ 2014-12-13 10:09     ` Mark H Weaver
  2014-12-14 11:00     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Mark H Weaver @ 2014-12-13 10:09 UTC (permalink / raw)
  To: 19138

Mark H Weaver <mhw@netris.org> writes:

> 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.

> * 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19138: Emacs crashes
  2014-12-13  8:51   ` Mark H Weaver
  2014-12-13 10:09     ` Mark H Weaver
@ 2014-12-14 11:00     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2014-12-14 11:00 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 19138

Mark H Weaver <mhw@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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-14 11:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21 10:42 bug#19138: Emacs crashes Andreas Enge
2014-12-09 22:24 ` Ludovic Courtès
2014-12-13  8:51   ` Mark H Weaver
2014-12-13 10:09     ` Mark H Weaver
2014-12-14 11:00     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).