|
From: | Jan Djärv |
Subject: | Re: multi-tty branch + GTK (Re: copyrights to be fixed) |
Date: | Fri, 16 Feb 2007 08:22:46 +0100 |
User-agent: | Thunderbird 1.5.0.9 (X11/20070212) |
Richard Stallman skrev:
(Disconnections can not be prevented entirely, though: Emacs/GTK crashes on both branches if a server connection is cut or a server crashes. In some use cases, this happens regularly, by design: e.g., if the user runs emacsclient to create a frame on an ssh-forwarded remote X server, then later logs out from the ssh session, the server connection is closed, unintentionally SEGVing the Emacs process. I think we should document this in PROBLEMS.) Yes, would someone please do so? However, once the multi-tty branch handles this just as well as the current version, this issue is no longer an obstacle to merging in the multi-tty branch.
We alredy have a workaround in place (gtkutil.c): /* GTK 2.2-2.8 has a bug that makes gdk_display_close crash (bug http://bugzilla.gnome.org/show_bug.cgi?id=85715). This way we can continue running, but there will be memory leaks. */ #if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 10 g_object_run_dispose (G_OBJECT (gdpy)); #else /* This seems to be fixed in GTK 2.10. */ gdk_display_close (gdpy); #endifBut I don't have all versions of Gtk+ in place, so if anybody can confirm that this does not work on some Gtk+ version, we can skip the g_object_run_dispose call also.
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |