From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#3145: 23.0.92; detaching GTK+ tool bar crashes emacs --daemon Date: Thu, 30 Apr 2009 09:57:43 +0200 Message-ID: <49F959F7.6030002@swipnet.se> References: <87hc07gdd2.fsf@cyd.mit.edu> Reply-To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 3145@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241079144 20789 80.91.229.12 (30 Apr 2009 08:12:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2009 08:12:24 +0000 (UTC) Cc: 3145@emacsbugs.donarmstrong.com, Stephen Berman To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 30 10:12:15 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LzRNM-0006rR-9K for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2009 10:12:14 +0200 Original-Received: from localhost ([127.0.0.1]:54258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzRNH-0005Q6-Tk for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2009 04:12:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzRNE-0005Pt-6X for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2009 04:12:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzRN9-0005Ou-0B for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2009 04:12:03 -0400 Original-Received: from [199.232.76.173] (port=50285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzRN8-0005Or-Td for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2009 04:11:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40895) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LzRN8-0003Rv-06 for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2009 04:11:58 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3U8Bpbx006542; Thu, 30 Apr 2009 01:11:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3U856YF004070; Thu, 30 Apr 2009 01:05:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 30 Apr 2009 08:05:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3145 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3145-submit@emacsbugs.donarmstrong.com id=B3145.12410782751605 (code B ref 3145); Thu, 30 Apr 2009 08:05:06 +0000 Original-Received: (at 3145) by emacsbugs.donarmstrong.com; 30 Apr 2009 07:57:55 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3U7vp46001597 for <3145@emacsbugs.donarmstrong.com>; Thu, 30 Apr 2009 00:57:53 -0700 Original-Received: from ironport2.bredband.com (195.54.101.122) by proxy1.bredband.net (7.3.140.3) id 49F5A152001294FF for 3145@emacsbugs.donarmstrong.com; Thu, 30 Apr 2009 09:57:45 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMFAKv2+ElV4S1uPGdsb2JhbACBUJUUAQEBAbhzg38F X-IronPort-AV: E=Sophos;i="4.40,271,1238968800"; d="scan'208";a="477682069" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport2.bredband.com with ESMTP; 30 Apr 2009 09:57:45 +0200 Original-Received: from [172.20.199.5] (winter [172.20.199.5]) by coolsville.localdomain (Postfix) with ESMTPSA id AE82C7FA07B; Thu, 30 Apr 2009 09:57:44 +0200 (CEST) User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) In-Reply-To: <87hc07gdd2.fsf@cyd.mit.edu> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 30 Apr 2009 04:12:03 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27566 Archived-At: Chong Yidong skrev: > Stephen Berman wrote: > >> Carrying out the following steps reliably crashes Emacs: >> >> 1. emacs -Q --daemon >> 2. emacsclient -c >> 3. Detach the tool bar (only possible with GTK+ build). >> 4. Close the client frame with C-x 5 0 >> 5. emacsclient -c >> 6. Detach the tool bar >> => SIGSEGV > > Actually, daemon mode is not needed. You can also do this: > > 1. emacs -Q -nw > 2. M-x make-frame-on-display RET :0.0 RET > 3. Detach the tool bar > 4. Close the client frame with C-x 5 0 > 5. M-x make-frame-on-display RET :0.0 RET > 6. Detach the tool bar > => SIGSEGV > > Jan, could you try to debug this? It may be another manifestation of > the problems we've been having with GTK and closing X connections. It looks like it. The window for the detached tool bar is created and managed by Gtk+ and is not deleted when the display is removed it seems. I'll see if we can work around it. Jan D.