From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#18162: 24.3.92; segfault on null face pointer in face_for_char Date: Fri, 1 Aug 2014 21:52:44 -0400 Message-ID: References: <6ewqatjen6.fsf@just-testing.permabit.com> <838un8sqeo.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e012287a2165b9c04ff9bc3f2 X-Trace: ger.gmane.org 1406944404 20808 80.91.229.3 (2 Aug 2014 01:53:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Aug 2014 01:53:24 +0000 (UTC) Cc: 18162 <18162@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 02 03:53: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 1XDOVX-0008Q0-Ia for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Aug 2014 03:53:15 +0200 Original-Received: from localhost ([::1]:42638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDOVX-0007N1-2a for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Aug 2014 21:53:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDOVP-0007Mk-6b for bug-gnu-emacs@gnu.org; Fri, 01 Aug 2014 21:53:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDOVK-0006ba-NO for bug-gnu-emacs@gnu.org; Fri, 01 Aug 2014 21:53:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDOVK-0006bT-KE for bug-gnu-emacs@gnu.org; Fri, 01 Aug 2014 21:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XDOVJ-0003FB-TX for bug-gnu-emacs@gnu.org; Fri, 01 Aug 2014 21:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Aug 2014 01:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18162 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18162-submit@debbugs.gnu.org id=B18162.140694437512457 (code B ref 18162); Sat, 02 Aug 2014 01:53:01 +0000 Original-Received: (at 18162) by debbugs.gnu.org; 2 Aug 2014 01:52:55 +0000 Original-Received: from localhost ([127.0.0.1]:54246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XDOVC-0003Eq-Ez for submit@debbugs.gnu.org; Fri, 01 Aug 2014 21:52:54 -0400 Original-Received: from mail-la0-f42.google.com ([209.85.215.42]:47858) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XDOV9-0003Eb-Hw for 18162@debbugs.gnu.org; Fri, 01 Aug 2014 21:52:52 -0400 Original-Received: by mail-la0-f42.google.com with SMTP id pv20so3818551lab.15 for <18162@debbugs.gnu.org>; Fri, 01 Aug 2014 18:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=permabit.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zoDXaURjJRXbYmwQ+sPnBhCJtLyWAvoBY6pKG+HAhJg=; b=V/oCqELbBZWHGaSw/ltb66wmpppvAKtUDuWuwZlOvJ6kuAGbyFuPXdueC3JnyITmjD GU5aZWUINR1kr1VVm3XeqN+ieH8QYnxLtkmusf2/6oo3a3DCbwcWyIocHGx2gFT4A7TP jDTGvl/SdKc3vN3wcd01XGPBjslOA8ghN40yw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=zoDXaURjJRXbYmwQ+sPnBhCJtLyWAvoBY6pKG+HAhJg=; b=Djg4tweIVDgt3WRVFFhf5pSdz0R2xUXAK29UqHgktlqRTGlQx7pfqPDJiYBr4VDw5C CjKPONeEAVXeCUCDOJIIuyozNQy4aGuTrxx4CNjMNkGqqfEbzmNNdhHnRLSOn9c7G0EJ rDMYNTnW8/mF/hd5EvN8w/sl9tHLDJDgD0rUQGbCS0UK3KDPj5BVzOq//FB93keQbLzm b4KQjbAID7iY7aiPTqJ6CWZgoA9VsKf0JLRb8I+poQoehz2nMJgSU/wct8YGx2Kai7oP W/aTW65pb0PQEzOJ6JFKeUm6+e1NgzuVkalvSiTRSewsI75KCZLG8ooBWmhnKOAnOapy qFpA== X-Gm-Message-State: ALoCoQnlEn0zfAZQQ0AZbHDFxe9pM8VkwtPbwWczsdsuepzgcbkEa7xbyAqmiNwoM9BuLJVjhiSC X-Received: by 10.112.137.136 with SMTP id qi8mr9328597lbb.41.1406944364871; Fri, 01 Aug 2014 18:52:44 -0700 (PDT) Original-Received: by 10.113.5.37 with HTTP; Fri, 1 Aug 2014 18:52:44 -0700 (PDT) In-Reply-To: <838un8sqeo.fsf@gnu.org> 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:92039 Archived-At: --089e012287a2165b9c04ff9bc3f2 Content-Type: text/plain; charset=UTF-8 On Fri, Aug 1, 2014 at 1:57 AM, Eli Zaretskii wrote: > Sounds like some code called clear_face_cache, for some reason. Is f > at all the same frame where you were typing? If not, the crash could > have nothing to do with what you typed, but with some background > activity on another frame. > I just ran Emacs a while under gdb, and it called clear_face_cache while I wasn't doing anything interesting, just typing into a buffer. It happened from in redisplay_internal when clear_face_cache_count reached 501. Its documentation says it's used to "clear the face cache every once in a while". --089e012287a2165b9c04ff9bc3f2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On F= ri, Aug 1, 2014 at 1:57 AM, Eli Zaretskii <eliz@gnu.org> wrote:
Sounds like some code called clear_face_cache, for some reason. =C2=A0Is f<= br> at all the same frame where you were typing? =C2=A0If not, the crash could<= br> have nothing to do with what you typed, but with some background
activity on another frame.

I just ran Emacs a = while under gdb, and it called clear_face_cache while I wasn't doing an= ything interesting, just typing into a buffer. It happened from in redispla= y_internal when clear_face_cache_count reached 501. Its documentation says = it's used to "clear the face cache every once in a while".
--089e012287a2165b9c04ff9bc3f2--