From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Newsgroups: gmane.emacs.devel Subject: Re: emacs 24 randomly hanging Date: Tue, 21 Feb 2012 11:43:48 +0100 Message-ID: <87sji4mpwn.fsf@this.that> References: <878vjzz920.fsf@earth.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329821045 11801 80.91.229.3 (21 Feb 2012 10:44:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2012 10:44:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 21 11:44:05 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RznCV-00072v-7L for ged-emacs-devel@m.gmane.org; Tue, 21 Feb 2012 11:44:03 +0100 Original-Received: from localhost ([::1]:33152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RznCU-0008MQ-Ih for ged-emacs-devel@m.gmane.org; Tue, 21 Feb 2012 05:44:02 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RznCO-0008MB-Is for emacs-devel@gnu.org; Tue, 21 Feb 2012 05:44:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RznCI-0005qy-Vf for emacs-devel@gnu.org; Tue, 21 Feb 2012 05:43:56 -0500 Original-Received: from nm16-vm6.bullet.mail.sg3.yahoo.com ([106.10.149.69]:26063) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RznCI-0005nq-Ay for emacs-devel@gnu.org; Tue, 21 Feb 2012 05:43:50 -0500 Original-Received: from [106.10.166.124] by nm16.bullet.mail.sg3.yahoo.com with NNFMP; 21 Feb 2012 10:43:47 -0000 Original-Received: from [106.10.167.199] by tm13.bullet.mail.sg3.yahoo.com with NNFMP; 21 Feb 2012 10:43:47 -0000 Original-Received: from [127.0.0.1] by smtp172.mail.sg3.yahoo.com with NNFMP; 21 Feb 2012 10:43:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1329821027; bh=EPcgbRlOigjFnp5OweSGpHNk8ZH4jbHhR0O4tkcJY+c=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:In-Reply-To:Message-ID:References:Mail-Followup-To:Date:MIME-Version:Content-Type; b=2RJvTnWBQ707ZYQ3kDIoeihHx91qMEDBqUpUCgmmabjw1UZaPlPeMn6LiklBZPnfonREksynQmzaoYL1NfoVsY3lzyYvV4UJc9ni3o54m27Ad90p64N8tTxOJ9Q+5wHZTeNbhd8edSABMOeSOpZNgsb/KoatBEIr9OnjLZ5vDXQ= X-Yahoo-Newman-Id: 656937.79220.bm@smtp172.mail.sg3.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: u9bA8WgVM1mapcagUDRIFKEG_0erf5_hLNh89DzkIVwsjEm MtGA9WEwxL4sY17UvcJQU7MThR1COuDKbRbJALQ8hYqYG.vyTQVRmbcnH9Lw W1J46n0F4bb4erunOo.qoM9NpxCiNAhQ_DElTuLkCMf28FKZDfVz5oZ8so4W NQybjZegVZIvY.tPMsIGlnlDsEZFZrZedhf4IX_8pl4tcYNbLlzatUcbpttb C45ANdoEp1S26seAK.oUB1uc_mREgh61ZbN3_W2uDHg_TUQzGQohIFteITw7 qiAqdhLwT3RnfBLmdAOp6bKcrmMFyPWQ3sfg93.96FYds71P2oGN8aZZE56j qQOSIgLGzyUMX3Tn.h_2ecxZp_flDh.9.2csOGWmkhXA- X-Yahoo-SMTP: Fed9kveswBC.fi0EvcUg6UnufDS8 Original-Received: from earth.home (adam_w67@180.149.96.69 with plain) by smtp172.mail.sg3.yahoo.com with SMTP; 21 Feb 2012 02:43:46 -0800 PST In-Reply-To: <878vjzz920.fsf@earth.home> (Adam's message of "Sun, 19 Feb 2012 06:28:07 +0100") Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 106.10.149.69 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:148693 Archived-At: Adam writes: > I am using GNU Emacs 24.0.93.1 (x86_64-unknown-linux-gnu, GTK+ Version > 2.20.1) of 2012-02-15, built from sources. > > I am constantly experiencing my emacs hanging. That is, C-g does not > work, and the screen is not updated. It happens about twice a day or > so, which is very annoying, as I only have one emacs instance up > and running in which I am doing all my work. > > I am pretty sure emacs hanging has been discussed to death, and I am > pretty sure I just screwed my emacs configuration up somewhere. What's > worring me is that C-g does not work, though. In fact, nothing works. > I have to send a SIGKILL to my emacs process to get rid of it. > > Here's a backtrace: [...] > (I am running emacs in daemon mode with about three or five open X11 > clients. Although the backtrace references Fx_create_frame, I *did* not > create a frame. I am using a tight intergration between my window > manager and emacs though, and my window manager spawns about two > `emacsclient -e' per second). > > Is this problem known? Could this be fixed in emacs 24? I am able to reproduce my problem with emacs -q. #+BEGIN_SRC sh #!/bin/bash killall -9 emacsclient emacs -q --daemon || exit 1 emacsclient -e "(progn (require 'cl) (defun walk-frames () (loop for frame being the frames)) (add-hook 'window-configuration-change-hook 'walk-frames))" for I in {1..100} do echo $I emacsclient -e "(walk-frames)" >/dev/null & emacsclient -c -e "(delete-frame)" >/dev/null & done wait emacsclient -e "(kill-emacs 0)" #+END_SRC It is the very same backtrace. Although this testcase is quite artificial, the underlying problem is real. I really hope this can be fixed for emacs 24.