From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: wahjava@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktg==?= =?utf-8?B?4KWB4KSV4KWN4KSy?=) Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Xft backend support is not working properly resulting in segfaults Date: Thu, 15 May 2008 12:35:40 +0530 Organization: /\/0/\/3 Message-ID: <87prroujwb.fsf@chateau.d.lf> References: <20080514161346.B512C132CCF@chateau.d.lf> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1210862904 22635 80.91.229.12 (15 May 2008 14:48:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 14:48:24 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 15 16:48:59 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 1Jwefp-0005lR-7v for ged-emacs-devel@m.gmane.org; Thu, 15 May 2008 16:43:16 +0200 Original-Received: from localhost ([127.0.0.1]:53713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwef4-0001Ip-7I for ged-emacs-devel@m.gmane.org; Thu, 15 May 2008 10:42:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwYLl-0003hg-3w for emacs-devel@gnu.org; Thu, 15 May 2008 03:58:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwYLi-0003fB-2r for emacs-devel@gnu.org; Thu, 15 May 2008 03:58:03 -0400 Original-Received: from [199.232.76.173] (port=50223 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwYLh-0003f5-QN for emacs-devel@gnu.org; Thu, 15 May 2008 03:58:01 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45720) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwYLh-0005tN-6Y for emacs-devel@gnu.org; Thu, 15 May 2008 03:58:01 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:38782) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JwXUu-00071M-CB for emacs-pretest-bug@gnu.org; Thu, 15 May 2008 03:03:28 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JwXVp-0007Bs-PH for emacs-pretest-bug@gnu.org; Thu, 15 May 2008 03:04:30 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:30663) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JwXVp-0007Bl-4U for emacs-pretest-bug@gnu.org; Thu, 15 May 2008 03:04:25 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.179]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwXVo-0002HT-93 for emacs-pretest-bug@gnu.org; Thu, 15 May 2008 03:04:24 -0400 Original-Received: by wa-out-1112.google.com with SMTP id m34so321829wag.10 for ; Thu, 15 May 2008 00:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:organization:references:x-face:x-pgp-fp:x-pgp:x-mailer:x-attribution:pgp:date:in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=F7qadaxYHbiG6j554XmqfVrKIAiDUIL6BUanJDRjGqE=; b=gMt46HikbEHGyW68TXK/2V6DZ1mLVqsJLAmwhxQtea9kwnbDsWBx/4RE2ctJiS7fHdlI++HEtFQPnD4QyNnCFG0qQLsyW02gF+3D406AWPu8cQSBD7zbysxBA+MDZ+mA8s9flI8jca+X3ToYIVb2j8RXY/IZDmQoDXohzeet8As= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:x-face:x-pgp-fp:x-pgp:x-mailer:x-attribution:pgp:date:in-reply-to:message-id:user-agent:face:mime-version:content-type; b=Z+zfHZeaNat8Dh8UzFzrnBzkQAGv4h/JJIOyctAuRTjNNkwE35FLx82MtWdDsWmhTcAM+3POSKYVtNGBOH2/U8nzQEqewNKs4OqWF7qF+7GeKoKRLTTNTcQUNo4JF90+Npnq7fXwDYUR/Kzs4sN/XbBlrVfYAKsBmOebD+ip7t4= Original-Received: by 10.114.120.1 with SMTP id s1mr2138154wac.137.1210835060870; Thu, 15 May 2008 00:04:20 -0700 (PDT) Original-Received: from chateau.d.lf ( [122.162.54.122]) by mx.google.com with ESMTPS id y11sm3749960pod.5.2008.05.15.00.04.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 15 May 2008 00:04:20 -0700 (PDT) X-Face: "\:nMpJ)EA!j>2nEu-[(+&o:N+CtL^AS\, Jv*LO5qBr#W2.\=d (Kenichi Handa's message of "Thu, 15 May 2008 10:01:26 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEVfX1/8/PwTExMDAwO0 tLSampr////f398oKCi/v78MDAwICAihq32EAAACU0lEQVQ4jW3UvWvbQBQA8LOJsJIsOajtZAtH Aqq8FLQUvNjhCex2UYpE7XYytPJalxJnFMImqrOkIJfcZtwGgrqEhELQ/XN9p+jLbc+Drfvx7r17 9jNxszXCV2mR9P3ACoKAOM5bugn1hRBRFAnxeErLMN4RIpbwYKwmZfgkMGDNol8PhlFrFDDalQcx BMMwXpwV8KElYqYzpmOA0a4UsC/EmrEU4ptGDq9kghTabP09g9EuFiSpJQOYXslgrEd6Aj8Q7pl+ kcFH3NRlUTIFfvyZwV4sEzwV20a4y2A/BWEYLxdYwk0Gn+Mohfa2X4bXsn8StC0uYdVI4T02cK0F is15ArcZYKeER5Q+f4JofZZHiPshJPt8BwtPrp4kF+KOp+sdpjvOjqpf3n+1bD6dTjk3ySKuZVU1 ezcdpm3h/pL4h9eP3Rw6R5bqa9t86a/1W3OVd7dpzgBMx8YAxVFgvgmqDTwEdQignOVgI1ggoQMA x40CFHzmCHgXcEoAig39MOSATTGt5znQL4qDIRIgNK2LAqYWAl47lBGDSgHNjoOt6vdDkNAtQc9E wN0EJgXQN7aMSABIGU7mMiI5CtQJzX9w9PwQYOApVqBwCMqwp9lmkKzh0qM5uPTAn/Vw0ogazK9m JRjR6pHqEVyqd1XbgPPfKkgAddClxRi49NmKcNMh+JV4T7mzqW1e2jwk3pAPjugGuCfHPLRIP/Qr tLEB9daW7HrvcLIx55i/9zjkfMlO//pnwLHyPcupzrL9AtxrFgTaN/dfGFcjreb+B9wmnzaKpz8p dKsBFjzeRQAAAABJRU5ErkJggg== X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 15 May 2008 10:19:54 -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:97206 gmane.emacs.pretest.bugs:22336 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> Kenichi Handa writes: Kenichi> In article <20080514161346.B512C132CCF@chateau.d.lf>, writes: >> 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)) Kenichi> I've just installed a fix. I've got following error, while compiling recently checked out HEAD. abbe [src] chateau $ make x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/= var/tmp/portage/app-editors/emacs-cvs-23.0.9999/work/emacs/src -D_BSD_SOURC= E -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.= 0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/= usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12= -I/usr/include/freetype2 -I/usr/include/alsa -pthread -DORBIT2=3D1 -I/usr/= include/librsvg-2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/i= nclude -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include= /gtk-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbu= s-1.0 -I/usr/lib64/dbus-1.0/include -O2 -pipe -mtune=3Dnocona -march=3Dnoco= na -ggdb -I/usr/include/freetype2 xterm.c In file included from xterm.c:77: emacs-icon.h:23: error: expected '=3D', ',', ';', 'asm' or '__attribute__' = before ':' token xterm.c: In function 'x_bitmap_icon': xterm.c:7489: error: 'gnu_xpm_bits' undeclared (first use in this function) xterm.c:7489: error: (Each undeclared identifier is reported only once xterm.c:7489: error: for each function it appears in.) make: *** [xterm.o] Error 1 Following is the diff to fix the error: =2D-- /usr/portage/distfiles/cvs-src/emacs/src/emacs-icon.h 2008-05-1= 5 12:08:22.000000000 +0530 +++ emacs-icon.h 2008-05-15 12:24:38.000000000 +0530 @@ -19,7 +19,7 @@ =20 You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . */ =2D +/* Commentary: =20 */ HTH =2D-=20 Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4= =95=E0=A5=8D=E0=A4=B2 http://wahjava.wordpress.com/ =C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2= =B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-= =C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- -- --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkgr4MQACgkQHy+EEHYuXnQKewCfSyj3wSZENb3g5zVECTZls5S1 oFkAoIjWlc6oIdOdjYc4J2R2JpuUIejT =zujV -----END PGP SIGNATURE----- --=-=-=--