From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#30931: 27.0.50; Crash in "Automatic GC" Date: Mon, 26 Mar 2018 08:45:55 -0400 Message-ID: <87d0zrqa2k.fsf@gmail.com> References: <4d245b9b-16be-954e-f98c-c99796e40431@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1522068319 11111 195.159.176.226 (26 Mar 2018 12:45:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2018 12:45:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 30931@debbugs.gnu.org To: =?UTF-8?Q?Micha=C5=82?= Kondraciuk Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 26 14:45:15 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 1f0RUx-0002oj-5t for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2018 14:45:15 +0200 Original-Received: from localhost ([::1]:56544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0RX0-0004zk-I5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Mar 2018 08:47:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0RWl-0004xO-HZ for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 08:47:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0RWg-0000DZ-Lq for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 08:47:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45819) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0RWg-0000DK-Gx for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 08:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0RWg-0003SH-90 for bug-gnu-emacs@gnu.org; Mon, 26 Mar 2018 08:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Mar 2018 12:47:02 +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: Original-Received: via spool by 30931-submit@debbugs.gnu.org id=B30931.152206836610272 (code B ref 30931); Mon, 26 Mar 2018 12:47:02 +0000 Original-Received: (at 30931) by debbugs.gnu.org; 26 Mar 2018 12:46:06 +0000 Original-Received: from localhost ([127.0.0.1]:53716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0RVl-0002fA-VE for submit@debbugs.gnu.org; Mon, 26 Mar 2018 08:46:06 -0400 Original-Received: from mail-it0-f51.google.com ([209.85.214.51]:39982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0RVj-0002Xd-K9; Mon, 26 Mar 2018 08:46:03 -0400 Original-Received: by mail-it0-f51.google.com with SMTP id y20-v6so10569938itc.5; Mon, 26 Mar 2018 05:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=+GisPJEtT7j7mUofJst+UXfQ3RAdAyoGW5XkfR7w2EM=; b=qPIR4AVWDCpcdWDRDXgufI2xh6V1QHqBQekMOH6Jlt1xwSIZ4poT2QAuFvTKuNaavP DghhmNU1240bJu6LuBAdREJSz/ZKox70hV5Ahm9F2jAhWeEM1hkiddjN4Ok7iIpLT0Oe JEjLLdk149IpSpovNfyaAUZufU9rrTS7bix+CQHcJJhYj8prOtX8jXf00OnFPcAqo5Kl tXLmAXp4rY9ZW1HHvnm33roOMGwoFAl7U9sAB1micqGD1ee0iHBxNfQEvGlbx1E647x0 qQu5kxis++cLs4SeOWtr6NRJHLp15cSmKcpoqWOqkeVCGwUnZLJSnD1iGqTiF+R2zK4S FGxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=+GisPJEtT7j7mUofJst+UXfQ3RAdAyoGW5XkfR7w2EM=; b=eTpTBrQ9xL8eNC7Ypw6aoRCqyIcsxFopDbfyu53e/5joebf7uF/zv3Ja6Nbb58mwjS wR7UhlnFf6FgcDku/FrtlLStQF+ZFaMqZS50Axax6CHngbh+M7M9dP/lZwrkAxM78dD9 JPQKPVahvw2xaR4D4x/Li8E78QOQ6x/IdkmQntvKOJCVxcXvUWR880yADywrWdIkGroJ f5Mws7VeOJI+ZS7uK9Cz7PzI6l1VOU0xpjI6CVOh65AgXGcF2MTp3lz113Hm65fPPYsm 5eAXUx14f2b7E1CLccbafXxuuUvRktU/xm0emKDRPxNFPdBc2MgexJWDWX7jM+DTKmS8 81LA== X-Gm-Message-State: AElRT7Fcn8H7va5vOZ+YjCcfeisms4xsGT6xqVfSSxmSl3XR6+f94V7u nd4FldrhsUpfGT+2F+5qqtuJMw== X-Google-Smtp-Source: AG47ELussmZPKFS+yVV95qB3a+KVw0H3tG6njXXHsbnt67YClhrCzs06CT3X21JNZ51t+kVXqYWwJQ== X-Received: by 2002:a24:5d41:: with SMTP id w62-v6mr23432758ita.15.1522068357863; Mon, 26 Mar 2018 05:45:57 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id p10-v6sm10065476itb.24.2018.03.26.05.45.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Mar 2018 05:45:56 -0700 (PDT) In-Reply-To: ("=?UTF-8?Q?Micha=C5=82?= Kondraciuk"'s message of "Sun, 25 Mar 2018 11:46:16 +0200") 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:144627 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable found 30931 25.3 found 30931 26.0.91 tags 30931 + confirmed retitle 30931 abort() due to CHECK_ALLOCATED_AND_LIVE failure during GC quit Micha=C5=82 Kondraciuk writes: > > 1. emacs -Q > 2. M-x package-initialize > 3. Evaluate: |(add-to-list 'package-archives '("melpa" > . "https://melpa.org/packages/")) 4. M-x package-refresh-contents > 5. M-x=20 > package-install RET ivy RET |6||. M-x package-install RET yasnippet > RET |||7. M-x package-install RET yasnippet-snippets RET| > 8. Evaluate form below. > 9. Wait 1-10 minutes. I'm able to reproduce this in a fresh HOME (I've tried with versions 25.3 and 26.0.91), with the attached init.el. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=init.el Content-Description: init.el to reproduce crash (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-refresh-contents) (package-initialize) (unless (package-installed-p 'ivy) (package-install 'ivy)) (unless (package-installed-p 'yasnippet-snippets) (package-install 'yasnippet-snippets)) (require 'yasnippet) (require 'ivy) (yas-reload-all) (switch-to-buffer "*scratch*") (lisp-interaction-mode) (yas-minor-mode-on) (let ((templates (mapcar #'yas--template-key (yas--all-templates (yas--get-snippet-tables))))) (defun update-fn () (with-current-buffer "*scratch*" (save-restriction (narrow-to-region 3 3) (insert " " (ivy-state-current ivy-last)) (yas-expand) (mapc #'yas-abort-snippet (yas-active-snippets))) (redisplay))) (let ((buffer-undo-list t)) (while t (erase-buffer) (insert "aaaaaa") (redisplay) (sit-for 0.1) (run-with-timer 0.01 nil (lambda () (dotimes (_ (% (random) 15)) (execute-kbd-macro "\C-n") (sit-for 0.05) (redisplay) (when (zerop (% (random) 4)) (execute-kbd-macro "\C-p") (sit-for 0.05) (redisplay))) (sit-for 0.1) (redisplay) (abort-recursive-edit))) (catch 'exit (condition-case err (ivy-read "foo: " templates :update-fn #'update-fn) (quit)))))) --=-=-= Content-Type: text/plain It looks like there is a Lisp_Misc_Free object in the undo-list. At least, I think it's the undo-list. One time I actually got the mark_object (BVAR (nextb, undo_list)) in the backtrace, although the next time it was just mark_stack, but the object being marked still looks like an undo-list. --=-=-=--