From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Micha=C5=82?= Kondraciuk Newsgroups: gmane.emacs.bugs Subject: bug#30931: 27.0.50; Crash in "Automatic GC" Date: Thu, 29 Mar 2018 17:52:49 +0200 Message-ID: <74bd6b4f-c855-1de2-64e9-d6c0165f1112@zoho.com> References: <0eb14aa5-8110-8336-5d3d-fac46ccc23f3@zoho.com> <83h8p4hok0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1522345034 31000 195.159.176.226 (29 Mar 2018 17:37:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 29 Mar 2018 17:37:14 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 Cc: 30931 <30931@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 29 19:37:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1bU4-0007uS-80 for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Mar 2018 19:37:08 +0200 Original-Received: from localhost ([::1]:43412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1bW6-0005UG-Bw for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Mar 2018 13:39:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1bVy-0005Ts-9f for bug-gnu-emacs@gnu.org; Thu, 29 Mar 2018 13:39:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1bVu-0007YS-CR for bug-gnu-emacs@gnu.org; Thu, 29 Mar 2018 13:39:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1bVu-0007YD-89 for bug-gnu-emacs@gnu.org; Thu, 29 Mar 2018 13:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f1bVu-0008Du-1M for bug-gnu-emacs@gnu.org; Thu, 29 Mar 2018 13:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Micha=C5=82?= Kondraciuk Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Mar 2018 17:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30931 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 30931-submit@debbugs.gnu.org id=B30931.152234511831575 (code B ref 30931); Thu, 29 Mar 2018 17:39:01 +0000 Original-Received: (at 30931) by debbugs.gnu.org; 29 Mar 2018 17:38:38 +0000 Original-Received: from localhost ([127.0.0.1]:58959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1bVW-0008DD-FW for submit@debbugs.gnu.org; Thu, 29 Mar 2018 13:38:38 -0400 Original-Received: from sender-pp-092.zoho.com ([135.84.80.237]:25328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1bVU-0008D5-TB for 30931@debbugs.gnu.org; Thu, 29 Mar 2018 13:38:37 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:to:references:cc:from:message-id:date:user-agent:mime-version:in-reply-to:content-type; b=UX37gZIB7MZPF0oR9a1qxaKaDWJKRNZhRnHlMFiWYZP0N27gGkvHwGqoGdXjiOOplNPxR5tynDKM FrnX8FFuhxUHjYicyRC+WrLI+nB6T41RzAlgn79rsxiQvbCpXWnm Original-Received: from [192.168.0.87] (84-10-171-192.static.chello.pl [84.10.171.192]) by mx.zohomail.com with SMTPS id 1522338771870887.0632479712708; Thu, 29 Mar 2018 08:52:51 -0700 (PDT) In-Reply-To: <83h8p4hok0.fsf@gnu.org> Content-Language: en-US X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144699 Archived-At: I was able to reproduce crash in the same place in bare Emacs versions 27.0.50, 25.3, 24.4 with the form below. (progn (defun on-overlay-modification (&rest args) (push nil buffer-undo-list)) (defun crash () (save-restriction (narrow-to-region 1 1) (let (end) (insert " 123aaa") (narrow-to-region 2 3) (setq end (set-marker (make-marker) 3)) (save-restriction (widen) (lisp-indent-line)) (garbage-collect) (overlay-put (make-overlay end (1+ end)) 'modification-hooks '(on-overlay-modification))))) (with-current-buffer "*scratch*" (let ((buffer-undo-list t)) (while t (erase-buffer) (crash)))))