From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Question about display engine Date: Sun, 13 Oct 2019 20:11:10 +0200 Message-ID: <20191013181110.iwbhs47c3onijo27@Ergus> References: <20191012222305.jpjinkd5y2lz6xiv@Ergus> <83mue5kmfx.fsf@gnu.org> <20191013154052.yzluijtwvf2ppvks@Ergus> <83a7a4ljet.fsf@gnu.org> <20191013164424.4vyxdnm6ievyvjyf@Ergus> <837e58lgql.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="208671"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 20:12:54 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJiMN-000s6Z-Hg for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 20:12:51 +0200 Original-Received: from localhost ([::1]:41314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJiMM-0001IE-AJ for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 14:12:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53240) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJiL6-0000uX-ND for emacs-devel@gnu.org; Sun, 13 Oct 2019 14:11:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJiL4-0004Kw-R1 for emacs-devel@gnu.org; Sun, 13 Oct 2019 14:11:32 -0400 Original-Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]:43628) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJiL4-0004IR-Hq for emacs-devel@gnu.org; Sun, 13 Oct 2019 14:11:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1570990288; bh=cZoqssluuU7v0adNDoDXO8xS+H0NBYUQ1DozRAJZcfI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=glfHCXgVa6TbsAQRbW9qnsC8bjxkwBKP7bEJlCJs6Ifz0BLEiLG5ZfRzhGfOoyfgUN3BQEQ5Rgi1rLlcgawk78/cj0V2vJn0EwkUfhG2wmifxV1ttPi8RUTbeJwI9cFK03LjnvKeyNpV2U7bjbezo+JAKJ3XTH9z8dQlFymc1rbZL1RbV5aS99Q4Jw4sBm/J3FSbUsCA1MgrGf3Bg+iDcgEvbpwLrybJQBMeUYtdaHtQ/zTCiTbWuuZjWdZeV6MxCDaL5xhgr/h8zJ9Dn9ZRG4jCmZ+JObL9edjYxFCm791zkoOpFORQFzhvyXv/T/djPj821eUDD/sCvibD9Ls/Fg== X-YMail-OSG: UGe.NnQVM1nnkfCSBtZJXU2g0uHBvuZ.WyGjCusf9dQY92WoG0DnfjWq5ZBDsSB VQokeaZ4OOTzj_iwpVfMtr61j4i37K5SGOC.38k2MwbOUDRpu9UTHttx4aLPLVfaUDm7hO1.mCV2 8_yFKZJtaRK2FeZSN4jk1NI29_aGlQBa6O2bDll_ElezPDROhhB_6tQdUIUSn8YfABCLUj3X9M18 xiL7wzYX1oaEOvm1gF.vNoKAX9FrXTbPlCgTLWfzoqfGSOcLK15rdcBYbNVN.0wlhRjZ3aYKo1gk zrYDzwNjpTi3L0Ct3J2lcbym93V2SdCHU0BkhZKwOC8EUBzCGEptrNUXCC8i94iG12vKRu9KFgM1 D63BJra4mi7sUydDgMTk6d2i5wAQ4ayHhj.fZGGWTKSl7SwxeASe_wI9HG5u.aabPbVy2lIb3lWy hE2y9T6anrADVtXUmyUT1cT9_l7FIoBbVwpBLViDtGaoImIHCh5hQb9UNgJfVTbGJCgnQtPHNKrs fnJBdD0HMGrNlnF3TAxiiMz9DhxssttYFSsed1deXxpDyHiPQkQocJAcLcU1yhqtFYM0nm_KXXgH FbNV5LqZGHProkhoPD4MjPEelreQptAJJbn9YgJHJcVywRqn_R24tOzo7DMsAxGR3lgG2Z3xi4me 0UaFLR6mbDOZ3hwnTqNJBSWi7f8I.c50M1IPChvb41D4TIcMADhSj_.AWSyPomb3xrC59hHBK.62 Qp1BM7loxnUNm6PflDqxjoTmgguqHz3IvxL6UokLPceSksjTQIAB4OIjHcT4kfvMlWLboQcbwpyJ a5.lDIr4it3Xd_HOjaJSva.lWSfGfjZdPRVAvB1U7X Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Sun, 13 Oct 2019 18:11:28 +0000 Original-Received: by smtp411.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 6997c2f5524224505d168add396abf23; Sun, 13 Oct 2019 18:11:23 +0000 (UTC) Content-Disposition: inline In-Reply-To: <837e58lgql.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 87.248.110.31 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240974 Archived-At: On Sun, Oct 13, 2019 at 08:04:02PM +0300, Eli Zaretskii wrote: >> Date: Sun, 13 Oct 2019 18:44:24 +0200 >> From: Ergus >> Cc: rudalics@gmx.at, emacs-devel@gnu.org >> >> >Could it be that redisplay_window_0, or some function it calls, >> >signals an error, which is caught by internal_condition_case_1? What >> >happens if you put a breakpoint in signal_or_quit, does it get called >> >from redisplay_window or some other function called by >> >redisplay_windows? >> >> Yes, actually: >> >> #0 0x00005597732a0380 in signal_or_quit (error_symbol=0x2cd0, data=0x559775ee2633, keyboard_quit=false) at ../../src/eval.c:1586 >> #1 0x000055977314c308 in Fsignal (error_symbol=, error_symbol@entry=0x2cd0, data=) at ../../src/eval.c:1568 >> #2 0x000055977314c4c9 in xsignal (data=, error_symbol=0x2cd0) at ../../src/lisp.h:4139 >> #3 0x000055977314c4c9 in xsignal2 (error_symbol=error_symbol@entry=0x2cd0, arg1=, arg2=) at ../../src/eval.c:1713 >> #4 0x000055977314b76e in args_out_of_range (a1=, a2=) at ../../src/lisp.h:1032 >> #5 0x000055977314e97b in validate_interval_range (object=0x559775cee0d5, begin=0x7fff35ec34b8, end=0x7fff35ec34b8, force=) at ../../src/textprop.c:158 >> #6 0x00005597732f4050 in Ftext_properties_at (position=, object=) at ../../src/textprop.c:572 >> #7 0x00005597732f40bc in Fget_text_property (position=, prop=0x5d30, object=) at ../../src/textprop.c:592 >> #8 0x00005597731f8eec in face_at_buffer_position >> (w=0x5597758e7620, pos=0, endptr=endptr@entry=0x7fff35ec3650, limit=100, mouse=mouse@entry=false, base_face_id=1, attr_filter=LFACE_EXTEND_INDEX) >> at ../../src/xfaces.c:6090 > >Then looking at the position that causes the error will probably tell >you what's wrong. (Is OBJECT passed to Fget_text_property a string? >if not, position of zero is invalid.) > That's exactly the problem. IT_CHARPOS (*it), is returning zero in face_at_pos and !STRINGP (it->string). Could you tell me whats going on please.