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: Sat, 12 Oct 2019 21:29:00 +0300 Message-ID: <83eezhn7gz.fsf@gnu.org> References: <20190917021725.xxhhhxcz3nr6sb7z@Ergus> <83blvjw8x9.fsf@gnu.org> <83v9tmqcv7.fsf@gnu.org> <20190921215551.ruu6ji6sjpxydpng@Ergus> <20190926163204.gdb4gxbjtdbysk3y@Ergus> <83zhiohfnx.fsf@gnu.org> <20190929103034.jw5qolfjtbjkbk5p@Ergus> <83impbfjzh.fsf@gnu.org> <20191007154054.zfbsuktkaue5ymbr@Ergus> <835zkywatq.fsf@gnu.org> <20191012181618.kdid42a7epdcf6ev@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="123911"; 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 Sat Oct 12 20:29:24 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 1iJM8p-000W5z-3H for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2019 20:29:23 +0200 Original-Received: from localhost ([::1]:35358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJM8n-0005pr-S4 for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2019 14:29:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44400) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJM8f-0005ph-J6 for emacs-devel@gnu.org; Sat, 12 Oct 2019 14:29:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iJM8e-0006dr-Qc; Sat, 12 Oct 2019 14:29:12 -0400 Original-Received: from [176.228.60.248] (port=3458 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iJM8d-0007RY-SZ; Sat, 12 Oct 2019 14:29:12 -0400 In-reply-to: <20191012181618.kdid42a7epdcf6ev@Ergus> (message from Ergus on Sat, 12 Oct 2019 20:16:18 +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:240932 Archived-At: > Date: Sat, 12 Oct 2019 20:16:18 +0200 > From: Ergus > Cc: rudalics@gmx.at, emacs-devel@gnu.org > > Trying the next in current master I got the same issue: > > // =============================== > > diff --git a/src/xdisp.c b/src/xdisp.c > index 893ce9269c..af50dd0bcd 100644 > --- a/src/xdisp.c > +++ b/src/xdisp.c > @@ -21587,6 +21587,7 @@ extend_face_to_end_of_line (struct it *it) > || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) > return; > > + handle_face_prop (it); > /* Face extension extends the background and box of IT->face_id > to the end of the line. If the background equals the background > of the frame, we don't have to do anything. */ > > // =============================== I don't understand why would we want to add a call to handle_face_prop there. > In gdb I saee that it goes in a very complex inf loop within the display > engine functions and emacs becomes completely unresponsive (No C-g or > ESC ESC ESC) the only solution is to kill it from outside. Can you tell where it loops? That is, describe the sequence of calls and the return values for a single iteration through the loop? > Could you give a look please? Not sure what should I look at. If you want me to run a GDB session, I would need a recipe to reproduce the loop. Note that I don't have Magit installed, so loading it (if needed) would have be part of the recipe.