From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Killing a frame sometimes kills emacs Date: Thu, 17 Nov 2011 19:18:23 +0800 Message-ID: <878vnfngjk.fsf@gnu.org> References: <87d3flnxoo.fsf@thinkpad.tsdh.de> <83fwkhdld0.fsf@gnu.org> <871uw04lr9.fsf@thinkpad.tsdh.de> <87sjog35jj.fsf@thinkpad.tsdh.de> <4E5F7ECD.9060601@swipnet.se> <838vq8e0x5.fsf@gnu.org> <87sjn03tzx.fsf@thinkpad.tsdh.de> <87sjmzbmvv.fsf@thinkpad.tsdh.de> <87vcrvm0dr.fsf@stupidchicken.com> <87aa96ogb3.fsf@thinkpad.tsdh.de> <8762ijjbzu.fsf@tsdh.uni-koblenz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321528733 32240 80.91.229.12 (17 Nov 2011 11:18:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Nov 2011 11:18:53 +0000 (UTC) Cc: Ulrich Mueller , emacs-devel@gnu.org, schwab@linux-m68k.org, Stefan Monnier , James Cloos , Eli Zaretskii , "Jan D." To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 17 12:18:48 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RQzzU-0007vo-38 for ged-emacs-devel@m.gmane.org; Thu, 17 Nov 2011 12:18:48 +0100 Original-Received: from localhost ([::1]:53593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQzzT-0006Y2-5n for ged-emacs-devel@m.gmane.org; Thu, 17 Nov 2011 06:18:47 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQzzQ-0006Xj-Pf for emacs-devel@gnu.org; Thu, 17 Nov 2011 06:18:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQzzK-0006Qh-H2 for emacs-devel@gnu.org; Thu, 17 Nov 2011 06:18:44 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:40416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQzzK-0006Qc-Bk; Thu, 17 Nov 2011 06:18:38 -0500 Original-Received: from [155.69.17.13] (port=50516 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RQzzH-0004A9-8B; Thu, 17 Nov 2011 06:18:36 -0500 In-Reply-To: <8762ijjbzu.fsf@tsdh.uni-koblenz.de> (Tassilo Horn's message of "Thu, 17 Nov 2011 11:10:13 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146073 Archived-At: Tassilo Horn writes: > I did that by using the patch below for about one month. Since then, > the crashes I had are gone, and working with multiple emacs X frames is > fun again. Should I go ahead and commit? Fine by me, but the code should probably be something like #ifdef USE_GTK /* ... (Use C-style not C++ style comments) ... */ if (terminal->type != output_x_window) #endif terminal->reference_count--;