From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Question about display engine Date: Sun, 13 Oct 2019 20:04:02 +0300 Message-ID: <837e58lgql.fsf@gnu.org> References: <20191012222305.jpjinkd5y2lz6xiv@Ergus> <83mue5kmfx.fsf@gnu.org> <20191013154052.yzluijtwvf2ppvks@Ergus> <83a7a4ljet.fsf@gnu.org> <20191013164424.4vyxdnm6ievyvjyf@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="206971"; mail-complaints-to="usenet@blaine.gmane.org" Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 19:05:04 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 1iJhIm-000riY-5P for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 19:05:04 +0200 Original-Received: from localhost ([::1]:41116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJhIl-0002Tp-2O for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2019 13:05:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47119) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJhHt-0002TR-UZ for emacs-devel@gnu.org; Sun, 13 Oct 2019 13:04:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iJhHs-0008AK-Sv; Sun, 13 Oct 2019 13:04:08 -0400 Original-Received: from [176.228.60.248] (port=2778 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iJhHs-0006BK-AD; Sun, 13 Oct 2019 13:04:08 -0400 In-reply-to: <20191013164424.4vyxdnm6ievyvjyf@Ergus> (message from Ergus on Sun, 13 Oct 2019 18:44:24 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:240972 Archived-At: > 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.)