From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Left Right Newsgroups: gmane.emacs.bugs Subject: bug#11813: Segmentation fault on launch related to x_draw_glyph_string_background Date: Fri, 29 Jun 2012 05:25:26 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1340936755 28538 80.91.229.3 (29 Jun 2012 02:25:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Jun 2012 02:25:55 +0000 (UTC) To: 11813@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 29 04:25:54 2012 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 1SkQu9-0002il-Dp for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 04:25:53 +0200 Original-Received: from localhost ([::1]:60694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkQu9-00029j-9H for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jun 2012 22:25:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkQu6-00029c-9V for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 22:25:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkQu4-0005MN-BD for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 22:25:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkQu3-0005MJ-VK for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 22:25:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SkQyA-0004ft-J1 for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 22:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Left Right Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jun 2012 02:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134093699417927 (code B ref -1); Fri, 29 Jun 2012 02:30:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jun 2012 02:29:54 +0000 Original-Received: from localhost ([127.0.0.1]:36047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkQy1-0004f5-W7 for submit@debbugs.gnu.org; Thu, 28 Jun 2012 22:29:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48028) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkQxy-0004ey-Uq for submit@debbugs.gnu.org; Thu, 28 Jun 2012 22:29:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkQtq-0005Lm-1S for submit@debbugs.gnu.org; Thu, 28 Jun 2012 22:25:35 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:42035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkQtp-0005Lf-Rw for submit@debbugs.gnu.org; Thu, 28 Jun 2012 22:25:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkQtn-00029T-Te for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 22:25:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkQtl-0005FZ-PK for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 22:25:31 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:55606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkQtl-0005DE-Hb for bug-gnu-emacs@gnu.org; Thu, 28 Jun 2012 22:25:29 -0400 Original-Received: by obhx4 with SMTP id x4so4832217obh.0 for ; Thu, 28 Jun 2012 19:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=xtz2ReIho2i+HRa0rR6ySKjVLMgW0NwvKjRHUBNaAVs=; b=hLoi9EmKq0d+39nQlO7LH9MfjbDKrzk9R74xZ2rhTM6FoFXG4Q8kUeZUegF4PYKQwK oi6ea6DUUWoleu5vgFgr3iRJnfeMXBrUPpMGTE3EmtysKU+WY7Vc6S/5mbfz6qVRiXRA ed8dv9XRfrnEagkdlu5ldz94VfepoI0nx88TKQMh51924io8uxbM9+AyP7wi99TxnbLU PpApGjwsQv7r/VBHBvCWQjo+nx1bsMH0ii6RdRIyo+wCyjKrVJ7U1RBW9gPU74qSt6WX BMXgDFhDi3FsB2bw53tIosriKTcZl4YIgQWkulIujIrje21niHBwcHlLHZFWpkCXR7ID qvPw== Original-Received: by 10.182.52.42 with SMTP id q10mr5086859obo.46.1340936726104; Thu, 28 Jun 2012 19:25:26 -0700 (PDT) Original-Received: by 10.76.120.45 with HTTP; Thu, 28 Jun 2012 19:25:26 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:61393 Archived-At: Hello, I've built 24.1 release and the latest version from git repository. Both exhibit same behavior: wvxvw@wvxvw-desktop:~/projects/emacs-sources/emacs/src$ gdb ./emacs GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/wvxvw/projects/emacs-sources/emacs/src/emacs...done. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0.0 TERM = xterm Breakpoint 1 at 0x4e1e40: file emacs.c, line 390. Temporary breakpoint 2 at 0x500050: file sysdep.c, line 843. (gdb) run -q Starting program: /home/wvxvw/projects/emacs-sources/emacs/src/emacs -q [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. x_draw_glyph_string_background (s=0x7fffffffcb60, force_p=1) at xterm.c:1210 1210 else if (FONT_HEIGHT (s->font) < s->height - 2 * box_line_width (gdb) c Continuing. Fatal error (11) Program received signal SIGSEGV, Segmentation fault. 0x00007ffff548a497 in kill () from /lib/libc.so.6 (gdb) q Things that might need clarification: - I try to avoid AA fonts everywhere I can, so, every possible font rendering setting I found is set so it shouldn't use AA. This is KDE on Debian squeeze 64 bit. The default font used everywhere is Arial. What I see when Emacs starts (and stops on the fault) - the display area isn't fully initialized, the screen and the scrollbars aren't drawn completely (scrollbars show blanks). The mouse pointer changes shape to a bitmap image of an arrow (similar to the one used on Macs, i.e. black arrow with white contour) while hovering over the menu strip. The mouse pointer disappears when hovering over the text area. The menu in Emacs doesn't use the system default font at the time it crashes (it uses something that looks like narrow-ish Helvetica, but cannot tell for sure, but it uses some sort of vector rendering, it's not a bitmap font.) I'll happily provide any additional info. Best. Oleg