From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#17771: 24.3.91; SIGSEGV in cleanup_vector Date: Wed, 18 Jun 2014 20:24:21 +0400 Message-ID: <53A1BD35.5090701@yandex.ru> References: <874mzp896b.fsf@rosalinde.fritz.box> <83vbs5w3h7.fsf@gnu.org> <87zjhh6su4.fsf@rosalinde.fritz.box> <83tx7pvw61.fsf@gnu.org> <87ppid6l0x.fsf@rosalinde.fritz.box> <83ppidvsyx.fsf@gnu.org> <87lht16ii3.fsf@rosalinde.fritz.box> <83mwdgx6t4.fsf@gnu.org> <87ha3o7w68.fsf@rosalinde.fritz.box> <83lht0x65z.fsf@gnu.org> <87d2ec7v8p.fsf@rosalinde.fritz.box> <83fvj8x3o9.fsf@gnu.org> <539EA48D.4050802@yandex.ru> <87lhsxjh0z.fsf@rosalinde.fritz.box> <539EE4F0.9070307@yandex.ru> <878uoxj94f.fsf@rosalinde.fritz.box> <539EEEDC.2080703@yandex.ru> <854mzigyxs.fsf@iznogoud.viz> <87r42miaxk.fsf@rosalinde.fritz.box> <53A19BA8.3090004@yandex.ru> <87mwdai4xj.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1403110284 27389 80.91.229.3 (18 Jun 2014 16:51:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2014 16:51:24 +0000 (UTC) Cc: 17771@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 18 18:51:17 2014 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 1WxJ4s-0004cg-Hy for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 18:51:14 +0200 Original-Received: from localhost ([::1]:59280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxJ4s-0001ph-8j for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 12:51:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIfe-0001qo-GQ for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 12:25:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxIfW-00029X-Qy for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 12:25:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIfW-00029E-Lu for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 12:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WxIfW-0007IM-40 for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 12:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Jun 2014 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17771-submit@debbugs.gnu.org id=B17771.140310867928009 (code B ref 17771); Wed, 18 Jun 2014 16:25:02 +0000 Original-Received: (at 17771) by debbugs.gnu.org; 18 Jun 2014 16:24:39 +0000 Original-Received: from localhost ([127.0.0.1]:51977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxIf4-0007Hc-Va for submit@debbugs.gnu.org; Wed, 18 Jun 2014 12:24:39 -0400 Original-Received: from forward10l.mail.yandex.net ([84.201.143.143]:46917) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxIey-0007HF-T7 for 17771@debbugs.gnu.org; Wed, 18 Jun 2014 12:24:33 -0400 Original-Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward10l.mail.yandex.net (Yandex) with ESMTP id 504C2BA10C0; Wed, 18 Jun 2014 20:24:22 +0400 (MSK) Original-Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id EF5B716A0372; Wed, 18 Jun 2014 20:24:21 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id hrHyA25NZ1-OLDi0SxM; Wed, 18 Jun 2014 20:24:21 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 2605a29b-8b08-4353-b4ec-e78b9c417258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1403108661; bh=d2kyuPLbETB5hxKtbpKWhXGTbuQPIZ2Hm0y/B2gYmT8=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=rUF3hmvdFYI7hos/gsLSj6figtX2/AXnlqCimj5ExnRC8mRiFKDEsfHA8WUhgfgye sIkvTGY6E6F7Tl0BtaJ8EwW/bYV4DVqmUdntlYmgTvpZG85+fC8x5Gxs5SYh5s5Hjp 26JKKpf/+pe28Fl7HSbPwEh6HUnfYDq9LlkF/c70= Authentication-Results: smtp12.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <87mwdai4xj.fsf@rosalinde.fritz.box> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:90511 Archived-At: On 06/18/2014 08:00 PM, Stephen Berman wrote: > As I said in my followup to your patch, it did indeed prevent Emacs from > crashing, but with it C-g could not interrupt HELLO being displayed. This can be explained. To process C-g, C code should call QUIT. If we compare it with OS, this is something like "check for pending interrupts and process them if needed". That's why, for example, (make-list 10000000 0) can be interrupted with C-g. Emacs do QUIT in its own C code, but it's impossible to arrange QUIT in external library. So, if there is a very busy loop somewhere in fontconfig, you can't interrupt it with C-g. Dmitry