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: abort() due to CHECK_ALLOCATED_AND_LIVE failure during GC Date: Fri, 30 Mar 2018 08:56:04 -0400 Message-ID: <87woxtpvrv.fsf@gmail.com> References: <0eb14aa5-8110-8336-5d3d-fac46ccc23f3@zoho.com> <9829542a-15bb-6a83-20b0-2fd4dc42b8d4@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1522414512 30303 195.159.176.226 (30 Mar 2018 12:55:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2018 12:55:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 30931@debbugs.gnu.org, =?UTF-8?Q?Micha=C5=82?= Kondraciuk To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 30 14:55:07 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 1f1tYg-0007gO-0B for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2018 14:55:06 +0200 Original-Received: from localhost ([::1]:34683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1taj-0007tq-CF for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2018 08:57:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1tac-0007tS-17 for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2018 08:57:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1taY-0002sL-No for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2018 08:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51631) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1taY-0002s1-Ji for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2018 08:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f1taY-0004ho-CE for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2018 08:57: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: Fri, 30 Mar 2018 12:57: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: confirmed Original-Received: via spool by 30931-submit@debbugs.gnu.org id=B30931.152241457418033 (code B ref 30931); Fri, 30 Mar 2018 12:57:02 +0000 Original-Received: (at 30931) by debbugs.gnu.org; 30 Mar 2018 12:56:14 +0000 Original-Received: from localhost ([127.0.0.1]:59528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1tZm-0004gn-DT for submit@debbugs.gnu.org; Fri, 30 Mar 2018 08:56:14 -0400 Original-Received: from mail-it0-f53.google.com ([209.85.214.53]:54750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f1tZk-0004gY-Mo for 30931@debbugs.gnu.org; Fri, 30 Mar 2018 08:56:13 -0400 Original-Received: by mail-it0-f53.google.com with SMTP id h143-v6so11678430ita.4 for <30931@debbugs.gnu.org>; Fri, 30 Mar 2018 05:56:12 -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:content-transfer-encoding; bh=gFJkTAMKlPujFhVZQ5T5mjxwokAmnCkuaZIRyYp+Gko=; b=CvPS5ggF8QUuJ46WDz4v7T5ZbWzG1YCH/RbE5J0HLF+J0ghgrc3bkJfTprRkuCotZN 7tKeBqDjXq0eBVvwD6zGKKiFPlJyiQMh6upJxXitVfoJMhlsi60dD1XLgDlaCMr8IVpG u2nqo7+5FTXjKQnvJmq8Bt8eAxXTnEfBNLizA7YCbE7sIAU9hND+WP80e66o/L3U2xDC TJ/R9NnPzrBAQdKApl8gcVdkHFnyKCWfKggrFIkb2vmU3KCXZ2U1Nnb1CAw6Kzu6QDU/ BSVKV2yLy+bA1f+RD1Rlz0ri4eRBTMUbZKfxlixCpSQN1ElmA/9KFXHcb8MVplW5Pl+a tKYw== 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:content-transfer-encoding; bh=gFJkTAMKlPujFhVZQ5T5mjxwokAmnCkuaZIRyYp+Gko=; b=AXKy19gn+HmC7FSrnN4KQ18FNlkgBrHoSaChaHCddW144qCJ6AILe+PsEdeH9fNobf vuN611MJ8wu2bMsMAnJuE8+xECM4aTGLR46HUblygwlViijh0S22ebPPaYGKGtxbC4+L YBy64OpNgcvwFy6DVXx+h5yqjZF33KdKQZsMrzKIZIhXcoXRrYzeBT3S5qHQgw4Hd55j Wsom/en0nRaVrZxMlw9yWtn3kPe0ZJ9Ax33GCHyVf0ZJXIGOvky05ox5WZty4bRfxXJ3 fY4bOhWWl24KSMi65Lw9dNPtwCY8ZC53qh4fTDvh96hWui4TdeRqRAQ2kjrFnOfxgJDD Y3zw== X-Gm-Message-State: AElRT7FlraaMoNzlBhsMikenL+H0hCrVfn90S2M59uR3cZ7dETrn9VqV 2mH5Yer8vlKarmsdrXJDu6Q= X-Google-Smtp-Source: AIpwx4+QOGwecPk2BT3z4CaZ0O0hnOs9TYSDOerENGCtc8PhCPSR5bNggVXMhGt02rVRwvPOYpTn/w== X-Received: by 2002:a24:2281:: with SMTP id o123-v6mr3038905ito.67.1522414567184; Fri, 30 Mar 2018 05:56:07 -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 v67-v6sm2259270itg.26.2018.03.30.05.56.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Mar 2018 05:56:06 -0700 (PDT) In-Reply-To: <9829542a-15bb-6a83-20b0-2fd4dc42b8d4@cs.ucla.edu> (Paul Eggert's message of "Thu, 29 Mar 2018 23:19:56 -0700") 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:144737 Archived-At: Paul Eggert writes: > This patch puts more pressure on the GC. Although it might be nice to > relieve the pressure, I'm not sure it's worth the trouble. > - /* These aren't needed anymore, so don't wait for GC. */ > - free_marker (XCAR (data)); > - free_marker (XCDR (data)); > + /* This isn=E2=80=99t needed anymore, so don=E2=80=99t wait for GC. > + Do not call free_marker on XCAR (data) or XCDR (data), > + though, since record_marker_adjustments may have put > + them on the buffer=E2=80=99s undo list (Bug#30931). */ > free_cons (XCONS (data)); Shouldn't we at least do set-marker? Fset_marker (XCAR (data), Qnil, Qnil) Fset_marker (XCDR (data), Qnil, Qnil)