From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: segmentation fault displaying etc/HELLO on Windows Date: Wed, 30 Jul 2008 07:48:50 +0100 Message-ID: <48900ED2.2000703@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217400567 30946 80.91.229.12 (30 Jul 2008 06:49:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 06:49:27 +0000 (UTC) Cc: emacs- devel To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 30 08:50:16 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KO5Vk-0005ls-Qn for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 08:50:13 +0200 Original-Received: from localhost ([127.0.0.1]:44005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KO5Uq-0005c5-Fa for ged-emacs-devel@m.gmane.org; Wed, 30 Jul 2008 02:49:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KO5Ul-0005bm-PB for emacs-devel@gnu.org; Wed, 30 Jul 2008 02:49:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KO5Uj-0005ba-Cc for emacs-devel@gnu.org; Wed, 30 Jul 2008 02:49:10 -0400 Original-Received: from [199.232.76.173] (port=41505 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KO5Uj-0005bX-6V for emacs-devel@gnu.org; Wed, 30 Jul 2008 02:49:09 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:37678) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KO5Ui-0000vb-TY for emacs-devel@gnu.org; Wed, 30 Jul 2008 02:49:09 -0400 Original-Received: from mk-outboundfilter-5.mail.uk.tiscali.com ([212.74.114.1]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KO5Ui-00012X-2x for emacs-devel@gnu.org; Wed, 30 Jul 2008 02:49:08 -0400 Original-X-Trace: 63328537/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$F2S-ACCEPTED/f2s-freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiUFADOsj0hTQxds/2dsb2JhbACBW4lEpHc X-IronPort-AV: E=Sophos;i="4.31,277,1215385200"; d="scan'208";a="63328537" X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 30 Jul 2008 07:49:06 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id E7DE11B7; Wed, 30 Jul 2008 07:49:37 +0100 (BST) User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101742 Archived-At: Juanma Barranquero wrote: > However, C-h H crashes Emacs: > > Program received signal SIGSEGV, Segmentation fault. > 0x011ea1ff in w32_compute_glyph_string_overhangs (s=0x82eaf0) at w32term.c:1194 > 1194 font->driver->text_extents (font, code, s->nchars, &metrics); > (gdb) bt > #0 0x011ea1ff in w32_compute_glyph_string_overhangs (s=0x82eaf0) at > w32term.c:1194 That seems to suggest that s->font is invalid, but s->font_not_found_p is not set. Can you see what characters are being drawn here (s->first_glyph->u.ch) so you can narrow down which font should be being used (based on earlier versions) and start stepping through the code earlier (use a conditional breakpoint based on the character being displayed).