From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#17771: 24.3.91; SIGSEGV in cleanup_vector Date: Wed, 18 Jun 2014 19:00:59 +0200 Message-ID: <87ionyi244.fsf@rosalinde.fritz.box> References: <874mzp896b.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> <53A1BD35.5090701@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403110946 3471 80.91.229.3 (18 Jun 2014 17:02:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2014 17:02:26 +0000 (UTC) Cc: 17771@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 18 19:02: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 1WxJFZ-0007IC-I7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 19:02:17 +0200 Original-Received: from localhost ([::1]:59397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxJFY-0004fO-RX for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jun 2014 13:02:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxJFQ-0004db-Fo for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 13:02:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxJFK-00014y-8G for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 13:02:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxJFK-00014u-5r for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 13:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WxJFJ-0008Kv-LI for bug-gnu-emacs@gnu.org; Wed, 18 Jun 2014 13:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Jun 2014 17:02:01 +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.140311088831998 (code B ref 17771); Wed, 18 Jun 2014 17:02:01 +0000 Original-Received: (at 17771) by debbugs.gnu.org; 18 Jun 2014 17:01:28 +0000 Original-Received: from localhost ([127.0.0.1]:52011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxJEm-0008K1-9I for submit@debbugs.gnu.org; Wed, 18 Jun 2014 13:01:28 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:52954) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxJEj-0008Jn-Dz for 17771@debbugs.gnu.org; Wed, 18 Jun 2014 13:01:26 -0400 Original-Received: from rosalinde.fritz.box ([89.245.106.46]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MACmL-1WqTcC2cht-00BJ9j; Wed, 18 Jun 2014 19:01:17 +0200 In-Reply-To: <53A1BD35.5090701@yandex.ru> (Dmitry Antipov's message of "Wed, 18 Jun 2014 20:24:21 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) X-Provags-ID: V03:K0:s3BRl6egzWZiEiuxm+j6LptWx7U0fRc1Nz9hKHAyU7fNGc2bbWe EwuEsKEVU7zgU/p71k+IikAgFeXcNEkGGyig3eabhMt6TOYLViHj95Dbr9/V63QHIsreiSh 25c516/8LIRW09OM/caWFcF17j3i0EMwplZq4KslGqdHo5etzFUG89ThMmKLh427I8caO2E z3au5wNTEocGhuaGGXIkg== 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:90515 Archived-At: On Wed, 18 Jun 2014 20:24:21 +0400 Dmitry Antipov wrote: > 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. I see. Well, having Emacs crash is certainly worse than not being able to interrupt fontconfig, so I think you should commit the patch, and then as far as I'm concerned, this bug can be closed. Steve Berman