GNU bug report logs - #3145
23.0.92; detaching GTK+ tool bar crashes emacs --daemon

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 28 Apr 2009 14:50:03 UTC

Severity: normal

Tags: fixed

Fixed in version 24.3

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Forwarded to https://bugzilla.gnome.org/show_bug.cgi?id=581110

Full log


Message #40 received at 3145 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 3145 <at> debbugs.gnu.org, Chong Yidong <cyd <at> stupidchicken.com>
Subject: Re: bug#3145: 23.0.92; detaching GTK+ tool bar crashes emacs --daemon
Date: Sun, 03 May 2009 01:35:46 +0200
On Sat, 02 May 2009 18:51:14 +0200 Jan Djärv <jan.h.d <at> swipnet.se> wrote:

> Sorry, no workaround is possible.
> The part in Gtk+ that handles detaching uses a hidden window which it stores
> in a static variable.  So it get created on the first display, but is still
> used on the second, but that is not a valid window anymore:
[...]
> This is another instance of the "there is just one display and it is always
> open"-mindset of Gtk+.
>
> I have filed a Gtk+ bug on this
> (http://bugzilla.gnome.org/show_bug.cgi?id=581110). Not sure what we should do
> about this bug though.  Keep it until Gtk+ fixes/rejects the bug report or
> close it?

As long as this does not change in GTK+ and no workaround is possible in
Emacs, I (sadly) think you should seriously consider disabling detaching
the tool bar in the GTK+ build.  When used in conjunction with --daemon
it is a ticking time bomb for data loss because of the crash it causes.
I don't make this suggestion lightly, since detaching the tool bar is to
me an acceptable workaround for the very annoying shrinking frame bug
(see bug#3195), but precluding a crash and possible data loss should
probably take precedence over avoiding annoyance.

Steve Berman




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

Previous Next


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