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#18699: 25.0.50; Windows 7: Odd length text property list Date: Mon, 13 Oct 2014 08:31:44 +0300 Message-ID: <8338as8ri7.fsf@gnu.org> References: <87eguclr91.fsf@telefonica.net> <87a950lob5.fsf_-_@wanadoo.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1413178348 16332 80.91.229.3 (13 Oct 2014 05:32:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2014 05:32:28 +0000 (UTC) Cc: 18699@debbugs.gnu.org To: oscarfv@telefonica.net (=?UTF-8?Q?=C3=93scar?= Fuentes) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 13 07:32:21 2014 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 1XdYF1-0005RC-72 for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Oct 2014 07:32:19 +0200 Original-Received: from localhost ([::1]:60253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdYF0-0003BS-Ex for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Oct 2014 01:32:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdYEr-0003BG-H9 for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 01:32:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdYEl-0007vv-8y for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 01:32:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdYEl-0007vq-5b for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 01:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XdYEk-00039e-Kx for bug-gnu-emacs@gnu.org; Mon, 13 Oct 2014 01:32: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: Mon, 13 Oct 2014 05:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18699 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18699-submit@debbugs.gnu.org id=B18699.141317831712111 (code B ref 18699); Mon, 13 Oct 2014 05:32:02 +0000 Original-Received: (at 18699) by debbugs.gnu.org; 13 Oct 2014 05:31:57 +0000 Original-Received: from localhost ([127.0.0.1]:42365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XdYEe-00039G-Q2 for submit@debbugs.gnu.org; Mon, 13 Oct 2014 01:31:57 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:37018) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XdYEa-000393-M5 for 18699@debbugs.gnu.org; Mon, 13 Oct 2014 01:31:55 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NDD00K00AUJFT00@mtaout25.012.net.il> for 18699@debbugs.gnu.org; Mon, 13 Oct 2014 08:27:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDD00E4VB552Y70@mtaout25.012.net.il>; Mon, 13 Oct 2014 08:27:06 +0300 (IDT) In-reply-to: <87a950lob5.fsf_-_@wanadoo.es> 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:94452 > From: oscarfv@telefonica.net (Óscar Fuentes) > Date: Mon, 13 Oct 2014 04:02:22 +0200 > > Backtrace: > > #0 validate_plist (list=8577862) at ../../emacs/src/textprop.c:235 > #1 0x0114d240 in add_text_properties_1 (start=start@entry=4, > end=end@entry=48, properties=properties@entry=8577862, > object=object@entry=22450013, > set_type=set_type@entry=TEXT_PROPERTY_REPLACE) > at ../../emacs/src/textprop.c:1181 > #2 0x0114d607 in Fadd_text_properties (object=22450013, properties=8577862, > end=end@entry=48, start=4) at ../../emacs/src/textprop.c:1306 > #3 Fput_text_property (start=4, end=end@entry=48, property=21207346, > value=22318226, object=22450013) at ../../emacs/src/textprop.c:1324 > #4 0x01071e04 in produce_charset (coding=, pos=12, > charbuf=0x82e39c) at ../../emacs/src/coding.c:7285 > #5 produce_annotation (pos=12, coding=) > at ../../emacs/src/coding.c:7328 > #6 decode_coding (coding=coding@entry=0x82e5e0) > at ../../emacs/src/coding.c:7423 > #7 0x01076e6e in decode_coding_object (coding=, > coding@entry=0x82e5e0, src_object=, > src_object@entry=14478465, from=, from@entry=0, > from_byte=, from_byte@entry=0, to=, > to_byte=, dst_object=, > dst_object@entry=21139106) at ../../emacs/src/coding.c:8149 > #8 0x01078aea in code_convert_string (string=string@entry=14478465, > coding_system=, coding_system@entry=22318258, > dst_object=, encodep=encodep@entry=false, > nocopy=nocopy@entry=false, norecord=norecord@entry=true) > at ../../emacs/src/coding.c:9491 > #9 0x01078f09 in code_convert_string_norecord (string=14478465, > coding_system=coding_system@entry=22318258, encodep=encodep@entry=false) > at ../../emacs/src/coding.c:9511 > #10 0x01167840 in intern_font_name ( > string=string@entry=0x82eb2c "Courier New") > at ../../emacs/src/w32font.c:289 > #11 0x01167ca7 in w32_enumfont_pattern_entity (frame=, > requested_font=0x82ecd4, backend=21295146, font_type=4, > physical_font=0x82e928, logical_font=0x82eb10) > at ../../emacs/src/w32font.c:1085 > #12 add_font_entity_to_list (logical_font=0x82eb10, physical_font=0x82e928, > font_type=4, lParam=8580308) at ../../emacs/src/w32font.c:1500 > #13 0x777004b5 in SetPixelV () from C:\Windows\system32\gdi32.dll > #14 0x7770041e in SetPixelV () from C:\Windows\system32\gdi32.dll > #15 0x777005db in GDI32!EnumFontFamiliesExA () > from C:\Windows\system32\gdi32.dll > #16 0x777005a8 in GDI32!EnumFontFamiliesExA () > from C:\Windows\system32\gdi32.dll > #17 0x011689a0 in w32font_list_internal ( > f=f@entry=0x1810310 , > font_spec=font_spec@entry=21240061, opentype_only=opentype_only@entry=1) > at ../../emacs/src/w32font.c:833 Looks exactly like #18559, but that one was fixed. Which version of GCC did you use to build this binary? The function add_font_entity_to_list is decorated with a GCC attribute that should cause GCC to emit a few instructions in the function's prologue to ensure the stack is 8-byte aligned. Do you see that in the disassembly of that function? If not, can you show the preprocessed source of the first few line of that function, including its definition line? In any case, please continue using the current trunk and reporting results from it, not from the Oct 4 version. Thanks.