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 09:39:46 +0100 Message-ID: References: <878viqvr2x.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1332578475 1055 80.91.229.3 (24 Mar 2012 08:41:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 08:41:15 +0000 (UTC) To: 11080@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 24 09:41:12 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 1SBMX8-00072s-PQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Mar 2012 09:41:10 +0100 Original-Received: from localhost ([::1]:51683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBMX8-0007DJ-0V for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Mar 2012 04:41:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBMX5-0007Cw-Py for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 04:41:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBMX3-0006yy-Qg for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 04:41:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBMX3-0006yo-Mc for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 04:41:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SBN10-0007d2-6V for bug-gnu-emacs@gnu.org; Sat, 24 Mar 2012 05:12:02 -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 09:12:02 +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.133258028729282 (code B ref 11080); Sat, 24 Mar 2012 09:12:02 +0000 Original-Received: (at 11080) by debbugs.gnu.org; 24 Mar 2012 09:11:27 +0000 Original-Received: from localhost ([127.0.0.1]:36226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBN0O-0007cC-O0 for submit@debbugs.gnu.org; Sat, 24 Mar 2012 05:11:26 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:56097) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SBMzp-0007bF-RR for 11080@debbugs.gnu.org; Sat, 24 Mar 2012 05:11:23 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3VFFRW2ttGz4Kh1r for <11080@debbugs.gnu.org>; Sat, 24 Mar 2012 09: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 3VFFRV1gn1z4KK6L for <11080@debbugs.gnu.org>; Sat, 24 Mar 2012 09:39:50 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id A7D621E5309; Sat, 24 Mar 2012 09:39:47 +0100 (CET) X-Yow: Hydraulic pizza oven!! Guided missile! Herring sandwich! Styrofoam! Jayne Mansfield! Aluminum siding! Borax! Pedal pushers! Jukebox! In-Reply-To: <878viqvr2x.fsf@gnu.org> ("Johan =?UTF-8?Q?Bockg=C3=A5rd?="'s message of "Sat, 24 Mar 2012 00:24:22 +0100") 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:58070 Archived-At: Johan Bockgård writes: > emacs -Q > > ;; "foo" is any non-existing or non-xbm file. > ;; Eval: > (face-remap-add-relative 'default '(:stipple "foo")) > > C-h k x > > Move the mouse pointer over one of the links in the lower window. > > => > > 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. That won't fix the bug when !SYNC_INPUT, but I think that option should be removed. Furthermore, handling_signal is also incremented in handle_async_input for HAVE_NS, but I think this should be conditionalized by !SYNC_INPUT as well. 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."