From kzeitler@alcatel-lucent.com Fri Jul 18 04:27:36 2008 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. From cyd@stupidchicken.com Thu Aug 14 12:12:56 2008 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.4 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 571) by emacsbugs.donarmstrong.com; 14 Aug 2008 19:12:57 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7EJCocj014715 for <571@emacsbugs.donarmstrong.com>; Thu, 14 Aug 2008 12:12:52 -0700 Received: by cyd (Postfix, from userid 1000) id B29BB57E323; Thu, 14 Aug 2008 15:13:31 -0400 (EDT) From: Chong Yidong To: Glenn Morris , Klaus Zeitler Cc: 571@debbugs.gnu.org Subject: Re: 23.0.60; Solaris 5.8 version hangs (X resources for faces) Date: Thu, 14 Aug 2008 15:13:31 -0400 Message-ID: <87myjf2yw4.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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 > > In GNU Emacs 23.0.60.1 (sparc-sun-solaris2.8, Motif Version 2.1.0) > of 2008-07-17 on sfsws4 I can't reproduce this on (sparc-sun-solaris2.10, X toolkit) or (sparc-sun-solaris2.10, Motif Version 2.1.0). Could this be a sparc-sun-solaris2.8 bug? I don't have access to such a machine for building Emacs. Glenn, do you? Klaus, one thing to diagnose this problem is to run Emacs under gdb, set a breakpoint at `error', and get a backtrace. Could you do that, and see where in the code this error arises? From rgm@gnu.org Thu Aug 14 18:51:05 2008 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=-10.0 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 571) by emacsbugs.donarmstrong.com; 15 Aug 2008 01:51:05 +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 m7F1p297009272 for <571@emacsbugs.donarmstrong.com>; Thu, 14 Aug 2008 18:51:04 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KToRo-00073W-DE; Thu, 14 Aug 2008 21:49:48 -0400 From: Glenn Morris To: Chong Yidong Cc: Klaus Zeitler , 571@debbugs.gnu.org Subject: Re: 23.0.60; Solaris 5.8 version hangs (X resources for faces) References: <87myjf2yw4.fsf@stupidchicken.com> X-Spook: Montenegro csystems InfoSec Abu Ghraib chameleon man IRA X-Ran: gsLi|M`>gt`MgvE9-xK5kzqCcYIaj)?=O$xEz2XHma)Hz$rfW?$8%k~x7$}3|5X4fa7hCv X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 14 Aug 2008 21:49:48 -0400 In-Reply-To: <87myjf2yw4.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 14 Aug 2008 15:13:31 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Chong Yidong wrote: > Could this be a sparc-sun-solaris2.8 bug? I don't have access to such a > machine for building Emacs. Glenn, do you? Can't reproduce any problem with "sparc-sun-solaris2.8, Motif Version 2.1.0", with or without an Xdefaults file. From kzeitler@alcatel-lucent.com Fri Aug 15 05:48:33 2008 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=-5.5 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 571) by emacsbugs.donarmstrong.com; 15 Aug 2008 12:48:33 +0000 Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7FCmUNT018864 for <571@emacsbugs.donarmstrong.com>; Fri, 15 Aug 2008 05:48:31 -0700 Received: from ihrh1.emsr.lucent.com (h135-1-218-53.lucent.com [135.1.218.53]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id m7FCmPAk029088; Fri, 15 Aug 2008 07:48:26 -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 m7FCmMVp012256; Fri, 15 Aug 2008 07:48:23 -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 m7FCmLs17231; Fri, 15 Aug 2008 14:48:21 +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 m7FCmKsl009209; Fri, 15 Aug 2008 14:48:20 +0200 (MEST) Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id m7FCmKx00358; Fri, 15 Aug 2008 14:48:20 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@alcatel-lucent.com using -f Sender: kzeitler@de.lucent.com To: Chong Yidong Cc: Glenn Morris , 571@debbugs.gnu.org Subject: Re: 23.0.60; Solaris 5.8 version hangs (X resources for faces) Reply-To: kzeitler@alcatel-lucent.com References: <87myjf2yw4.fsf@stupidchicken.com> From: Klaus Zeitler X-Shopping-List: (1) Transient sofas (2) Meticulous obsessions (3) Methodical ecstasy rice (4) Reminiscent apparitions (5) Maoist Pronunciation faceers Date: Fri, 15 Aug 2008 14:48:20 +0200 In-Reply-To: <87myjf2yw4.fsf@stupidchicken.com> (Chong Yidong's message of "Thu\, 14 Aug 2008 15\:13\:31 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39 >>>>> "Chong" =3D=3D Chong Yidong writes: Chong>=20 Chong> Klaus, one thing to diagnose this problem is to run Emacs under Chong> gdb, set a breakpoint at `error', and get a backtrace. Could you Chong> do that, and see where in the code this error arises? I'll try to find some time next week. Klaus --=20 -------------------------------------------------- | Klaus Zeitler Alcatel-Lucent | | Email: kzeitler@alcatel-lucent.com | -------------------------------------------------- --- "I don't think so," said Ren=E9 Descartes. Just then, he vanished From kzeitler@alcatel-lucent.com Tue Aug 19 01:12:35 2008 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.9 required=4.0 tests=AWL,BAYES_00,FOURLA, FVGT_m_MULTI_ODD,IMPRONONCABLE_2,PHONENUMBER autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 571) by emacsbugs.donarmstrong.com; 19 Aug 2008 08:12:36 +0000 Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7J8CVZS024211 for <571@emacsbugs.donarmstrong.com>; Tue, 19 Aug 2008 01:12:32 -0700 Received: from ihrh1.emsr.lucent.com (h135-1-218-53.lucent.com [135.1.218.53]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id m7J8BX62006814; Tue, 19 Aug 2008 03:11:47 -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 m7J8BS3e006313; Tue, 19 Aug 2008 03:11:30 -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 m7J8BSs12787; Tue, 19 Aug 2008 10:11:28 +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 m7J8BQRA025184; Tue, 19 Aug 2008 10:11:26 +0200 (MEST) Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id m7J8BQj10758; Tue, 19 Aug 2008 10:11:26 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@alcatel-lucent.com using -f Sender: kzeitler@de.lucent.com To: Chong Yidong Cc: Glenn Morris , 571@debbugs.gnu.org Subject: Re: 23.0.60; Solaris 5.8 version hangs (X resources for faces) Reply-To: kzeitler@alcatel-lucent.com References: <87myjf2yw4.fsf@stupidchicken.com> From: Klaus Zeitler X-Horoscope: Listen to your chicken this month. Tomorrow fortune (good or bad) would be a good thing to try. Someone you know will eventually reveal itself to be your owner. You'll later be confused. Date: Tue, 19 Aug 2008 10:11:25 +0200 In-Reply-To: <87myjf2yw4.fsf@stupidchicken.com> (Chong Yidong's message of "Thu\, 14 Aug 2008 15\:13\:31 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39 >>>>> "Chong" == Chong Yidong writes: Chong> Chong> Klaus, one thing to diagnose this problem is to run Emacs under Chong> gdb, set a breakpoint at `error', and get a backtrace. Could you Chong> do that, and see where in the code this error arises? Breakpoint 3, error ( m=0x1cf388 "Attempt to delete the sole visible or iconified frame", a1=0xca7d9d "\312}\245", a2=0x36a400 "", a3=0x36e400 '\377' ...) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:2024 (gdb) bt #0 error ( m=0x1cf388 "Attempt to delete the sole visible or iconified frame", a1=0xca7d9d "\312}\245", a2=0x36a400 "", a3=0x36e400 '\377' ...) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:2024 #1 0x00056988 in Fdelete_frame (frame=4134404, force=3688449) at /vol/freeware/cvs/emacs/head/emacs/src/frame.c:1393 #2 0x00167a9c in Ffuncall (nargs=1, args=0x391a29) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3045 #3 0x0019b7e4 in Fbyte_code (bytestr=3742249, vector=2327176, maxdepth=16) at /vol/freeware/cvs/emacs/head/emacs/src/bytecode.c:678 #4 0x00166f14 in Feval (form=3) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:2379 #5 0x0016415c in Fprogn (args=2327125) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:449 #6 0x001685d0 in unbind_to (count=32, value=3688449) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3397 #7 0x00165638 in unwind_to_catch (catch=0xffbee310, value=3607552) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:1292 #8 0x00165ff0 in Fsignal (error_symbol=3752201, data=13270429) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:1725 #9 0x0016603c in xsignal (error_symbol=3752201, data=13270429) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:1750 #10 0x00166098 in xsignal2 (error_symbol=3752201, arg1=3752201, arg2=13270429) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:1774 #11 0x00152854 in wrong_type_argument (predicate=3916969, value=3724841) at /vol/freeware/cvs/emacs/head/emacs/src/data.c:111 #12 0x0017b190 in Ffont_xlfd_name (font=3724841, fold_wildcards=3688449) at /vol/freeware/cvs/emacs/head/emacs/src/font.c:4115 #13 0x000c8bf4 in x_update_menu_appearance (f=0x3f1600) at /vol/freeware/cvs/emacs/head/emacs/src/xfaces.c:3743 #14 0x000cba24 in realize_basic_faces (f=0x3f1600) at /vol/freeware/cvs/emacs/head/emacs/src/xfaces.c:5553 #15 0x000c4b98 in recompute_basic_faces (f=0x3f1600) at /vol/freeware/cvs/emacs/head/emacs/src/xfaces.c:916 #16 0x00060704 in init_iterator (it=0xffbed038, w=0x3f1a00, charpos=1, bytepos=1, row=0x0, base_face_id=DEFAULT_FACE_ID) at /vol/freeware/cvs/emacs/head/emacs/src/xdisp.c:2597 #17 0x00069aac in resize_mini_window (w=0x3f1a00, exact_p=1) at /vol/freeware/cvs/emacs/head/emacs/src/xdisp.c:8729 #18 0x000554b0 in do_switch_frame (frame=3828228, track=1, for_deletion=0) at /vol/freeware/cvs/emacs/head/emacs/src/frame.c:868 #19 0x00167a80 in Ffuncall (nargs=1, args=0x3c0c01) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3042 #20 0x0019b7e4 in Fbyte_code (bytestr=3935233, vector=2799072, maxdepth=16) at /vol/freeware/cvs/emacs/head/emacs/src/bytecode.c:678 #21 0x00166f14 in Feval (form=3) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:2379 #22 0x0016415c in Fprogn (args=2799021) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:449 #23 0x001685d0 in unbind_to (count=272, value=3688449) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3397 #24 0x0019b854 in Fbyte_code (bytestr=3688449, vector=2798800, maxdepth=48) at /vol/freeware/cvs/emacs/head/emacs/src/bytecode.c:700 #25 0x00167e7c in funcall_lambda (fun=2798740, nargs=1, arg_vector=0xffbed9b4) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3229 #26 0x00167968 in Ffuncall (nargs=1, args=0xc5e079) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3099 #27 0x0019b7e4 in Fbyte_code (bytestr=12968057, vector=2326936, maxdepth=40) at /vol/freeware/cvs/emacs/head/emacs/src/bytecode.c:678 #28 0x00167e7c in funcall_lambda (fun=2326868, nargs=1, arg_vector=0xffbedb5c) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3229 #29 0x00167968 in Ffuncall (nargs=1, args=0xc5e019) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3099 #30 0x0019b7e4 in Fbyte_code (bytestr=12967961, vector=2609104, maxdepth=48) at /vol/freeware/cvs/emacs/head/emacs/src/bytecode.c:678 #31 0x00167e7c in funcall_lambda (fun=2609036, nargs=1, arg_vector=0xffbedd04) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3229 #32 0x00167968 in Ffuncall (nargs=1, args=0xcd1139) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3099 #33 0x0019b7e4 in Fbyte_code (bytestr=13439289, vector=2606088, maxdepth=48) at /vol/freeware/cvs/emacs/head/emacs/src/bytecode.c:678 #34 0x00167e7c in funcall_lambda (fun=2606036, nargs=0, arg_vector=0xffbedeac) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3229 #35 0x00167968 in Ffuncall (nargs=0, args=0xc88431) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3099 #36 0x0019b7e4 in Fbyte_code (bytestr=13141041, vector=2363072, maxdepth=56) at /vol/freeware/cvs/emacs/head/emacs/src/bytecode.c:678 #37 0x00167e7c in funcall_lambda (fun=2363028, nargs=0, arg_vector=0xffbee05c) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3229 #38 0x00167968 in Ffuncall (nargs=0, args=0xc7f509) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3099 #39 0x0019b7e4 in Fbyte_code (bytestr=13104393, vector=2359808, maxdepth=48) at /vol/freeware/cvs/emacs/head/emacs/src/bytecode.c:678 #40 0x00167e7c in funcall_lambda (fun=2359764, nargs=0, arg_vector=0xffbee170) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3229 #41 0x00167d2c in apply_lambda (fun=2359764, args=3688449, eval_flag=3630080) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:3153 #42 0x00166d38 in Feval (form=4350317) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:2433 #43 0x00165ad0 in internal_condition_case (bfun=0xfbe9c , handlers=3752153, hfun=0xfbb0c ) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:1511 #44 0x000fbeec in top_level_1 () at /vol/freeware/cvs/emacs/head/emacs/src/keyboard.c:1355 #45 0x00165584 in internal_catch (tag=3748225, func=0xfbeb4 , arg=3688449) at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:1247 #46 0x000fbe00 in command_loop () at /vol/freeware/cvs/emacs/head/emacs/src/keyboard.c:1310 #47 0x000fb6e4 in recursive_edit_1 () at /vol/freeware/cvs/emacs/head/emacs/src/keyboard.c:942 #48 0x000fb868 in Frecursive_edit () at /vol/freeware/cvs/emacs/head/emacs/src/keyboard.c:1004 #49 0x000fa5e0 in main (argc=0, argv=0xffbee77c) at /vol/freeware/cvs/emacs/head/emacs/src/emacs.c:1689 Lisp Backtrace: "delete-frame" (0xffbec624) "byte-code" (0xffbec6c8) "select-frame" (0xffbed56c) "byte-code" (0xffbed610) "tool-bar-setup" (0xffbed9b4) "x-create-frame-with-faces" (0xffbedb5c) "make-frame" (0xffbedd04) "frame-initialize" (0xffbedeac) "command-line" (0xffbee05c) "normal-top-level" (0xffbee170) So I think the problem is the CHECK_FONT in DEFUN ("font-xlfd-name", Ffont_xlfd_name, Sfont_xlfd_name, 1, 2, 0, doc: /* Return XLFD name of FONT. FONT is a font-spec, font-entity, or font-object. If the name is too long for XLFD (maximum 255 chars), return nil. If the 2nd optional arg FOLD-WILDCARDS is non-nil, the consecutive wildcards are folded to one. */) (font, fold_wildcards) Lisp_Object font, fold_wildcards; { char name[256]; int pixel_size = 0; CHECK_FONT (font); ... (gdb) up #12 0x0017b190 in Ffont_xlfd_name (font=3724841, fold_wildcards=3688449) at /vol/freeware/cvs/emacs/head/emacs/src/font.c:4115 (gdb) p font $7 = 3724841 (gdb) pr unspecified Maybe this already helps. If not I need a few hints how to proceed. font-xlfd-name seems to be a new function. Klaus -- -------------------------------------------------- | Klaus Zeitler Alcatel-Lucent | | Email: kzeitler@alcatel-lucent.com | -------------------------------------------------- --- What is mind? No matter. What is matter? Never mind. -- Thomas Hewitt Key, 1799-1875 From cyd@stupidchicken.com Tue Aug 19 15:07:55 2008 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) by emacsbugs.donarmstrong.com; 19 Aug 2008 22:07:55 +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 m7JM7qLt029318 for <571@emacsbugs.donarmstrong.com>; Tue, 19 Aug 2008 15:07:53 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 7257B57E339; Tue, 19 Aug 2008 18:09:00 -0400 (EDT) From: Chong Yidong To: kzeitler@alcatel-lucent.com Cc: Glenn Morris , 571@debbugs.gnu.org Subject: Re: 23.0.60; Solaris 5.8 version hangs (X resources for faces) References: <87myjf2yw4.fsf@stupidchicken.com> Date: Tue, 19 Aug 2008 18:09:00 -0400 In-Reply-To: (Klaus Zeitler's message of "Tue, 19 Aug 2008 10:11:25 +0200") Message-ID: <871w0klksj.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I can't figure out why you get the error you do... but does the following patch at least prevent the crash? *** trunk/src/xfaces.c.~1.412.~ 2008-08-15 17:31:53.000000000 -0400 --- trunk/src/xfaces.c 2008-08-19 18:07:07.000000000 -0400 *************** *** 3733,3738 **** --- 3733,3739 ---- } if (face->font + && FONTP (LFACE_FONT (lface)) && (!UNSPECIFIEDP (LFACE_FAMILY (lface)) || !UNSPECIFIEDP (LFACE_FOUNDRY (lface)) || !UNSPECIFIEDP (LFACE_SWIDTH (lface)) From kzeitler@alcatel-lucent.com Thu Aug 21 05:10:25 2008 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=-4.8 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) by emacsbugs.donarmstrong.com; 21 Aug 2008 12:10:26 +0000 Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7LCAKjd008430 for <571@emacsbugs.donarmstrong.com>; Thu, 21 Aug 2008 05:10:22 -0700 Received: from ihrh1.emsr.lucent.com (h135-1-218-53.lucent.com [135.1.218.53]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id m7LC9TEK016788; Thu, 21 Aug 2008 07:09:45 -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 m7LC9Rsw001602; Thu, 21 Aug 2008 07:09:28 -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 m7LC9Qs07364; Thu, 21 Aug 2008 14:09:26 +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 m7LC9O0K022364; Thu, 21 Aug 2008 14:09:24 +0200 (MEST) Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id m7LC9Ov17970; Thu, 21 Aug 2008 14:09:24 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@alcatel-lucent.com using -f Sender: kzeitler@de.lucent.com To: Chong Yidong Cc: Glenn Morris , 571@debbugs.gnu.org Subject: Re: 23.0.60; Solaris 5.8 version hangs (X resources for faces) Reply-To: kzeitler@alcatel-lucent.com References: <87myjf2yw4.fsf@stupidchicken.com> <871w0klksj.fsf@cyd.mit.edu> From: Klaus Zeitler X-Tom-Swifty: "Care for some `suan la chow show'?" Tom asked wantonly. Date: Thu, 21 Aug 2008 14:09:24 +0200 In-Reply-To: <871w0klksj.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue\, 19 Aug 2008 18\:09\:00 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35 >>>>> "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). I tried to examine the Lisp_Object lface and I thought I could do this with "p lface" and then "pr", but all I get from the pr command is 'unspecified'. My guess is there's a problem with the font specification. If you want me to investigate further, please give me a few hints. Klaus -- -------------------------------------------------- | Klaus Zeitler Alcatel-Lucent | | Email: kzeitler@alcatel-lucent.com | -------------------------------------------------- --- You can only live once, but if you do it right, once is enough. From cyd@stupidchicken.com Thu Aug 21 06:56:17 2008 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@debbugs.gnu.org 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. From unknown Mon Jun 16 23:48:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 Sep 2008 14:24:05 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator