From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?=" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.60; Xft backend support is not working properly resulting in segfaults Date: Wed, 14 May 2008 21:43:46 +0530 (IST) Message-ID: <20080514161346.B512C132CCF@chateau.d.lf> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1210785345 13619 80.91.229.12 (14 May 2008 17:15:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 17:15:45 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 14 19:16:22 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 1JwKa9-0004hC-Gm for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 19:16:10 +0200 Original-Received: from localhost ([127.0.0.1]:60568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwKZP-0002bd-0h for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 13:15:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwJb4-00081w-2Q for emacs-devel@gnu.org; Wed, 14 May 2008 12:12:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwJaz-0007z7-3r for emacs-devel@gnu.org; Wed, 14 May 2008 12:12:53 -0400 Original-Received: from [199.232.76.173] (port=39018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwJay-0007yv-UL for emacs-devel@gnu.org; Wed, 14 May 2008 12:12:49 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:35741) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwJay-0005zd-7G for emacs-devel@gnu.org; Wed, 14 May 2008 12:12:49 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:35166 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JwJZw-0002hW-Fb for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 12:11:45 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JwJap-0005yd-4z for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 12:12:44 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.245]:35365) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwJan-0005xD-V3 for emacs-pretest-bug@gnu.org; Wed, 14 May 2008 12:12:39 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so4560056rvb.6 for ; Wed, 14 May 2008 09:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:message-id:date; bh=idhwjnVPtspphkXNbJ25tFXaDtVDA6kWV67PHD+sMwk=; b=P/Hjwp+QhxHYKGzYG90eJBacDr0Z8GHdQw+NIFa3zCWYaTYc60C4otYe9LtiTOkLIQQFXtnoXp/Pqk4GgmZrlvs3h3AQ3xb/+Lq2O+oiYkJ5M04PxsDAhCa96dkf01lc7uwY1Nj5w38olHTt0JhQD+1j2Eq0p1cufbw8fV8Rfjc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:message-id:date; b=q9SsAiayZxZBsbrJlkbb3klDpI5XodnLwHn02GLTNL+Xk/uHzySyMoGLalh3ckFHw6p2t2azhOjH+LsNrQUbwHJlGs6TBlY1PhAEYDSwoIEDTEI7C1zd1KhQmW0rZLi/u8l9Nmw7vO/DsnBGgl8W9N0TINTNnGreAa8hA1toO+Q= Original-Received: by 10.141.43.19 with SMTP id v19mr557893rvj.154.1210781550651; Wed, 14 May 2008 09:12:30 -0700 (PDT) Original-Received: from chateau.d.lf ( [122.162.55.32]) by mx.google.com with ESMTPS id f42sm1683465rvb.5.2008.05.14.09.12.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 May 2008 09:12:30 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 14 May 2008 13:15:10 -0400 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:97154 gmane.emacs.pretest.bugs:22322 Archived-At: I'm running emacs-cvs package in Gentoo Linux (amd64). ;; following emacs lisp code triggers the segfault. ; set font to any Xft font (set-face-font 'default "Liberation Mono-9") (message (face-font 'default)) ; above results in "-unknown-Liberation Mono-normal-normal-normal-*-12-*-*-*-m-0-*-*" ; ready to segfault (set-face-font 'font-lock-keyword-face (face-font 'default)) abbe@chateau /usr/portage/distfiles/cvs-src/emacs $ gdb emacs GNU gdb 6.7.1 Copyright (C) 2007 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-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/emacs [Thread debugging using libthread_db enabled] [New Thread 0x2b775d6c3fe0 (LWP 25658)] Program received signal SIGABRT, Aborted. [Switching to Thread 0x2b775d6c3fe0 (LWP 25658)] 0x00002b7758dff5a7 in kill () from /lib/libc.so.6 (gdb) bt full #0 0x00002b7758dff5a7 in kill () from /lib/libc.so.6 No symbol table info available. #1 0x00000000004cd4e5 in abort () at emacs.c:428 No locals. #2 0x0000000000585ad7 in font_list_entities (frame=25658, spec=) at font.c:2332 f = (FRAME_PTR) 0xba1db0 driver_list = (struct font_driver_list *) 0x1859910 ftype = family = alternate_familes = vec = size = need_filtering = n_family = i = #3 0x000000000058614d in font_find_for_lface (f=0xba1db0, attrs=0x1aaca20, spec=35022435, c=-1) at font.c:2767 encoding = (struct charset *) 0x540cfa repertory = (struct charset *) 0x7fff56e60ba8 frame = 12197300 entities = val = props = {0, 36896704, 35006563, 0, 35006563} size = 0 i = result = #4 0x0000000000586579 in font_load_for_lface (f=0x643a, attrs=0x6, spec=25658) at font.c:2873 entity = #5 0x000000000048b6dc in Finternal_set_lisp_face_attribute (face=30771825, attr=, value=35022435, frame=10725873) at xfaces.c:3321 font_object = lface = 27970068 old_value = 10771441 prop_index = #6 0x000000000048a91e in Finternal_set_lisp_face_attribute (face=30771825, attr=10767409, value=35007011, frame=0) at xfaces.c:3030 tail = lface = old_value = 10725777 prop_index = #7 0x0000000000538283 in Ffuncall (nargs=, args=) at eval.c:3040 fun = original_fun = funcar = numargs = 4 val = backtrace = {next = 0x7fff56e60cd0, function = 0x7fff56e60ba0, args = 0x7fff56e60ba8, nargs = 4, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7fff56e60ba8 i = #8 0x000000000056249c in Fbyte_code (bytestr=, vector=21307969, maxdepth=63) at bytecode.c:678 v1 = v2 = count = 15 ---Type to continue, or q to quit--- op = 25658 vectorp = (Lisp_Object *) 0x83a390 stack = {pc = 0x9a20b3 "\210)\nAA\211\022\204$", top = 0x7fff56e60bc0, bottom = 0x7fff56e60ba0, byte_string = 8627043, byte_string_start = 0x9a207f "\b\204\b", constants = 8627076, next = 0x7fff56e60d70} top = result = #9 0x0000000000537d2c in funcall_lambda (fun=8626924, nargs=4, arg_vector=0x7fff56e60d38) at eval.c:3217 val = syms_left = next = i = 4 optional = 0 rest = 1 #10 0x00000000005380db in Ffuncall (nargs=, args=) at eval.c:3087 fun = 25658 original_fun = 21307921 funcar = numargs = 4 val = backtrace = {next = 0x7fff56e60f20, function = 0x7fff56e60d30, args = 0x7fff56e60d38, nargs = 4, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7fff56e60d38 i = #11 0x000000000056249c in Fbyte_code (bytestr=, vector=11060673, maxdepth=40) at bytecode.c:678 v1 = v2 = count = 12 op = 25658 vectorp = (Lisp_Object *) 0x83ac00 stack = {pc = 0x9a1f5f "\207", top = 0x7fff56e60d50, bottom = 0x7fff56e60d30, byte_string = 8629203, byte_string_start = 0x9a1f59 "=fffd\b\t=fffd\n$\207", constants = 8629236, next = 0x7fff56e61030} top = result = #12 0x0000000000537d2c in funcall_lambda (fun=8629076, nargs=2, arg_vector=0x7fff56e60e50) at eval.c:3217 val = syms_left = next = i = 2 optional = 1 rest = 0 #13 0x0000000000537e8b in apply_lambda (fun=8629076, args=35007011, eval_flag=1) at eval.c:3141 args_left = 10725777 arg_vector = (Lisp_Object *) 0x643a i = 0 tem = 35007011 #14 0x0000000000537580 in Feval (form=) at eval.c:2403 fun = 25658 val = original_fun = 21308353 original_args = 37050037 funcar = ---Type to continue, or q to quit--- backtrace = {next = 0x7fff56e60fa0, function = 0x7fff56e60f48, args = 0x7fff56e60e50, nargs = 2, evalargs = 0 '\0', debug_on_exit = 0 '\0'} #15 0x0000000000538238 in Ffuncall (nargs=, args=) at eval.c:3030 fun = original_fun = funcar = numargs = 1 val = backtrace = {next = 0x7fff56e61120, function = 0x7fff56e61008, args = 0x7fff56e61010, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7fff56e61010 i = 6 #16 0x000000000056249c in Fbyte_code (bytestr=, vector=0, maxdepth=8) at bytecode.c:678 v1 = v2 = count = 8 op = 25658 vectorp = (Lisp_Object *) 0x8ff8a0 stack = {pc = 0x961ddf "!)\207", top = 0x7fff56e61010, bottom = 0x7fff56e61000, byte_string = 9435251, byte_string_start = 0x961dd0 "\b\203\b", constants = 9435284, next = 0x7fff56e611b0} top = result = #17 0x0000000000537d2c in funcall_lambda (fun=9435180, nargs=1, arg_vector=0x7fff56e61188) at eval.c:3217 val = syms_left = next = i = 1 optional = 0 rest = 0 #18 0x00000000005380db in Ffuncall (nargs=, args=) at eval.c:3087 fun = 25658 original_fun = 30839761 funcar = numargs = 1 val = backtrace = {next = 0x7fff56e612a0, function = 0x7fff56e61180, args = 0x7fff56e61188, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7fff56e61188 i = #19 0x000000000056249c in Fbyte_code (bytestr=, vector=30839809, maxdepth=8) at bytecode.c:678 v1 = v2 = count = 6 op = 25658 vectorp = (Lisp_Object *) 0x8ffa90 stack = {pc = 0x961d43 "\v)B\211\034A\n=\204\033", top = 0x7fff56e61188, bottom = 0x7fff56e61180, byte_string = 9435747, byte_string_start = 0x961d36 "\b\204\b", constants = 9435780, next = 0x0} top = result = #20 0x0000000000537d2c in funcall_lambda (fun=9435668, nargs=1, arg_vector=0x7fff56e61358) at eval.c:3217 val = syms_left = next = ---Type to continue, or q to quit--- i = 1 optional = 0 rest = 0 #21 0x00000000005380db in Ffuncall (nargs=, args=) at eval.c:3087 fun = 25658 original_fun = 20926721 funcar = numargs = 1 val = backtrace = {next = 0x7fff56e61500, function = 0x7fff56e61350, args = 0x7fff56e61358, nargs = 1, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7fff56e61358 i = #22 0x00000000005354b5 in Fcall_interactively (function=20926721, record_flag=10725777, keys=10792804) at callint.c:857 val = args = (Lisp_Object *) 0x7fff56e61350 visargs = (Lisp_Object *) 0x7fff56e61330 specs = filter_specs = 1 teml = up_event = 10725777 enable = 10725777 speccount = 3 next_event = 2 prefix_arg = 10725777 string = tem = varies = (int *) 0x7fff56e61310 i = 3 j = 1 foo = prompt1 = '\0' arg_from_tty = 0 key_count = 2 record_then_fail = 0 save_this_command = 20926721 save_last_command = 10782769 save_this_original_command = 20926721 save_real_this_command = 20926721 #23 0x0000000000538266 in Ffuncall (nargs=, args=) at eval.c:3036 fun = original_fun = funcar = numargs = 3 val = backtrace = {next = 0x0, function = 0x7fff56e61560, args = 0x7fff56e61568, nargs = 3, evalargs = 0 '\0', debug_on_exit = 0 '\0'} internal_args = (Lisp_Object *) 0x7fff56e61568 i = #24 0x000000000053847f in call3 (fn=, arg1=, arg2=25658, arg3=-1) at eval.c:2856 ret_ungc_val = 0 args = {10984657, 20926721, 10725777, 10725777} ---Type to continue, or q to quit--- #25 0x00000000004dfb2d in command_loop_1 () at keyboard.c:1910 cmd = lose = nonundocount = 0 keybuf = {192, 40, 35, 5700377148, 8708948, 8708944, 0, 0, 1, 140734651309336, 140734651307696, 5469568, 2822930838, 140734651307856, 140734651307880, 47791591992032, 0, 47791668466824, 47791589704888, 4233874, 47791592041760, 4214560, 4294967296, 4294968214, 0, 140734651307640, 140734651307408, 0, 10725777, 20929745} i = prev_modiff = 488 prev_buffer = (struct buffer *) 0xa446d0 already_adjusted = 0 #26 0x0000000000536c04 in internal_condition_case (bfun=0x4df77a , handlers=10812977, hfun=0x4da138 ) at eval.c:1499 val = c = {tag = 10725777, val = 10725777, next = 0x7fff56e61850, gcpro = 0x0, jmp = {{__jmpbuf = {11400592, 1811265834515693076, 11400592, 11400592, 1, 140734651309336, -1811497934966227436, 1811266543526739476}, __mask_was_saved = 0, __saved_mask = {__val = {5143533, 47791592014064, 47791589704888, 47791592041760, 4294967295, 4294967296, 8176136, 11400592, 11400592, 1, 140734651309336, 0, 47791506528129, 140733193388033, 0, 0}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0} h = {handler = 10812977, var = 10725777, chosen_clause = 10725777, tag = 0x7fff56e616e0, next = 0x0} #27 0x00000000004d949c in command_loop_2 () at keyboard.c:1367 val = 0 #28 0x0000000000536cf9 in internal_catch (tag=, func=0x4d9482 , arg=10725777) at eval.c:1235 c = {tag = 10794273, val = 10725777, next = 0x0, gcpro = 0x0, jmp = {{__jmpbuf = {11400592, 1811265834515693076, 11400592, 11400592, 1, 140734651309336, -1811497935016559084, 1811266543496068628}, __mask_was_saved = 0, __saved_mask = {__val = {0, 0, 0, 0, 0, 0, 0, 0, 11119202, 11119200, 11125584, 10766032, 11125585, 10725777, 5408525, 11125584}}}}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0} #29 0x00000000004d9fab in command_loop () at keyboard.c:1346 No locals. #30 0x00000000004da2e2 in recursive_edit_1 () at keyboard.c:955 val = #31 0x00000000004da404 in Frecursive_edit () at keyboard.c:1017 buffer = 10725777 #32 0x00000000004ce472 in main (argc=, argv=0x7fff56e61e38) at emacs.c:1772 displayname = 0x0 count_before = dummy = 47791506587648 stack_bottom_variable = 0 '\0' do_initial_setlocale = 1 skip_args = 0 rlim = {rlim_cur = 8720000, rlim_max = 18446744073709551615} no_loadup = 0 junk = 0x0 (gdb) xbacktrace Undefined command: "xbacktrace". Try "help". In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.8) of 2008-05-14 on chateau Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--without-carbon' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--enable-font-backend' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -pipe -mtune=nocona -march=nocona -ggdb' 'LDFLAGS =-Wl,--hash-style,both'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-undo-mode: t jabber-activity-mode: t erc-track-mode: t erc-services-mode: t erc-networks-mode: t erc-ring-mode: t erc-netsplit-mode: t erc-menu-mode: t erc-match-mode: t erc-pcomplete-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-autojoin-mode: t erc-smiley-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-readonly-mode: t display-time-mode: t server-mode: t show-paren-mode: t xterm-mouse-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: m y - s e t u p - f o M-x e m a b u C-g M-x M-x g n u s U n n m a i s e n 5 0 q M-x e m a b u C-g C-g Recent messages: Checking new news...done Retrieving newsgroup: nnmaildir:sent-mail... Fetching headers for nnmaildir:sent-mail...done Generating summary...done No more unread articles Mark set byte-code: Wrong number of arguments: #[(target old new) "=c3 #=87" [old new target replace-regexp-in-string] 4], 4 Quit byte-code: Command attempted to use minibuffer while in minibuffer Quit