From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Crash in bidi.c in Haiku port Date: Wed, 22 Sep 2021 09:21:23 +0300 Message-ID: <83sfxxw2os.fsf@gnu.org> References: <87wnn9z3zt.fsf.ref@yahoo.com> <87wnn9z3zt.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10678"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 22 08:36:03 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSvrP-0002WX-AZ for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Sep 2021 08:36:03 +0200 Original-Received: from localhost ([::1]:45778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSvrM-00039K-Mp for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Sep 2021 02:36:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSvdH-0002up-Nd for emacs-devel@gnu.org; Wed, 22 Sep 2021 02:21:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53436) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSvdH-0004gs-E7; Wed, 22 Sep 2021 02:21:27 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4463 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSvdG-0003Iw-Ca; Wed, 22 Sep 2021 02:21:27 -0400 In-Reply-To: <87wnn9z3zt.fsf@yahoo.com> (message from Po Lu on Wed, 22 Sep 2021 11:24:54 +0800) 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275289 Archived-At: > From: Po Lu > Date: Wed, 22 Sep 2021 11:24:54 +0800 > > Recently I experienced this abort twice in my Haiku port when > redisplaying a compilation buffer. > > The abort happens at line 3363 of bidi.c, in this snippet of > bidi_find_other_level_edge: > > /* If we are at end of level, its edges must be cached. */ > if (end_flag) > emacs_abort (); Very hard to say without more details. Like whether this was the first character of a buffer/string for which the function bidi_move_to_visually_next was called, what kind of object (buffer, string, composition, something else) we were iterating, what is the contents of the bidi_cache, etc. A reproducer is best, of course.