From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Killing a frame sometimes kills emacs Date: Wed, 31 Aug 2011 22:51:45 +0200 Message-ID: References: <87d3flnxoo.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314823929 24135 80.91.229.12 (31 Aug 2011 20:52:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2011 20:52:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 31 22:52:05 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 1QyrlV-0004Qh-Bu for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2011 22:52:05 +0200 Original-Received: from localhost ([::1]:43114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyrlU-0007dh-Pc for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2011 16:52:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyrlL-0007DR-8g for emacs-devel@gnu.org; Wed, 31 Aug 2011 16:51:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyrlK-0004Gy-B0 for emacs-devel@gnu.org; Wed, 31 Aug 2011 16:51:55 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:41701 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyrlJ-0003xr-Vc for emacs-devel@gnu.org; Wed, 31 Aug 2011 16:51:54 -0400 Original-Received: from chopper.vpn.verona.se (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id p7VKpjTf007371; Wed, 31 Aug 2011 22:51:45 +0200 In-Reply-To: <87d3flnxoo.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 31 Aug 2011 22:16:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 82.115.149.64 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:143669 Archived-At: Tassilo Horn writes: > Hi all, > > since lately, I have a really annoying problem with the current emacs > trunk. My current emacs is about 4 days old, but I've hit that problem > already when I came back from holiday three weeks ago. > > The problem is that frequently, killing an emacs X11 frame kills the > complete emacs instance. It doesn't crash or so, but it's just like if > I had called `kill-emacs'. > > The usual steps are: > > 1. Start emacs (the server is activated from my .emacs) > 2. Work for several hours without issues > 3. emacsclient -c [maybe-a-file.txt] > 4. kill the client frame with C-x 5 0, C-x #, or the X knob at the > window decoration ==> BANG! Emacs is gone... > > My problem is that I'm totally unable to reproduce the issue. I've just > tried to activate and use all packages/modes I usually work with (Gnus, > Org, SLIME/Clojure, Elisp, AUCTeX, rcirc) step by step, but still > creating and killing frames works as it's supposed to do. > > Do you have any suggestions on how to debug this issue? > > Bye, > Tassilo Not much help, but I use the below bash script to run Emacs. That way I can get a backtrace most of the time which helps. (I'm also suffering from some weirdo heisenbug. Lately it has been something involving overlays and pop_it at xdisp.c:5492. It might be something local though) #!/bin/sh #cd to src dir to load emacs gdb macros cd ~/build_myprojs/emacsnew/emacs.bzr/xwidget/src/ xterm -e gdb -ex run emacs -- Joakim Verona