From unknown Tue Jun 24 13:57:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6127: 24.0.50; crash because of missing font for menus Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2010 21:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6127@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.127318061427857 (code B ref -1); Thu, 06 May 2010 21:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 May 2010 21:16:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA8RB-0007FG-Je for submit@debbugs.gnu.org; Thu, 06 May 2010 17:16:53 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA8R9-0007FB-Ii for submit@debbugs.gnu.org; Thu, 06 May 2010 17:16:52 -0400 Received: from lists.gnu.org ([199.232.76.165]:39445) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OA8R5-0000ST-Ag for submit@debbugs.gnu.org; Thu, 06 May 2010 17:16:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA8R4-0006Cy-GI for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 17:16:46 -0400 Received: from [140.186.70.92] (port=60924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA8R3-0006Bz-6L for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 17:16:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA8Qw-000370-P5 for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 17:16:44 -0400 Received: from mout1.freenet.de ([195.4.92.91]:55256) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA8Qw-00036e-Ft for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 17:16:38 -0400 Received: from [195.4.92.16] (helo=6.mx.freenet.de) by mout1.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1OA8Qu-0004Ln-7B for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 23:16:36 +0200 Received: from p5b23e61c.dip.t-dialin.net ([91.35.230.28]:53932 helo=[192.168.1.2]) by 6.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1OA8Qt-0001R0-Im for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 23:16:36 +0200 Message-Id: From: Peter Dyballa Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Thu, 6 May 2010 23:16:33 +0200 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.9 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Hello! Trying to debug a failure in font handling by the X server =96 XQuartz =20= 2.5.1 (xorg-server 1.8.0.902) =96 I removed some elements from Font =20 Path. When I now open a menu either from menu-bar or by making it pop =20= up, GNU Emacs reports: Warning: Cannot convert string "-*-frutiger = linotype-bold-r-normal-=20 *-10-*-*-*-*-*-iso10646-1" to type FontStruct It comes from the X resource Emacs*menu*font: -*-frutiger = linotype-bold-r-normal-*-10-*-*-*-*-*-=20 iso10646-1 When the menus just open no crash happens. It also does not happen =20 when I select an item from a menu I open from the menu-bar, as in this =20= case, when I invoked the function to report a bug from the Help menu. =20= The crash happens when I select a menu entry from a pop-up menu or =20 close the pop-up menu after I have entered the next menu level. So it =20= works to change text font size, but buffer selection or selection of =20 another font or fontset from the next menu level lead to the crash, =20 and just closing that menu unused as well. GNU Emacs 23.1.93 complains the same way about the font, but it never =20= crashes. BTW, the X resource setting does not seem to work well: some other =20 font is used, one, which is *always* available. I also remember that =20 some update (bzr pull -v) mentioned a message that due to some changes =20= in text handling of Xaw based menus (to display UTF-8 encoded text =20 correctly) some X resources were changed. Where are these names =20 recorded or documented? In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d =20 scroll bars) of 2010-05-06 on Latsche.local Windowing system distributor `The X.Org Foundation', version =20 11.0.10800902 configured using `configure '--without-sound' '--without-dbus' '--=20 without-pop' '--without-gconf' '--with-x-toolkit=3Dathena' '--x-=20 libraries=3D/usr/X11/lib' '--x-includes=3D/usr/X11/include' '--enable-=20= locallisppath=3D/Library/Application Support/Emacs/calendar24:/Library/=20= Application Support/Emacs' 'CFLAGS=3D-g -H -Wno-pointer-sign -pipe -fPIC = =20 -fno-common -mcpu=3D7450 -mtune=3D7450 -faltivec -fast' 'CPPFLAGS=3D' =20= 'LDFLAGS=3D' 'CC=3Dgcc-4.2' 'CPP=3Dcpp-4.2' = 'PKG_CONFIG_PATH=3D/sw/lib/pango-=20 ft219/lib/pkgconfig:/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/lib/=20= pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pkgconfig:/sw/=20 share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/=20 share/pkgconfig'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: TeX-PDF-mode: t auto-revert-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t display-time-mode: t desktop-save-mode: t delete-selection-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 blink-cursor-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: y -- Mit friedvollen Gr=FC=DFen Pete It isn't pollution that's harming the environment. It's the impurities =20= in our air and water that are doing it. From unknown Tue Jun 24 13:57:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6127: 24.0.50; crash because of missing font for menus Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 May 2010 07:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Peter Dyballa Cc: 6127@debbugs.gnu.org Received: via spool by 6127-submit@debbugs.gnu.org id=B6127.127321567112924 (code B ref 6127); Fri, 07 May 2010 07:02:01 +0000 Received: (at 6127) by debbugs.gnu.org; 7 May 2010 07:01:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAHYd-0003MP-Aw for submit@debbugs.gnu.org; Fri, 07 May 2010 03:01:11 -0400 Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAHYb-0003MJ-5i for 6127@debbugs.gnu.org; Fri, 07 May 2010 03:01:10 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 4E5D7E442 for <6127@debbugs.gnu.org>; Fri, 7 May 2010 09:01:05 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjU9AE5X40tV4S1uPGdsb2JhbACHaZYjDAEBAQE1LbschRUE X-IronPort-AV: E=Sophos;i="4.52,347,1270418400"; d="scan'208";a="71724339" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 07 May 2010 09:01:05 +0200 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 1D45A7FA05A; Fri, 7 May 2010 09:01:04 +0200 (CEST) Message-ID: <4BE3BAAF.5010005@swipnet.se> Date: Fri, 07 May 2010 09:01:03 +0200 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) 2010-05-06 23:16, Peter Dyballa skrev: > Hello! > > Trying to debug a failure in font handling by the X server =96 XQuartz > 2.5.1 (xorg-server 1.8.0.902) =96 I removed some elements from Font Pat= h. > When I now open a menu either from menu-bar or by making it pop up, GNU > Emacs reports: > > Warning: Cannot convert string "-*-frutiger > linotype-bold-r-normal-*-10-*-*-*-*-*-iso10646-1" to type FontStruct > > It comes from the X resource > > Emacs*menu*font: -*-frutiger > linotype-bold-r-normal-*-10-*-*-*-*-*-iso10646-1 > > When the menus just open no crash happens. It also does not happen when > I select an item from a menu I open from the menu-bar, as in this case, > when I invoked the function to report a bug from the Help menu. The > crash happens when I select a menu entry from a pop-up menu or close th= e > pop-up menu after I have entered the next menu level. So it works to > change text font size, but buffer selection or selection of another fon= t > or fontset from the next menu level lead to the crash, and just closing > that menu unused as well. I can't reproduce this. Does it work if you remove that X resource, or i= f you=20 put in a font that exists? You have to debug this. Beware, that while menus are open, the keyboard and mouse are probably=20 grabbed, so you should startt gdb outside the X environment. In general, that message comes from the X toolkit as it tries to find you= r=20 specified font but fails, long before any Emacs code is executed. I don'= t=20 know if we have a good strategy for handling bad configurations like this= . It=20 is after all an error to ask for a font that doesn't exist. > > GNU Emacs 23.1.93 complains the same way about the font, but it never > crashes. > > BTW, the X resource setting does not seem to work well: some other font > is used, one, which is *always* available. I also remember that some > update (bzr pull -v) mentioned a message that due to some changes in > text handling of Xaw based menus (to display UTF-8 encoded text > correctly) some X resources were changed. Where are these names recorde= d > or documented? > C-h i m emacs s faceName Jan D. From unknown Tue Jun 24 13:57:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6127: 24.0.50; crash because of missing font for menus Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 May 2010 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: 6127@debbugs.gnu.org Received: via spool by 6127-submit@debbugs.gnu.org id=B6127.12732673719615 (code B ref 6127); Fri, 07 May 2010 21:23:02 +0000 Received: (at 6127) by debbugs.gnu.org; 7 May 2010 21:22:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAV0U-0002V2-QS for submit@debbugs.gnu.org; Fri, 07 May 2010 17:22:50 -0400 Received: from mout6.freenet.de ([195.4.92.96]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAV0S-0002Ux-Qc for 6127@debbugs.gnu.org; Fri, 07 May 2010 17:22:49 -0400 Received: from [195.4.92.27] (helo=17.mx.freenet.de) by mout6.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1OAV0Q-0000HI-UJ; Fri, 07 May 2010 23:22:46 +0200 Received: from p5b23de0f.dip.t-dialin.net ([91.35.222.15]:54902 helo=[192.168.1.2]) by 17.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1OAV0P-0001Kx-PU; Fri, 07 May 2010 23:22:46 +0200 Message-Id: <3D0C342E-6E11-495B-B0D3-1389D01101A6@freenet.de> From: Peter Dyballa In-Reply-To: <4BE3BAAF.5010005@swipnet.se> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 7 May 2010 23:22:43 +0200 References: <4BE3BAAF.5010005@swipnet.se> X-Mailer: Apple Mail (2.936) X-Spam-Score: -1.7 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Am 07.05.2010 um 09:01 schrieb Jan Dj=E4rv: > > I can't reproduce this. Does it work if you remove that X resource, =20= > or if you put in a font that exists? Actually GNU Emacs always crashes! Also when the font is available =20 *and* when I remove that X resource. > You have to debug this. The LOG file to that crash event contains Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0000017 It could be caused from the default X11 installation from (this time: =20= almost) Apple (this problem comes up every few months, I think). So =20 there is also a third party involved, particularly then GNU Emacs =20 compiles and runs well with the X11 installation from MacPorts, which =20= is up-to-date with development at Xorg. (Could I'm still awake in two =20= hours...) Debugging with GDB/GUD could go on: I have also Emacs.app, the non-X11 =20= windowing client. -- Greetings Pete Isn't vi that text editor with two modes... one that beeps and one =20 that corrupts your file? =96 Dan Jacobson, on = comp.os.linux.advocacy From unknown Tue Jun 24 13:57:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6127: 24.0.50; crash because of missing font for menus Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 May 2010 23:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: 6127@debbugs.gnu.org Received: via spool by 6127-submit@debbugs.gnu.org id=B6127.127327353514376 (code B ref 6127); Fri, 07 May 2010 23:06:02 +0000 Received: (at 6127) by debbugs.gnu.org; 7 May 2010 23:05:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAWbv-0003jp-CF for submit@debbugs.gnu.org; Fri, 07 May 2010 19:05:35 -0400 Received: from mout0.freenet.de ([195.4.92.90]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAWbt-0003jk-I8 for 6127@debbugs.gnu.org; Fri, 07 May 2010 19:05:34 -0400 Received: from [195.4.92.20] (helo=10.mx.freenet.de) by mout0.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1OAWbr-0004Ed-4X; Sat, 08 May 2010 01:05:31 +0200 Received: from p5b23de0f.dip.t-dialin.net ([91.35.222.15]:55049 helo=[192.168.1.2]) by 10.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1OAWbq-0007jL-HZ; Sat, 08 May 2010 01:05:30 +0200 Message-Id: From: Peter Dyballa In-Reply-To: <4BE3BAAF.5010005@swipnet.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 8 May 2010 01:05:28 +0200 References: <4BE3BAAF.5010005@swipnet.se> X-Mailer: Apple Mail (2.936) X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Am 07.05.2010 um 09:01 schrieb Jan Dj=E4rv: > I can't reproduce this. Does it work if you remove that X resource, =20= > or if you put in a font that exists? The resource is deleted (the font is available), only Emacs.menu*borderColor: DeepSkyBlue Emacs.menu*borderWidth: 3 Emacs.menu*shadowThickness: 3 Emacs.menu.attributeBackground: lavender Emacs.menu.attributeForeground: DarkRed Emacs.pane.menubar.margin: 2 Emacs.pane.menubar.shadowThickness: 3 exist. GNU Emacs crashes every time, independent of GCC version or X11 =20= distribution or whether launched with -Q or not or as some other user. -- Greetings Pete =46rom error to error, one discovers the entire truth. - Sigmund Freud From unknown Tue Jun 24 13:57:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Peter Dyballa Subject: bug#6127: closed (Re: bug#6127: 24.0.50; crash because of missing font for menus) Message-ID: References: <4BE58485.7010803@swipnet.se> X-Gnu-PR-Message: they-closed 6127 X-Gnu-PR-Package: emacs Reply-To: 6127@debbugs.gnu.org Date: Sat, 08 May 2010 15:35:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1273332901-8743-1" This is a multi-part message in MIME format... ------------=_1273332901-8743-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #6127: 24.0.50; crash because of missing font for menus which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6127@debbugs.gnu.org. --=20 6127: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D6127 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1273332901-8743-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 6127-done) by debbugs.gnu.org; 8 May 2010 15:34:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAm31-0002Gk-Sg for submit@debbugs.gnu.org; Sat, 08 May 2010 11:34:36 -0400 Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAm2z-0002Gd-EK for 6127-done@debbugs.gnu.org; Sat, 08 May 2010 11:34:34 -0400 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 30706E8710 for <6127-done@debbugs.gnu.org>; Sat, 8 May 2010 17:34:32 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtIzANgg5UtV4S1uPGdsb2JhbACHapYuDAEBAQE1Lb4thRUE X-IronPort-AV: E=Sophos;i="4.52,352,1270418400"; d="scan'208";a="516253777" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb3.telenor.se with ESMTP; 08 May 2010 17:34:32 +0200 Received: from host-78-65-198-105.homerun.telia.com (host-78-65-198-105.homerun.telia.com [78.65.198.105]) by coolsville.localdomain (Postfix) with ESMTPSA id DF59F7FA05A; Sat, 8 May 2010 17:34:31 +0200 (CEST) Message-ID: <4BE58485.7010803@swipnet.se> Date: Sat, 08 May 2010 17:34:29 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Peter Dyballa Subject: Re: bug#6127: 24.0.50; crash because of missing font for menus References: <4BE3BAAF.5010005@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 6127-done Cc: 6127-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) Peter Dyballa skrev 2010-05-08 01.05: > > Am 07.05.2010 um 09:01 schrieb Jan Dj=E4rv: > >> I can't reproduce this. Does it work if you remove that X resource, or >> if you put in a font that exists? > > > The resource is deleted (the font is available), only > > Emacs.menu*borderColor: DeepSkyBlue > Emacs.menu*borderWidth: 3 > Emacs.menu*shadowThickness: 3 > Emacs.menu.attributeBackground: lavender > Emacs.menu.attributeForeground: DarkRed > Emacs.pane.menubar.margin: 2 > Emacs.pane.menubar.shadowThickness: 3 > > exist. GNU Emacs crashes every time, independent of GCC version or X11 > distribution or whether launched with -Q or not or as some other user. I found a bug, please test it. FWIW, I only get it with your resources a= nd=20 with an optimized Emacs build, and even then it only happens very seldom.= It=20 is a race condition of sorts. Jan D. ------------=_1273332901-8743-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 May 2010 21:16:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA8RB-0007FG-Je for submit@debbugs.gnu.org; Thu, 06 May 2010 17:16:53 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA8R9-0007FB-Ii for submit@debbugs.gnu.org; Thu, 06 May 2010 17:16:52 -0400 Received: from lists.gnu.org ([199.232.76.165]:39445) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OA8R5-0000ST-Ag for submit@debbugs.gnu.org; Thu, 06 May 2010 17:16:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA8R4-0006Cy-GI for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 17:16:46 -0400 Received: from [140.186.70.92] (port=60924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA8R3-0006Bz-6L for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 17:16:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA8Qw-000370-P5 for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 17:16:44 -0400 Received: from mout1.freenet.de ([195.4.92.91]:55256) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA8Qw-00036e-Ft for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 17:16:38 -0400 Received: from [195.4.92.16] (helo=6.mx.freenet.de) by mout1.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1OA8Qu-0004Ln-7B for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 23:16:36 +0200 Received: from p5b23e61c.dip.t-dialin.net ([91.35.230.28]:53932 helo=[192.168.1.2]) by 6.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1OA8Qt-0001R0-Im for bug-gnu-emacs@gnu.org; Thu, 06 May 2010 23:16:36 +0200 Message-Id: From: Peter Dyballa To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: 24.0.50; crash because of missing font for menus Date: Thu, 6 May 2010 23:16:33 +0200 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Hello! Trying to debug a failure in font handling by the X server =96 XQuartz =20= 2.5.1 (xorg-server 1.8.0.902) =96 I removed some elements from Font =20 Path. When I now open a menu either from menu-bar or by making it pop =20= up, GNU Emacs reports: Warning: Cannot convert string "-*-frutiger = linotype-bold-r-normal-=20 *-10-*-*-*-*-*-iso10646-1" to type FontStruct It comes from the X resource Emacs*menu*font: -*-frutiger = linotype-bold-r-normal-*-10-*-*-*-*-*-=20 iso10646-1 When the menus just open no crash happens. It also does not happen =20 when I select an item from a menu I open from the menu-bar, as in this =20= case, when I invoked the function to report a bug from the Help menu. =20= The crash happens when I select a menu entry from a pop-up menu or =20 close the pop-up menu after I have entered the next menu level. So it =20= works to change text font size, but buffer selection or selection of =20 another font or fontset from the next menu level lead to the crash, =20 and just closing that menu unused as well. GNU Emacs 23.1.93 complains the same way about the font, but it never =20= crashes. BTW, the X resource setting does not seem to work well: some other =20 font is used, one, which is *always* available. I also remember that =20 some update (bzr pull -v) mentioned a message that due to some changes =20= in text handling of Xaw based menus (to display UTF-8 encoded text =20 correctly) some X resources were changed. Where are these names =20 recorded or documented? In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d =20 scroll bars) of 2010-05-06 on Latsche.local Windowing system distributor `The X.Org Foundation', version =20 11.0.10800902 configured using `configure '--without-sound' '--without-dbus' '--=20 without-pop' '--without-gconf' '--with-x-toolkit=3Dathena' '--x-=20 libraries=3D/usr/X11/lib' '--x-includes=3D/usr/X11/include' '--enable-=20= locallisppath=3D/Library/Application Support/Emacs/calendar24:/Library/=20= Application Support/Emacs' 'CFLAGS=3D-g -H -Wno-pointer-sign -pipe -fPIC = =20 -fno-common -mcpu=3D7450 -mtune=3D7450 -faltivec -fast' 'CPPFLAGS=3D' =20= 'LDFLAGS=3D' 'CC=3Dgcc-4.2' 'CPP=3Dcpp-4.2' = 'PKG_CONFIG_PATH=3D/sw/lib/pango-=20 ft219/lib/pkgconfig:/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/lib/=20= pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pkgconfig:/sw/=20 share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/=20 share/pkgconfig'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: TeX-PDF-mode: t auto-revert-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t display-time-mode: t desktop-save-mode: t delete-selection-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 blink-cursor-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: y -- Mit friedvollen Gr=FC=DFen Pete It isn't pollution that's harming the environment. It's the impurities =20= in our air and water that are doing it. ------------=_1273332901-8743-1--