From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#571: marked as done (23.0.60; Solaris 5.8 version hangs (X resources for faces)) Date: Thu, 21 Aug 2008 07:05:07 -0700 Message-ID: References: <877iaampx6.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1219327507-11635-0" X-Trace: ger.gmane.org 1219327782 1070 80.91.229.12 (21 Aug 2008 14:09:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 14:09:42 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 21 16:10:33 2008 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 1KWAq1-0005Fp-97 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 16:08:33 +0200 Original-Received: from localhost ([127.0.0.1]:60190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWAp3-00017M-HY for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 10:07:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWAp0-00015n-V8 for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 10:07:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWAp0-000155-3u for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 10:07:30 -0400 Original-Received: from [199.232.76.173] (port=32851 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWAoz-00014t-Vh for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 10:07:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34580) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWAoz-0007VZ-57 for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 10:07:29 -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 m7LE7R3I013350; Thu, 21 Aug 2008 07:07:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7LE57vL012231; Thu, 21 Aug 2008 07:05:07 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 571 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:19600 Archived-At: This is a multi-part message in MIME format... ------------=_1219327507-11635-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 21 Aug 2008 09:57:25 -0400 with message-id <877iaampx6.fsf@cyd.mit.edu> and subject line Re: 23.0.60; Solaris 5.8 version hangs (X resources for fa= ces) has caused the Emacs bug report #571, regarding 23.0.60; Solaris 5.8 version hangs (X resources for faces) to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 571: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D571 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1219327507-11635-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jul 2008 11:27:36 +0000 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 m6IBRVr1009557 for ; Fri, 18 Jul 2008 04:27:33 -0700 Received: from mx10.gnu.org ([199.232.76.166]:53316) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KJo6v-0005LO-9i for emacs-pretest-bug@gnu.org; Fri, 18 Jul 2008 07:26:53 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KJo7P-0002AA-T0 for emacs-pretest-bug@gnu.org; Fri, 18 Jul 2008 07:27:29 -0400 Received: from ihemail3.lucent.com ([135.245.0.37]:64313) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJo7O-00027L-T8 for emacs-pretest-bug@gnu.org; Fri, 18 Jul 2008 07:27:23 -0400 Received: from ihrh1.emsr.lucent.com (h135-1-218-53.lucent.com [135.1.218.53]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id m6IBR8dU027112 for ; Fri, 18 Jul 2008 06:27:13 -0500 (CDT) Received: from nbgif1.de.lucent.com (nbgif1.de.lucent.com [135.246.31.82]) by ihrh1.emsr.lucent.com (8.13.8/emsr) with ESMTP id m6IBR6aQ017194 for ; Fri, 18 Jul 2008 06:27:07 -0500 (CDT) Received: from sfsws1.de.lucent.com (sfsws1.de.lucent.com [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p3+Sun/8.11.7) with ESMTP id m6IBR6k01361 for ; Fri, 18 Jul 2008 13:27:06 +0200 (MEST) Received: from sfsw51.de.lucent.com (sfsw51.de.lucent.com [135.246.72.99]) by sfsws1.de.lucent.com (8.13.8/8.12.10) with ESMTP id m6IBR5LE028362 for ; Fri, 18 Jul 2008 13:27:06 +0200 (MEST) Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id m6IBR5d23606; Fri, 18 Jul 2008 13:27:05 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@alcatel-lucent.com using -f From: Klaus Zeitler To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Solaris 5.8 version hangs (X resources for faces) Sender: kzeitler@de.lucent.com Reply-To: kzeitler@alcatel-lucent.com X-Uboat-Death-Message: ATTACKED BY DESTROYER. CAPTAIN INTOXICATED. SINKING. U-802. Date: Fri, 18 Jul 2008 13:27:05 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37 X-detected-kernel: by monty-python.gnu.org: Solaris 9 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The following 3 lines in function face-set-after-frame-default in faces.el cause emacs to hang at startup (before the initial frame pops up). ;; X resouces for the default face are applied during ;; x-create-frame. (and (not (eq face 'default)) (memq (window-system frame) '(x w32 mac)) (make-face-x-resource-internal face frame)) When I evaluate the function below in scratch buffer with (face-set-after-frame-default-tst (selected-frame)) I get: Wrong type argument: font, unspecified (defun face-set-after-frame-default-tst (frame &optional parameters) "Initialize the frame-local faces of FRAME. Calculate the face definitions using the face specs, custom theme settings, X resources, and `face-new-frame-defaults'. Finally, apply any relevant face attributes found amongst the frame parameters in PARAMETERS and `default-frame-alist'." (dolist (face (nreverse (face-list))) (condition-case () (progn ;; Initialize faces from face spec and custom theme. (face-spec-recalc face frame) ;; X resouces for the default face are applied during ;; x-create-frame. (and (not (eq face 'default)) (memq (window-system frame) '(x w32 mac)) (make-face-x-resource-internal face frame)) ;; Apply attributes specified by face-new-frame-defaults (internal-merge-in-global-face face frame)) ;; Don't let invalid specs prevent frame creation. (error nil)))) It's the face 'menu' that causes the error. As a workaround I've now added a font spec for the menu face to my Xresources file and the error is gone, e.g. Emacs.menu.attributeFont: -b&h-lucidatypewriter-medium-r-normal-sans-17-*-*-*-*-*-iso8859-1 In GNU Emacs 23.0.60.1 (sparc-sun-solaris2.8, Motif Version 2.1.0) of 2008-07-17 on sfsws4 Windowing system distributor `Sun Microsystems, Inc.', version 11.0.6410 configured using `configure '--prefix=/vol/freeware/SunOS-5.8/emacs/cvs' '--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share' '--with-x-toolkit=motif' '--x-includes=/usr/openwin/include:/usr/local/gnu/include:/opt/exp/gnu/include:/opt/exp/include:/opt/exp/lib/xpm/include' '--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib:/opt/exp/gnu/lib:/opt/exp/lib:/opt/exp/lib/xpm/lib' '--with-pop' 'CC=gcc' 'XMKMF=/usr/openwin/bin/xmkmf'' 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: Lisp Interaction Minor modes in effect: desktop-save-mode: t url-handler-mode: t global-hi-lock-mode: t hi-lock-mode: t auto-image-file-mode: t recentf-mode: t global-auto-revert-mode: t display-time-mode: t which-function-mode: t msb-mode: t minibuffer-electric-default-mode: t savehist-mode: t minibuffer-indicate-depth-mode: t partial-completion-mode: t cua-mode: t tooltip-mode: t tool-bar-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 global-auto-composition-mode: t auto-composition-mode: t unify-8859-on-decoding-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f . l o g t SPC 4 C-x C-s C-x k n SPC SPC q SPC SPC SPC SPC q SPC c SPC SPC e q SPC SPC SPC SPC SPC SPC C-g q SPC SPC q q C-g n 2 0 0 0 Recent messages: Reading active file from archive via nnfolder...done Checking new news...done going to start of *Carpal Group* Retrieving newsgroup: nnml:emacs... going to start of *Carpal Summary* Fetching headers for nnml:emacs...done Scoring...done Scoring...done Generating summary...done No more unread articles -- -------------------------------------------------- | Klaus Zeitler Alcatel-Lucent | | Email: kzeitler@alcatel-lucent.com | -------------------------------------------------- --- One nice thing about egotists: they don't talk about other people. ------------=_1219327507-11635-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 571-done) by emacsbugs.donarmstrong.com; 21 Aug 2008 13:56:18 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7LDu8a8009418 for <571-done@emacsbugs.donarmstrong.com>; Thu, 21 Aug 2008 06:56:09 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6284A57E2B5; Thu, 21 Aug 2008 09:57:25 -0400 (EDT) To: kzeitler@alcatel-lucent.com Cc: Glenn Morris , 571-done@emacsbugs.donarmstrong.com Subject: Re: 23.0.60; Solaris 5.8 version hangs (X resources for faces) References: <87myjf2yw4.fsf@stupidchicken.com> <871w0klksj.fsf@cyd.mit.edu> From: Chong Yidong Date: Thu, 21 Aug 2008 09:57:25 -0400 In-Reply-To: (Klaus Zeitler's message of "Thu\, 21 Aug 2008 14\:09\:24 +0200") Message-ID: <877iaampx6.fsf@cyd.mit.edu> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Klaus Zeitler writes: >>>>>> "Chong" == Chong Yidong writes: > Chong> > Chong> I can't figure out why you get the error you do... but does the > Chong> following patch at least prevent the crash? > > Even better, with your patch emacs starts up without any problems > (though it might hide a potential bug). > > My guess is there's a problem with the font specification. I don't understand it either. Since no one else has been able to reproduce this problem, I guess it's better to install the workaround. ------------=_1219327507-11635-0--