From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15788: 24.3.50; Can't change the default face's attributes Date: Sat, 02 Nov 2013 13:12:25 +0100 Message-ID: <5274EC29.6080407@swipnet.se> References: <87mwlnwhys.fsf@yandex.ru> <9FDBC422-B1EE-48E9-B757-3682163B9321@swipnet.se> <83wqkr9fy8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1383394392 7026 80.91.229.3 (2 Nov 2013 12:13:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Nov 2013 12:13:12 +0000 (UTC) Cc: 15788@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 02 13:13:17 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 1Vca4q-0005z2-Fk for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Nov 2013 13:13:16 +0100 Original-Received: from localhost ([::1]:41803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vca4p-0002iU-Py for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Nov 2013 08:13:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vca4i-0002gy-Qu for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 08:13:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vca4d-00012X-QN for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 08:13:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vca4d-00012Q-N5 for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 08:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vca4c-0005MY-56 for bug-gnu-emacs@gnu.org; Sat, 02 Nov 2013 08:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Nov 2013 12:13: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.138339435320574 (code B ref 15788); Sat, 02 Nov 2013 12:13:02 +0000 Original-Received: (at 15788) by debbugs.gnu.org; 2 Nov 2013 12:12:33 +0000 Original-Received: from localhost ([127.0.0.1]:59016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vca48-0005Ll-Gw for submit@debbugs.gnu.org; Sat, 02 Nov 2013 08:12:33 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:36467) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1Vca44-0005LZ-4J for 15788@debbugs.gnu.org; Sat, 02 Nov 2013 08:12:29 -0400 Original-Received: (qmail 18865 invoked by uid 89); 2 Nov 2013 12:12:26 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 2 Nov 2013 12:12:26 -0000 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 89C621A01C4; Sat, 2 Nov 2013 13:12:25 +0100 (CET) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <83wqkr9fy8.fsf@gnu.org> 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:79883 Archived-At: Hello. 2013-11-02 12:54, Eli Zaretskii skrev: >> 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. > What is the value of attrs[LFACE_DISTANT_FOREGROUND_INDEX])? Jan D. > 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" >