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 13:17:48 +0300 Message-ID: References: <83wr2q7hlk.fsf@gnu.org> <83sjde7ao9.fsf@gnu.org> <83r4sy78fb.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1340965140 22952 80.91.229.3 (29 Jun 2012 10:19:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Jun 2012 10:19:00 +0000 (UTC) Cc: 11813@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 29 12:19:00 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 1SkYHz-0007i9-OI for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 12:18:59 +0200 Original-Received: from localhost ([::1]:44588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkYHz-00046L-IL for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jun 2012 06:18:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkYHr-000467-U4 for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 06:18:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkYHl-00020R-AK for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 06:18:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkYHl-00020K-3p for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 06:18:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SkYLt-0007yX-Q1 for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2012 06:23:01 -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 10:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11813-submit@debbugs.gnu.org id=B11813.134096533030599 (code B ref 11813); Fri, 29 Jun 2012 10:23:01 +0000 Original-Received: (at 11813) by debbugs.gnu.org; 29 Jun 2012 10:22:10 +0000 Original-Received: from localhost ([127.0.0.1]:36440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkYL3-0007xU-4M for submit@debbugs.gnu.org; Fri, 29 Jun 2012 06:22:09 -0400 Original-Received: from mail-yw0-f45.google.com ([209.85.213.45]:42375) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SkYL0-0007xM-7u for 11813@debbugs.gnu.org; Fri, 29 Jun 2012 06:22:07 -0400 Original-Received: by yhoo21 with SMTP id o21so3719426yho.18 for <11813@debbugs.gnu.org>; Fri, 29 Jun 2012 03:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wWTfl+atvUnx6a4+b0W79k9u8ja/WoYzIwnJyUtjRvE=; b=Q5UALuXppYMWN6IhQcv5Y6FO49weMQPGvRAssc3ffdtWPO2RYWw86d1ofWuLItr7RG y7gL4GWt5H/8CcdQmdfpurnHEbPBEq3k4wNuebfeOC82NppcrfDNyl1t5Yon653ea99j qlqDpJEAB1n1adpYiQVlgP1GtA32xIJOY5WcPfh92tJmb31yYFqHQ07LanzkYmcSWnAt 92JQ00x3jwhGo7729ibo8Bqq91LI1Ym2m5JHF/f2MhWtGeocpPQJZc/QZMS5mG3wC8K8 Sy2C3y2kCYkxTPsFtUYQQHxHCe+c3a/BGO9iGySsBIDbTY0uH+xJOXSzgiFv7lYOgl2e 12DA== Original-Received: by 10.60.7.72 with SMTP id h8mr949039oea.33.1340965068622; Fri, 29 Jun 2012 03:17:48 -0700 (PDT) Original-Received: by 10.76.120.45 with HTTP; Fri, 29 Jun 2012 03:17:48 -0700 (PDT) In-Reply-To: <83r4sy78fb.fsf@gnu.org> 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:61405 Archived-At: Program received signal SIGSEGV, Segmentation fault. 0x000000000056c02e in x_draw_glyph_string_background (s=0x7fffffffba40, force_p=1) at xterm.c:1210 1210 else if (FONT_HEIGHT (s->font) < s->height - 2 * box_line_width (gdb) frame 2 #2 0x0000000000493044 in draw_glyphs (w=0x146bdc0, x=850, row=0x1674890, area=TEXT_AREA, start=0, end=68, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:23404 23404 FRAME_RIF (f)->draw_glyph_string (s); (gdb) pgrow TEXT: 68 glyphs 0 0: CHAR[ ] str=eb7881[0] blev=0,btyp=L w=11 a+d=14+4 face=1 [ 1 11: CHAR[U] str=11bef51[1] blev=0,btyp=L w=10 a+d=14+4 face=1 2 21: CHAR[:] str=169a6c1[0] blev=0,btyp=L w=10 a+d=14+4 face=1 3 31: CHAR[-] str=11daed1[1] blev=0,btyp=L w=10 a+d=14+4 face=1 4 41: CHAR[-] str=11daeb1[1] blev=0,btyp=L w=10 a+d=14+4 face=1 5 51: CHAR[-] str=11dbba1[1] blev=0,btyp=L w=10 a+d=14+4 face=1 6 61: CHAR[ ] str=b0bf61[0] blev=0,btyp=L w=10 a+d=14+4 face=1 7 71: CHAR[ ] str=b0bf61[1] blev=0,btyp=L w=10 a+d=14+4 face=1 8 81: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 9 105: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 10 129: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 11 153: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 12 177: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 13 201: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 14 225: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 15 249: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 16 273: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 17 297: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 18 321: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 19 345: GLYPHLESS[HEX] str=11bf4c1[1] w=24 a+d=18+7 face=13 slice=2,65530,2,5 20 369: CHAR[ ] str=11c5121[0] blev=0,btyp=L w=10 a+d=14+4 face=1 21 379: CHAR[ ] str=11c5121[1] blev=0,btyp=L w=10 a+d=14+4 face=1 22 389: CHAR[ ] str=11c5121[2] blev=0,btyp=L w=10 a+d=14+4 face=1 23 399: CHAR[A] str=11dd7d1[1] blev=0,btyp=L w=10 a+d=14+4 face=1 24 409: CHAR[l] str=11dd7d1[1] blev=0,btyp=L w=10 a+d=14+4 face=1 25 419: CHAR[l] str=11dd7d1[1] blev=0,btyp=L w=10 a+d=14+4 face=1 26 429: CHAR[ ] str=11ab001[0] blev=0,btyp=L w=10 a+d=14+4 face=1 27 439: CHAR[L] str=11ab001[1] blev=0,btyp=L w=10 a+d=14+4 face=1 28 449: CHAR[1] str=11ab001[3] blev=0,btyp=L w=10 a+d=14+4 face=1 29 459: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 30 469: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 31 479: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 32 489: CHAR[ ] str=11aff91[0] blev=0,btyp=L w=10 a+d=14+4 face=1 33 499: CHAR[ ] str=11aff91[1] blev=0,btyp=L w=10 a+d=14+4 face=1 34 509: CHAR[(] str=1196d71[0] blev=0,btyp=L w=10 a+d=14+4 face=1 35 519: CHAR[L] str=169a621[0] blev=0,btyp=L w=10 a+d=14+4 face=1 36 529: CHAR[i] str=169a621[1] blev=0,btyp=L w=10 a+d=14+4 face=1 37 539: CHAR[s] str=169a621[2] blev=0,btyp=L w=10 a+d=14+4 face=1 38 549: CHAR[p] str=169a621[3] blev=0,btyp=L w=10 a+d=14+4 face=1 39 559: CHAR[ ] str=169a621[4] blev=0,btyp=L w=10 a+d=14+4 face=1 40 569: CHAR[I] str=169a621[5] blev=0,btyp=L w=10 a+d=14+4 face=1 41 579: CHAR[n] str=169a621[6] blev=0,btyp=L w=10 a+d=14+4 face=1 42 589: CHAR[t] str=169a621[7] blev=0,btyp=L w=10 a+d=14+4 face=1 43 599: CHAR[e] str=169a621[8] blev=0,btyp=L w=10 a+d=14+4 face=1 44 609: CHAR[r] str=169a621[9] blev=0,btyp=L w=10 a+d=14+4 face=1 45 619: CHAR[a] str=169a621[10] blev=0,btyp=L w=10 a+d=14+4 face=1 46 629: CHAR[c] str=169a621[11] blev=0,btyp=L w=10 a+d=14+4 face=1 47 639: CHAR[t] str=169a621[12] blev=0,btyp=L w=10 a+d=14+4 face=1 48 649: CHAR[i] str=169a621[13] blev=0,btyp=L w=10 a+d=14+4 face=1 49 659: CHAR[o] str=169a621[14] blev=0,btyp=L w=10 a+d=14+4 face=1 50 669: CHAR[n] str=169a621[15] blev=0,btyp=L w=10 a+d=14+4 face=1 51 679: CHAR[)] str=1196f51[0] blev=0,btyp=L w=10 a+d=14+4 face=1 52 689: CHAR[ ] str=1196f91[0] blev=0,btyp=L w=10 a+d=14+4 face=1 53 699: CHAR[ ] pos=0 blev=0,btyp=L w=10 a+d=14+4 face=1 54 709: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 55 719: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 56 729: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 57 739: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 58 749: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 59 759: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 60 769: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 61 779: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 62 789: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 63 799: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 64 809: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 65 819: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 66 829: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 67 839: CHAR[ ] pos=-1 blev=0,btyp=B w=10 a+d=14+4 face=1 ] Here's what I get in the pgrow Next, the contents of row: (gdb) display row 1: row = (struct glyph_row *) 0x1674890 (gdb) display *row 2: *row = { glyphs = {0xf20600, 0xf20600, 0xf21680, 0xf21680}, used = {0, 68, 0}, x = 0, y = 612, pixel_width = 849, ascent = 18, height = 25, phys_ascent = 18, phys_height = 25, visible_height = 25, extra_line_spacing = 0, hash = 46368546, start = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, end = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, minpos = { charpos = 0, bytepos = 0 }, maxpos = { charpos = 0, bytepos = 0 }, overlay_arrow_bitmap = 0, left_user_fringe_bitmap = 0, right_user_fringe_bitmap = 0, left_fringe_bitmap = 0, right_fringe_bitmap = 0, left_user_fringe_face_id = 0, right_user_fringe_face_id = 0, left_fringe_face_id = 0, right_fringe_face_id = 0, left_fringe_offset = 0, right_fringe_offset = 0, fringe_bitmap_periodic_p = 0, redraw_fringe_bitmaps_p = 0, enabled_p = 1, truncated_on_left_p = 0, truncated_on_right_p = 0, continued_p = 0, displays_text_p = 0, ends_at_zv_p = 0, fill_line_p = 0, indicate_empty_line_p = 0, contains_overlapping_glyphs_p = 0, full_width_p = 1, mode_line_p = 1, overlapped_p = 0, ends_in_middle_of_char_p = 0, starts_in_middle_of_char_p = 0, overlapping_p = 0, mouse_face_p = 0, ends_in_newline_from_string_p = 0, exact_window_width_line_p = 0, cursor_in_fringe_p = 0, ends_in_ellipsis_p = 0, indicate_bob_p = 0, indicate_top_line_p = 0, indicate_eob_p = 0, indicate_bottom_line_p = 0, reversed_p = 0, continuation_lines_width = 0, clip = 0x0 } Best. Oleg