From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#11080: 24.0.94; Assertion failure in signal handler Date: Sat, 24 Mar 2012 10:39:49 +0100 Message-ID: References: <878viqvr2x.fsf@gnu.org> <83r4witkrw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332582076 16393 80.91.229.3 (24 Mar 2012 09:41:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 09:41:16 +0000 (UTC) Cc: 11080@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 24 10:41:14 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SBNTC-0004lf-68 for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Mar 2012 10:41:10 +0100 Original-Received: from localhost ([::1]:35965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBNTB-0008U3-1L for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Mar 2012 05:41:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBNT8-0008TZ-CW for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 05:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBNT6-0002mV-L4 for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 05:41:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBNT6-0002mP-IT for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 05:41:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SBNx3-0000Zc-K8 for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 06:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Mar 2012 10:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11080 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11080-submit@debbugs.gnu.org id=B11080.13325838692142 (code B ref 11080); Sat, 24 Mar 2012 10:12:01 +0000 Original-Received: (at 11080) by debbugs.gnu.org; 24 Mar 2012 10:11:09 +0000 Original-Received: from localhost ([127.0.0.1]:36257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBNwB-0000YU-Ti for submit@debbugs.gnu.org; Sat, 24 Mar 2012 06:11:09 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:54497) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBNvu-0000Xp-NA for 11080@debbugs.gnu.org; Sat, 24 Mar 2012 06:11:06 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3VFGml1XNsz3hhTv; Sat, 24 Mar 2012 10:39:50 +0100 (CET) Original-Received: from linux.local (ppp-88-217-102-246.dynamic.mnet-online.de [88.217.102.246]) by mail.mnet-online.de (Postfix) with ESMTPA id 3VFGmk3Nt1z4KK5S; Sat, 24 Mar 2012 10:39:50 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id 6768D1E5309; Sat, 24 Mar 2012 10:39:49 +0100 (CET) X-Yow: FUN is never having to say you're SUSHI!! In-Reply-To: <83r4witkrw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Mar 2012 11:23:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58073 Archived-At: Eli Zaretskii writes: >> From: Andreas Schwab >> Date: Sat, 24 Mar 2012 09:39:46 +0100 >> >> > eval.c:3403: Emacs fatal error: assertion failed: !handling_signal >> >> I think handling_signal should only be incremented in XTread_socket if >> !SYNC_INPUT. With SYNC_INPUT (which is the default) the SIGIO handler >> doesn't actually call read_avail_input. > > Perhaps we should turn the table and ask why do we even have that > eassert inside record_unwind_protect? Doing anything non-trivial in a signal handler is a *BIG* no-no, so this place is as good as anything. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."