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#7958: Unresponsive visual bell on OSX Date: Wed, 02 Feb 2011 20:47:58 +0100 Message-ID: <4D49B4EE.60701@swipnet.se> References: 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: dough.gmane.org 1296677200 21123 80.91.229.12 (2 Feb 2011 20:06:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2011 20:06:40 +0000 (UTC) Cc: 7958@debbugs.gnu.org To: Neil Conway Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 02 21:06:36 2011 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.69) (envelope-from ) id 1PkiyG-0003nN-Nd for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Feb 2011 21:06:33 +0100 Original-Received: from localhost ([127.0.0.1]:45109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkiyF-00065e-Ul for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Feb 2011 15:06:32 -0500 Original-Received: from [140.186.70.92] (port=41189 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkixi-0005qQ-9u for bug-gnu-emacs@gnu.org; Wed, 02 Feb 2011 15:06:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkixY-0002dk-04 for bug-gnu-emacs@gnu.org; Wed, 02 Feb 2011 15:05:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkixX-0002dg-Tf for bug-gnu-emacs@gnu.org; Wed, 02 Feb 2011 15:05:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PkiYd-0006td-Hg; Wed, 02 Feb 2011 14:40:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Feb 2011 19:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7958 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 7958-submit@debbugs.gnu.org id=B7958.129667557726471 (code B ref 7958); Wed, 02 Feb 2011 19:40:03 +0000 Original-Received: (at 7958) by debbugs.gnu.org; 2 Feb 2011 19:39:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkiYC-0006su-U0 for submit@debbugs.gnu.org; Wed, 02 Feb 2011 14:39:37 -0500 Original-Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkiYA-0006sf-MW for 7958@debbugs.gnu.org; Wed, 02 Feb 2011 14:39:35 -0500 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 2D14EC93B for <7958@debbugs.gnu.org>; Wed, 2 Feb 2011 20:47:59 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQ4AINDSU1V4S1kPGdsb2JhbACIYJw8DAEBAQE1L7wahVMEjwuIOA X-IronPort-AV: E=Sophos;i="4.60,415,1291590000"; d="scan'208";a="1711352088" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 02 Feb 2011 20:47:59 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id DB58C7FA05A; Wed, 2 Feb 2011 20:47:58 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.14) Gecko/20110123 Thunderbird/3.1.8 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 02 Feb 2011 14:40:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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:43857 Archived-At: I can't reproduce this, starting from -Q and evalling (setq visible-bell t) and making the bell ding. This on trunk and the emacs-23 branch. Can you reproduce this when starting with -Q? Jan D. Neil Conway skrev 2011-02-02 05.39: > I'm using Emacs 23.2 (from MacPorts) on OSX 10.6.6. My .emacs includes > "(setq visible-bell t)", but when I do something that causes the bell > to be triggered, Emacs becomes very unresponsive (sometimes hanging > for 3 or 4 seconds, usually (much) longer). > > Steps to repro: > 1. Set visual bell to true > 2. Run Emacs in console mode; I've tested using Terminal.app and iTerm2 > 3. Open a reasonably-sized file (e.g., 10 lines) and scroll past the > end of the file, e.g., using C-v > > Instead of a visual bell, emacs instead refuses to respond to user > input for a lengthy period of time. If I attach with gdb, a typical > call stack looks like: > > #0 0x00007fff88c81fca in __semwait_signal () > #1 0x00007fff88c81e59 in nanosleep () > #2 0x0000000100544fe5 in napms () > #3 0x00000001005494fb in delay_output () > #4 0x0000000100549738 in tputs () > #5 0x0000000100067007 in tty_ring_bell () > #6 0x0000000100005ae5 in Fding () > #7 0x00000001000f3713 in Feval () > [...] > > I can actually get emacs to operate normally by forcing the bottom few > stack frames to return via "ret". > > If I remove (setq visual-bell t) from my .emacs, I don't see this behavior. > >