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.bugs Subject: bug#71194: 30.0.50; outline-minor-mode Date: Sat, 25 May 2024 14:28:55 +0300 Message-ID: <86bk4uyvt4.fsf@gnu.org> References: <87r0dq8cyg.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28465"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71194-done@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 25 13:30:15 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sApbK-0007Ai-3G for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 May 2024 13:30:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sApb3-0000om-S8; Sat, 25 May 2024 07:29:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sApb2-0000oI-Mw for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 07:29:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sApb2-000347-EI for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 07:29:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sApb9-0005Oh-FX for bug-gnu-emacs@gnu.org; Sat, 25 May 2024 07:30:03 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 May 2024 11:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71194 X-GNU-PR-Package: emacs Mail-Followup-To: 71194@debbugs.gnu.org, eliz@gnu.org, eller.helmut@gmail.com Original-Received: via spool by 71194-done@debbugs.gnu.org id=D71194.171663657920643 (code D ref 71194); Sat, 25 May 2024 11:30:03 +0000 Original-Received: (at 71194-done) by debbugs.gnu.org; 25 May 2024 11:29:39 +0000 Original-Received: from localhost ([127.0.0.1]:42899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sApal-0005Mr-3Z for submit@debbugs.gnu.org; Sat, 25 May 2024 07:29:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sApai-0005MR-Q9 for 71194-done@debbugs.gnu.org; Sat, 25 May 2024 07:29:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sApaV-0002sb-Mb; Sat, 25 May 2024 07:29:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=P5v4c9Bc87PBTPuslADnB0bWj/76/U7Mv5x4LrShBqQ=; b=bZ4dG5rN/FYP ShDsmZigXS8l7UixjkgH9ZEWmmnWjqAoXohJWLsu4Y9p+1S/BwZOqb6eCMr2Pp0vgiVSTX2mQZIJ2 aF84/LMG8/8a35Ls/FvkHAHD9m1DnT/Z0D1fo8iCp2xPqqGb3eg8/4QSPJIDu7PwAOWslizEBQVOm 2b3fN7bPslrdHPyjDbt87RL+XgjetfD2r1eR5MzOMZNFIZFVYo5Qy1ibWjteUWqx0Gd6WFLUi6zAq CuQthLV5ZKY7a7k1fo8t77l3AQvbciIbhHVLKAF7C/ao5gMYzuyEqT2m8whUob8ieQrVZd6CpJJ9N O9q/pWfCni2TbKKhX4npXw==; In-Reply-To: <87r0dq8cyg.fsf@gmail.com> (message from Helmut Eller on Sat, 25 May 2024 11:20:39 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285860 Archived-At: > From: Helmut Eller > Date: Sat, 25 May 2024 11:20:39 +0200 > > When I start Emacs with > > ./src/emacs -Q src/print.c -f outline-minor-mode -f outline-hide-other --eval '(progn (pop-to-buffer "print.c") (while t (next-line) (redisplay)))' > > it crashes like so: > > marker.c:331: Emacs fatal error: assertion failed: BUF_BEG_BYTE (b) <= bytepos && bytepos <= BUF_Z_BYTE (b) > Fatal error 6: Aborted > > The backtrace is attached. Thanks. This is an assertion violation. The assertion was added 11 years ago, when a change was made in xdisp.c that removed calculation of BYTEPOS from CHARPOS when needed. The assertion was added because the person who made the change thought that calculation of BYTEPOS was unnecessary. It took 11 years to prove him wrong... Should be fixed now on the emacs-29 branch, to be merged to master shortly.