From unknown Sat Sep 06 02:32:57 2025 X-Loop: don@donarmstrong.com Subject: bug#1325: make-terminal-frame causes assertion failure on Windows Reply-To: "Juanma Barranquero" , 1325@debbugs.gnu.org Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Mon, 10 Nov 2008 15:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1325 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122633152311827 (code B ref -1); Mon, 10 Nov 2008 15:45:03 +0000 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=-9.4 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_PACKAGE,IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Nov 2008 15:38:43 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAAFcers011821 for ; Mon, 10 Nov 2008 07:38:41 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzYqd-0007I8-Hy for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2008 10:38:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzYqc-0007Hc-KC for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2008 10:38:38 -0500 Received: from [199.232.76.173] (port=49924 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzYqc-0007HW-3z for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2008 10:38:38 -0500 Received: from yx-out-1718.google.com ([74.125.44.157]:37214) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzYqa-00023c-Tt for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2008 10:38:37 -0500 Received: by yx-out-1718.google.com with SMTP id 34so979579yxf.66 for ; Mon, 10 Nov 2008 07:38:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=fWb8lv50lWTciMsTG7mVmYiO9UJpT7D32y+MOTyLngQ=; b=jkPtNZWNIz6pqEHwkGXJKmM1E/YxDekRD5adPYt36glZ+LHxKHt/VbTdPDnhw2cifA u2KaEEN6n8styITIwo/Ae0KtqsKD2dyZo/aDi+eCCCWmhk1bfTiok3fiy8gpISiHb+ok MtzItBwFPeEMJfVvtdWH2ZRLE5VAx5HqvsZWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=kuOiBARjX3PL3p0f0F7juZxhjBAo3lOOKlYSo3MozGP2fhUvJm04hweH9ZZnGrXLfZ xs/pldsElBf6EKyHNRDrPybUBFQ8HczgiY0eJr+fp8ybF0JXxrWDHiyrW+Vs8KuEDmIY ITEUw37WAcAMbObze6amBV2eozSoZNRgV/1UU= Received: by 10.100.44.4 with SMTP id r4mr1978573anr.100.1226331515511; Mon, 10 Nov 2008 07:38:35 -0800 (PST) Received: by 10.100.13.13 with HTTP; Mon, 10 Nov 2008 07:38:35 -0800 (PST) Message-ID: Date: Mon, 10 Nov 2008 16:38:35 +0100 From: "Juanma Barranquero" To: Bug-Gnu-Emacs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Package: emacs,w32 Version: 23.0.60 Emacs -Q M-: (make-terminal-frame '((tty-type . ""))) Partially discussed (briefly) in this thread: http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00004.html Juanma font.c:2602: Emacs fatal error: assertion failed: CONSP((val)) Breakpoint 1, w32_abort () at w32fns.c:7279 7279 button = MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7279 #1 0x0101d5eb in die (msg=0x147ccec "assertion failed: CONSP((val))", file=0x147c340 "font.c", line=2602) at alloc.c:6216 #2 0x011a4532 in font_get_cache (f=, driver=) at font.c:2602 #3 0x011b18c4 in font_list_entities (frame=48521732, spec=48969860) at font.c:2753 #4 0x011b24e0 in font_find_for_lface (f=0x2e46200, attrs=0x82e9c4, spec=48970116, c=-1) at font.c:3241 #5 0x011b4ccc in font_load_for_lface (f=0x2e46200, attrs=0x82e9c4, spec=48970116) at font.c:3357 #6 0x011ea2a6 in realize_face (cache=0x32602c0, attrs=0x82e9c4, former_face_id=) at xfaces.c:5888 #7 0x011ee31a in realize_named_face (f=, symbol=47949665, id=2) at xfaces.c:5750 #8 0x011ee6f1 in realize_basic_faces (f=0x2e46200) at xfaces.c:5562 #9 0x011ef3d6 in recompute_basic_faces (f=0x2e46200) at xfaces.c:916 #10 0x0103aae9 in init_iterator (it=0x82eb74, w=0x3bb9c00, charpos=-1, bytepos=-1, row=0x0, base_face_id=DEFAULT_FACE_ID) at xdisp.c:2599 #11 0x0103f4d5 in x_consider_frame_title (frame=) at xdisp.c:9435 #12 0x0103f928 in prepare_menu_bars () at xdisp.c:9519 #13 0x01048200 in redisplay_internal (preserve_echo_area=) at xdisp.c:11426 #14 0x0108e7fa in read_char (commandflag=1, nmaps=2, maps=0x82fb60, prev_event=47912961, used_mouse_menu=0x82fc24, end_time=0x0) at keyboard.c:2649 #15 0x01092e94 in read_key_sequence (keybuf=0x82fcc4, bufsize=30, prompt=47912961, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9344 #16 0x01095fed in command_loop_1 () at keyboard.c:1621 #17 0x01019316 in internal_condition_case (bfun=0x1095d5f , handlers=47976713, hfun=0x108cf97 ) at eval.c:1511 #18 0x0108c42b in command_loop_2 () at keyboard.c:1338 #19 0x010193c0 in internal_catch (tag=47972785, func=0x108c408 , arg=47912961) at eval.c:1247 #20 0x0108cde2 in command_loop () at keyboard.c:1317 #21 0x0108d130 in recursive_edit_1 () at keyboard.c:942 #22 0x0108d29b in Frecursive_edit () at keyboard.c:1004 #23 0x01002fb1 in main (argc=2, argv=0xa94218) at emacs.c:1777 From unknown Sat Sep 06 02:32:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Juanma Barranquero" Subject: bug#1325 closed by Jason Rumney (Re: make-terminal-frame causes assertion failure on Windows.) Message-ID: References: <494D17F8.8030909@gnu.org> X-Emacs-PR-Message: they-closed 1325 X-Emacs-PR-Package: emacs,w32 Reply-To: 1325@debbugs.gnu.org Date: Sat, 20 Dec 2008 16:15:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1229789704-29752-1" This is a multi-part message in MIME format... ------------=_1229789704-29752-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,w32 package: #1325: make-terminal-frame causes assertion failure on Windows It has been closed by Jason Rumney . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Jason Rumney by replying to this email. --=20 1325: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1325 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1229789704-29752-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1325-done) by emacsbugs.donarmstrong.com; 20 Dec 2008 16:06:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBKG6pVv028473 for <1325-done@emacsbugs.donarmstrong.com>; Sat, 20 Dec 2008 08:06:52 -0800 Received: by ti-out-0910.google.com with SMTP id b6so1002130tic.1 for <1325-done@emacsbugs.donarmstrong.com>; Sat, 20 Dec 2008 08:06:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=SMbcIpQZZ4CvrVkLYmaVs7kqteR17rgwqzJ2kDH+L8E=; b=JaU8bUo9uTD9N46VyDA8GVv8anfUDbqHbZdMYo2oa+b37sPFaY4dXlX2+gJ/A4NF8l MIi5q+IEJwEbt5cwX1NL545Qd0vy7nqBRKLmvXFccXwGFoAe/N7c7uokmtAkAV3kJdB+ oZV1UYFLxNDbPgw64p2XgOgf2p6z8Zh1/yBgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ZVRzF5CnD7N5Wi+0ixfCkG10oLeCDWMzZbhunXmO7oLinQY5C2IgkBmA93Iz2bm5Oh cqoRLZMdD8QZHS9BZPliA2vpRIONlCg0UxcdLZrupNulpW/UkwwRKHeo7ZwAJdJbm4gp ebomMLr2VoR9rHRfc0hHEhRUV7FSVqC6qeuSo= Received: by 10.110.109.12 with SMTP id h12mr6626839tic.56.1229789210792; Sat, 20 Dec 2008 08:06:50 -0800 (PST) Received: from ?192.168.1.3? ([118.101.181.97]) by mx.google.com with ESMTPS id d7sm5602946tib.37.2008.12.20.08.06.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Dec 2008 08:06:49 -0800 (PST) Sender: Jason Rumney Message-ID: <494D17F8.8030909@gnu.org> Date: Sun, 21 Dec 2008 00:06:16 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: 1325-done@debbugs.gnu.org Subject: Re: make-terminal-frame causes assertion failure on Windows. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I reenabled the old code that used to throw an error when this function was called from a graphical frame (conditional on WINDOWSNT now). ------------=_1229789704-29752-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From lekktu@gmail.com Mon Nov 10 07:38:43 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=-9.4 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_PACKAGE,IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Nov 2008 15:38:43 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAAFcers011821 for ; Mon, 10 Nov 2008 07:38:41 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzYqd-0007I8-Hy for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2008 10:38:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzYqc-0007Hc-KC for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2008 10:38:38 -0500 Received: from [199.232.76.173] (port=49924 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzYqc-0007HW-3z for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2008 10:38:38 -0500 Received: from yx-out-1718.google.com ([74.125.44.157]:37214) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzYqa-00023c-Tt for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2008 10:38:37 -0500 Received: by yx-out-1718.google.com with SMTP id 34so979579yxf.66 for ; Mon, 10 Nov 2008 07:38:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=fWb8lv50lWTciMsTG7mVmYiO9UJpT7D32y+MOTyLngQ=; b=jkPtNZWNIz6pqEHwkGXJKmM1E/YxDekRD5adPYt36glZ+LHxKHt/VbTdPDnhw2cifA u2KaEEN6n8styITIwo/Ae0KtqsKD2dyZo/aDi+eCCCWmhk1bfTiok3fiy8gpISiHb+ok MtzItBwFPeEMJfVvtdWH2ZRLE5VAx5HqvsZWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=kuOiBARjX3PL3p0f0F7juZxhjBAo3lOOKlYSo3MozGP2fhUvJm04hweH9ZZnGrXLfZ xs/pldsElBf6EKyHNRDrPybUBFQ8HczgiY0eJr+fp8ybF0JXxrWDHiyrW+Vs8KuEDmIY ITEUw37WAcAMbObze6amBV2eozSoZNRgV/1UU= Received: by 10.100.44.4 with SMTP id r4mr1978573anr.100.1226331515511; Mon, 10 Nov 2008 07:38:35 -0800 (PST) Received: by 10.100.13.13 with HTTP; Mon, 10 Nov 2008 07:38:35 -0800 (PST) Message-ID: Date: Mon, 10 Nov 2008 16:38:35 +0100 From: "Juanma Barranquero" To: Bug-Gnu-Emacs Subject: make-terminal-frame causes assertion failure on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Package: emacs,w32 Version: 23.0.60 Emacs -Q M-: (make-terminal-frame '((tty-type . ""))) Partially discussed (briefly) in this thread: http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00004.html Juanma font.c:2602: Emacs fatal error: assertion failed: CONSP((val)) Breakpoint 1, w32_abort () at w32fns.c:7279 7279 button = MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7279 #1 0x0101d5eb in die (msg=0x147ccec "assertion failed: CONSP((val))", file=0x147c340 "font.c", line=2602) at alloc.c:6216 #2 0x011a4532 in font_get_cache (f=, driver=) at font.c:2602 #3 0x011b18c4 in font_list_entities (frame=48521732, spec=48969860) at font.c:2753 #4 0x011b24e0 in font_find_for_lface (f=0x2e46200, attrs=0x82e9c4, spec=48970116, c=-1) at font.c:3241 #5 0x011b4ccc in font_load_for_lface (f=0x2e46200, attrs=0x82e9c4, spec=48970116) at font.c:3357 #6 0x011ea2a6 in realize_face (cache=0x32602c0, attrs=0x82e9c4, former_face_id=) at xfaces.c:5888 #7 0x011ee31a in realize_named_face (f=, symbol=47949665, id=2) at xfaces.c:5750 #8 0x011ee6f1 in realize_basic_faces (f=0x2e46200) at xfaces.c:5562 #9 0x011ef3d6 in recompute_basic_faces (f=0x2e46200) at xfaces.c:916 #10 0x0103aae9 in init_iterator (it=0x82eb74, w=0x3bb9c00, charpos=-1, bytepos=-1, row=0x0, base_face_id=DEFAULT_FACE_ID) at xdisp.c:2599 #11 0x0103f4d5 in x_consider_frame_title (frame=) at xdisp.c:9435 #12 0x0103f928 in prepare_menu_bars () at xdisp.c:9519 #13 0x01048200 in redisplay_internal (preserve_echo_area=) at xdisp.c:11426 #14 0x0108e7fa in read_char (commandflag=1, nmaps=2, maps=0x82fb60, prev_event=47912961, used_mouse_menu=0x82fc24, end_time=0x0) at keyboard.c:2649 #15 0x01092e94 in read_key_sequence (keybuf=0x82fcc4, bufsize=30, prompt=47912961, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9344 #16 0x01095fed in command_loop_1 () at keyboard.c:1621 #17 0x01019316 in internal_condition_case (bfun=0x1095d5f , handlers=47976713, hfun=0x108cf97 ) at eval.c:1511 #18 0x0108c42b in command_loop_2 () at keyboard.c:1338 #19 0x010193c0 in internal_catch (tag=47972785, func=0x108c408 , arg=47912961) at eval.c:1247 #20 0x0108cde2 in command_loop () at keyboard.c:1317 #21 0x0108d130 in recursive_edit_1 () at keyboard.c:942 #22 0x0108d29b in Frecursive_edit () at keyboard.c:1004 #23 0x01002fb1 in main (argc=2, argv=0xa94218) at emacs.c:1777 ------------=_1229789704-29752-1--