From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Hansen Newsgroups: gmane.emacs.bugs Subject: bug#3112: 23.0.92; segfault in display-supports-face-attributes-p Date: Thu, 07 May 2009 16:32:17 -0400 Message-ID: <4A034551.5040201@bbn.com> References: <87hc02qlhm.fsf@cyd.mit.edu> Reply-To: Richard Hansen , 3112@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241735837 28381 80.91.229.12 (7 May 2009 22:37:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2009 22:37:17 +0000 (UTC) Cc: 3112@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 08 00:37:08 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M2CDE-0008Bo-47 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 May 2009 00:37:08 +0200 Original-Received: from localhost ([127.0.0.1]:55616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2CDD-0006xd-Ej for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2009 18:37:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2AZV-0000YU-97 for bug-gnu-emacs@gnu.org; Thu, 07 May 2009 16:52:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2AZQ-0000Ua-Sw for bug-gnu-emacs@gnu.org; Thu, 07 May 2009 16:52:01 -0400 Original-Received: from [199.232.76.173] (port=37377 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2AZQ-0000UO-Jx for bug-gnu-emacs@gnu.org; Thu, 07 May 2009 16:51:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35725) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M2AZP-0003yR-Uz for bug-gnu-emacs@gnu.org; Thu, 07 May 2009 16:51:56 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n47KprZk030231; Thu, 7 May 2009 13:51:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n47KZ3er024842; Thu, 7 May 2009 13:35:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Richard Hansen Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 07 May 2009 20:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3112 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3112-submit@emacsbugs.donarmstrong.com id=B3112.124172835024653 (code B ref 3112); Thu, 07 May 2009 20:35:03 +0000 Original-Received: (at 3112) by emacsbugs.donarmstrong.com; 7 May 2009 20:32:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx3.bbn.com (mx3.bbn.com [128.33.1.81]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n47KWQF1024609 for <3112@emacsbugs.donarmstrong.com>; Thu, 7 May 2009 13:32:27 -0700 Original-Received: from dommiel.bbn.com ([192.1.122.15] helo=[IPv6:::1]) by mx3.bbn.com with esmtp (Exim 4.63) (envelope-from ) id 1M2AGR-0008Vx-AK; Thu, 07 May 2009 16:32:19 -0400 User-Agent: Thunderbird 2.0.0.21 (X11/20090409) In-Reply-To: <87hc02qlhm.fsf@cyd.mit.edu> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 07 May 2009 16:52:00 -0400 X-Mailman-Approved-At: Thu, 07 May 2009 18:33:31 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27771 Archived-At: >> I figured out how to reproduce this segfault: >> >> Set .emacs to the following: >> >> (custom-set-faces >> '(default ((t (:height 121 :family "something-invalid"))))) >> >> Then start emacs and let the mouse hover over something that would >> display a tooltip. After a second or so you'll get the segfault. > > I can't reproduce this crash with the recipe you provided. Hovering the > mouse over the buffer name in the mode-line, or over one of the links in > the startup screen, displays a tooltip with no crash. I also did > `xrdb -remove' to clear my X resources---again, no crash with the > recipe. My emacs had some Debian-provided patches, so I tried building fresh from CVS. I'm still having the same problem, and I can still reliably reproduce the segfault. Here's what I did: $ cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs $ cd emacs $ ./configure $ make bootstrap $ make $ ./src/emacs -Q Then I evaluated the above snippet and hovered my mouse over something that produces a tooltip. Presto, instant segfault. If I leave out the ':height 121' from the above snippet, no segfault. Can anyone else reproduce this? Thanks, Richard