From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Clemente Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3090: 23.0.92.3; hang involving XftGlyphExtents after moving cursor Date: Thu, 23 Apr 2009 05:28:55 -0700 (PDT) Message-ID: <818634.60332.qm@web53201.mail.re2.yahoo.com> Reply-To: dcl441-bugs@yahoo.com, 3090@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240490657 15380 80.91.229.12 (23 Apr 2009 12:44:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2009 12:44:17 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 14:45:36 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LwyJ3-0005C6-RJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2009 14:45:34 +0200 Original-Received: from localhost ([127.0.0.1]:38894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwyHe-0000Oj-E8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2009 08:44:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwyHa-0000OT-Fh for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2009 08:44:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwyHU-0000NY-1t for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2009 08:44:00 -0400 Original-Received: from [199.232.76.173] (port=42271 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwyHT-0000NV-Ud for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2009 08:43:55 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55329) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwyHT-0007Qy-7j for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2009 08:43:55 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3NChraA011436; Thu, 23 Apr 2009 05:43:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3NCZ3rf009112; Thu, 23 Apr 2009 05:35:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Daniel Clemente Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 23 Apr 2009 12:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3090 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12404897477788 (code B ref -1); Thu, 23 Apr 2009 12:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 Apr 2009 12:29:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3NCT1lE007782 for ; Thu, 23 Apr 2009 05:29:02 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:44649 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lwy33-00054y-4X for emacs-pretest-bug@gnu.org; Thu, 23 Apr 2009 08:29:01 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lwy32-0004KA-1P for emacs-pretest-bug@gnu.org; Thu, 23 Apr 2009 08:29:01 -0400 Original-Received: from web53201.mail.re2.yahoo.com ([206.190.49.71]:47650) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Lwy31-0004Jc-Gg for emacs-pretest-bug@gnu.org; Thu, 23 Apr 2009 08:28:59 -0400 Original-Received: (qmail 60351 invoked by uid 60001); 23 Apr 2009 12:28:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1240489735; bh=1HB9wwK9ulFBemF1/NCLCr1SpP2zDkqKtkLE+NiA1fk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=0VATvsIAS1DpC7LDkQ4KUyaQviJu9BV6p5Ad8cTWypbAGodeZRWVwodNFtAAS6dNtr8u620EPyWI5lTpZFLsHPLpcb/yQQiTUF9dUR//35B6/N0LG7z9OB8qZSFrCsH4Yhp+zzonKUTc13413E9SEJ57PTEWW81cGrHq1osOk0o= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=x9sdCvE8Dx5qBBIE9D6ZJLuq4FLy5q+1rygZUTu0sSBpC0NjjjYp1gBPXr1zCBfnFEO5O+09U7W9QeRG3cflwrsoQn4+KQPAkW9qjhRIRwheK4GdaypRnvIH7rSLMVYHbFDJbOcOGPQZ9maacs8Q2wZDrfg3rnZ7Ti5WrxkgNh4=; X-YMail-OSG: a8rhu2kVM1kzJSClXkSPI9ZRsw9Lt.4.GOrn5aUcjOVsAxQznHz3hrl2L3fwmOx7OYIl9lRRAhcehITfsV_8mK_jBeH1Upst_s3i83M.Lv0yVDPytyswI6PWQerhFMUAeRpB0CGro3hwLOs7yHIep0LaA9ILcVnOz6hl2Oqb0IT2L1g1vpRYhro.HumCvHPpohUQ.CgJ2kJeaVH6JWxQ17unpw9XAyxw.9iEvN0V46nr7QSPBqhNCU0AdT92xMXs.Yd7Kk96vmYs.lakdSlUiyer Original-Received: from [62.97.110.250] by web53201.mail.re2.yahoo.com via HTTP; Thu, 23 Apr 2009 05:28:55 PDT X-Mailer: YahooMailWebService/0.7.289.1 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 23 Apr 2009 08:44:00 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27416 gmane.emacs.pretest.bugs:24322 Archived-At: This is a hang I had with the code from 20.m4.2009, which I could not repro= duce anymore. Please ignore it if this was already fixed or the code seems = correct. I could get this log of system calls: XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0x9eb3528, 32, 786432, 8) =3D 411 XftGlyphExtents(0x8709800, 0x9eb3528, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 memmove(0xbfb2deb8, 0xee001a0, 72, 0xbfb2df0c, 0xbfb2df10) =3D 0xbfb2deb8 memmove(0xbfb2dd18, 0x100af008, 72, 12, 0xbfb2dd18) =3D 0xbfb2dd18 mallopt(-4, 0, -1, 0x9e7e498, 0x9e7e498) =3D 1 malloc(60) =3D 0x110cf650 malloc(28) =3D 0x110cf690 mallopt(-4, 0x5f5e100, -1, 0x9e7e498, 0x9e7e498) =3D 1 __ctype_tolower_loc() =3D 0xb70f6b14 __ctype_tolower_loc() =3D 0xb70f6b14 __ctype_tolower_loc() =3D 0xb70f6b14 __ctype_tolower_loc() =3D 0xb70f6b14 XftCharIndex(0x8709800, 0xa18e968, 115, 0xe7a0a50, 62514) =3D 330 XftGlyphExtents(0x8709800, 0xa18e968, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0xa18e968, 101, 786432, 8) =3D 313 XftGlyphExtents(0x8709800, 0xa18e968, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 XftCharIndex(0x8709800, 0xa18e968, 109, 786432, 8) =3D 335 XftGlyphExtents(0x8709800, 0xa18e968, 0xbfb2e05c, 1, 0xbfb2deb8) =3D 0 A backtrace: (gdb) bt #0 0xb755c9f0 in XftGlyphExtents (dpy=3D0x8709800, pub=3D0x9eb3528, glyphs= =3D0xbfb2c45c, nglyphs=3D1, extents=3D0xbfb2c2b8) at ../../src/xftextent.c:= 68 #1 0x082330c7 in xftfont_text_extents () #2 0x080924fd in x_produce_glyphs () #3 0x0807e49e in move_it_in_display_line_to () #4 0x0807fb3a in move_it_to () #5 0x0808739e in move_it_vertically_backward () #6 0x080adecb in Frecenter () #7 0x081cdc1b in Feval () #8 0x081cdebf in Fprogn () #9 0x081c737e in Fsave_excursion () #10 0x081cdccb in Feval () #11 0x081cdebf in Fprogn () #12 0x081cdccb in Feval () #13 0x081cdccb in Feval () #14 0x081cda80 in Feval () #15 0x081cdebf in Fprogn () #16 0x081c719b in Fsave_restriction () #17 0x081cdccb in Feval () #18 0x081cdebf in Fprogn () #19 0x081cdccb in Feval () #20 0x081ce0a5 in Funwind_protect () #21 0x081cdccb in Feval () #22 0x081cdebf in Fprogn () #23 0x081c00e6 in Fsave_current_buffer () #24 0x081cdccb in Feval () #25 0x081cee1f in Flet () #26 0x081cdccb in Feval () #27 0x081cda80 in Feval () #28 0x081cee1f in Flet () #29 0x081cdccb in Feval () #30 0x081cdccb in Feval () #31 0x081cdebf in Fprogn () #32 0x081cc0e5 in funcall_lambda () #33 0x081cc294 in Ffuncall () #34 0x081ccbb1 in run_hook_with_args () #35 0x081cce07 in run_hook_with_args_2 () #36 0x08088842 in try_scrolling () #37 0x0809676e in redisplay_window () #38 0x080976d3 in redisplay_window_0 () #39 0x081caca6 in internal_condition_case_1 () #40 0x080751f8 in redisplay_windows () #41 0x0808da75 in redisplay_internal () #42 0x0808e6f2 in redisplay_preserve_echo_area () #43 0x08057759 in sit_for () #44 0x0815b8e8 in command_loop_1 () #45 0x081caee0 in internal_condition_case () #46 0x0814fd95 in command_loop_2 () #47 0x081cafba in internal_catch () #48 0x081524b1 in recursive_edit_1 () #49 0x081820c5 in read_minibuf () Another time I noticed the hang, the backtrace was: (gdb) bt #0 0xb755c7c1 in XftGlyphExtents (dpy=3D0x8709800, pub=3D0xa18e968, glyphs= =3D0xbfb2e05c, nglyphs=3D1, extents=3D0xbfb2deb8) at ../../src/xftextent.c:= 32 #1 0x082330c7 in xftfont_text_extents () #2 0x080924fd in x_produce_glyphs () #3 0x0807e49e in move_it_in_display_line_to () #4 0x0807fd30 in move_it_to () #5 0x08088ab0 in try_scrolling () #6 0x0809676e in redisplay_window () #7 0x080976d3 in redisplay_window_0 () #8 0x081caca6 in internal_condition_case_1 () #9 0x080751f8 in redisplay_windows () #10 0x0808da75 in redisplay_internal () #11 0x0808e6f2 in redisplay_preserve_echo_area () #12 0x08057759 in sit_for () #13 0x0815b8e8 in command_loop_1 () #14 0x081caee0 in internal_condition_case () #15 0x0814fd95 in command_loop_2 () #16 0x081cafba in internal_catch () #17 0x081524b1 in recursive_edit_1 () #18 0x081820c5 in read_minibuf () #19 0x081cdb52 in Feval () GNU Emacs 23.0.92.3 (i686-pc-linux-gnu, GTK+ Version 2.16.0) of 2009-04-20 = on CPU107 ii libxft-dev 2.1.13-3ubuntu1 = FreeType-based font drawing library for X (d ii libxft2 2.1.13-3ubuntu1 = FreeType-based font drawing library for X ii libxft2-dbg 2.1.13-3ubuntu1 = FreeType-based font drawing library for X (u =0A=0A=0A