From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15788: 24.3.50; Can't change the default face's attributes Date: Sat, 02 Nov 2013 13:54:39 +0200 Message-ID: <83wqkr9fy8.fsf@gnu.org> References: <87mwlnwhys.fsf@yandex.ru> <9FDBC422-B1EE-48E9-B757-3682163B9321@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1383393374 30235 80.91.229.3 (2 Nov 2013 11:56:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Nov 2013 11:56:14 +0000 (UTC) Cc: 15788@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 02 12:56:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VcZoN-0006Yj-Iq for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Nov 2013 12:56:15 +0100 Original-Received: from localhost ([::1]:41609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcZoN-00008r-9o for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Nov 2013 07:56:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcZoG-00008O-69 for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 07:56:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcZoB-0004Dd-Hl for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 07:56:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcZoB-0004DX-E7 for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 07:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VcZoA-0004vD-GN for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 07:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Nov 2013 11:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15788-submit@debbugs.gnu.org id=B15788.138339330318841 (code B ref 15788); Sat, 02 Nov 2013 11:56:02 +0000 Original-Received: (at 15788) by debbugs.gnu.org; 2 Nov 2013 11:55:03 +0000 Original-Received: from localhost ([127.0.0.1]:58991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VcZnC-0004tb-4A for submit@debbugs.gnu.org; Sat, 02 Nov 2013 07:55:02 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58175) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VcZn6-0004tE-Fz for 15788@debbugs.gnu.org; Sat, 02 Nov 2013 07:54:58 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MVM00300WYCFK00@a-mtaout22.012.net.il> for 15788@debbugs.gnu.org; Sat, 02 Nov 2013 13:54:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVM00334X3CB360@a-mtaout22.012.net.il>; Sat, 02 Nov 2013 13:54:49 +0200 (IST) In-reply-to: <9FDBC422-B1EE-48E9-B757-3682163B9321@swipnet.se> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79882 Archived-At: > From: Jan Djärv > Date: Sat, 2 Nov 2013 09:02:23 +0100 > Cc: 15788-done@debbugs.gnu.org > > Fixed. > > Jan D. > > 2 nov 2013 kl. 05:22 skrev Dmitry Gutov : > > > Specifically, this code does nothing, irrespective of values of height > > and family: > > > > (set-face-attribute 'default nil :height 105 :family "Fira Mono") > > > > 'bzr bisect' points to revision 114895 > > (jan.h.d@swipnet.se-20131101154710-ezqhdstjaw50z93h) > > > > > > In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) > > of 2013-11-02 on axl > > Bzr revision: 114899 dgutov@yandex.ru-20131102011010-xza6v86dyv6l59rk > > Windowing system distributor `The X.Org Foundation', version 11.0.11303000 > > System Description: Ubuntu 13.04 Unfortunately, the fix breaks the w32 build: it hits assertion violation at startup. The details are below. Let me know how can I help you debug this. xfaces.c:1810: Emacs fatal error: assertion failed: UNSPECIFIEDP (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) || IGNORE_DEFFACE_P (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) || STRINGP (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) Breakpoint 1, terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:350 350 signal (sig, SIG_DFL); (gdb) bt #0 terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:350 #1 0x0115b5bc in die ( msg=0x148e7e4 "UNSPECIFIEDP (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) || IGNORE_DEFFACE_P (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) || STRINGP (attrs[LFACE_DISTANT_FOREGROUND_INDEX])", file=0x148d9d0 "xfaces.c", line=1810) at alloc.c:6698 #2 0x010d6a49 in check_lface_attrs (attrs=0x379ab54) at xfaces.c:1808 #3 0x010d6cc8 in check_lface (lface=58305365) at xfaces.c:1842 #4 0x010de9c9 in realize_default_face (f=0x35a74b8) at xfaces.c:5381 #5 0x010de16c in realize_basic_faces (f=0x35a74b8) at xfaces.c:5247 #6 0x010d43a3 in recompute_basic_faces (f=0x35a74b8) at xfaces.c:735 #7 0x010247e6 in init_iterator (it=0x82e650, w=0x35a7720, charpos=1, bytepos=1, row=0x0, base_face_id=DEFAULT_FACE_ID) at xdisp.c:2706 #8 0x01039452 in resize_mini_window (w=0x35a7720, exact_p=1) at xdisp.c:10406 #9 0x01011162 in do_switch_frame (frame=57293069, track=1, for_deletion=0, norecord=56191026) at frame.c:832 #10 0x010116e0 in Fselect_frame (frame=57293069, norecord=56191026) at frame.c:885 #11 0x010800b9 in select_frame_norecord (frame=57293069) at window.c:3061 #12 0x01080247 in run_window_configuration_change_hook (f=0x36a3908) at window.c:3085 #13 0x011ed565 in x_set_tool_bar_lines (f=0x36a3908, value=4, oldval=56191002) at w32fns.c:1717 #14 0x0101649e in x_set_frame_parameters (f=0x36a3908, alist=56191002) at frame.c:2801 #15 0x0101924d in x_default_parameter (f=0x36a3908, alist=56171710, prop=56334746, deflt=4, xprop=0x0, xclass=0x0, type=RES_TYPE_NUMBER) at frame.c:3821 #16 0x011f3599 in Fx_create_frame (parameters=56171710) at w32fns.c:4491 Lisp Backtrace: "x-create-frame" (0x82f288) "x-create-frame-with-faces" (0x82f488) "make-frame" (0x82f688) "frame-initialize" (0x82f888) "command-line" (0x82fabc) "normal-top-level" (0x82fc70) (gdb) frame 2 #2 0x010d6a49 in check_lface_attrs (attrs=0x379ab54) at xfaces.c:1808 1808 eassert (UNSPECIFIEDP (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) (gdb) l 1803 || IGNORE_DEFFACE_P (attrs[LFACE_INVERSE_INDEX]) 1804 || SYMBOLP (attrs[LFACE_INVERSE_INDEX])); 1805 eassert (UNSPECIFIEDP (attrs[LFACE_FOREGROUND_INDEX]) 1806 || IGNORE_DEFFACE_P (attrs[LFACE_FOREGROUND_INDEX]) 1807 || STRINGP (attrs[LFACE_FOREGROUND_INDEX])); 1808 eassert (UNSPECIFIEDP (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) 1809 || IGNORE_DEFFACE_P (attrs[LFACE_DISTANT_FOREGROUND_INDEX]) 1810 || STRINGP (attrs[LFACE_DISTANT_FOREGROUND_INDEX])); 1811 eassert (UNSPECIFIEDP (attrs[LFACE_BACKGROUND_INDEX]) 1812 || IGNORE_DEFFACE_P (attrs[LFACE_BACKGROUND_INDEX]) (gdb) p attrs[LFACE_DISTANT_FOREGROUND_INDEX] $1 = 56191002 (gdb) xtype Lisp_Symbol (gdb) xsymbol $2 = (struct Lisp_Symbol *) 0x3596818 "nil"