From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#65110: eshell variable triggers error Date: Sun, 6 Aug 2023 12:20:26 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27964"; mail-complaints-to="usenet@ciao.gmane.io" To: Raoul Comninos , 65110@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 06 21:21:18 2023 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 1qSjJV-00075B-UI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Aug 2023 21:21:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSjJH-0000ba-VZ; Sun, 06 Aug 2023 15:21:03 -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 1qSjJG-0000bQ-Ih for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 15:21:02 -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 1qSjJG-0000tg-Aq for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 15:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSjJF-0002qZ-UA for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2023 15:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Aug 2023 19:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65110 X-GNU-PR-Package: emacs Original-Received: via spool by 65110-submit@debbugs.gnu.org id=B65110.169134964010904 (code B ref 65110); Sun, 06 Aug 2023 19:21:01 +0000 Original-Received: (at 65110) by debbugs.gnu.org; 6 Aug 2023 19:20:40 +0000 Original-Received: from localhost ([127.0.0.1]:60015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSjIt-0002pn-Ok for submit@debbugs.gnu.org; Sun, 06 Aug 2023 15:20:40 -0400 Original-Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:42388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSjIn-0002pR-I5 for 65110@debbugs.gnu.org; Sun, 06 Aug 2023 15:20:37 -0400 Original-Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-686ba29ccb1so2466479b3a.1 for <65110@debbugs.gnu.org>; Sun, 06 Aug 2023 12:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691349628; x=1691954428; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=D2kjSJnc0elXChDMUQhY/8DOIyuaOSv2i9h0D5mdybA=; b=aCkx1rSvB7g9/q3YU5TVwRHs8gZzNiy2YGbSINxQfVVK+VzXQTZkIK/HvUO3CJSMNr pFPnn97w0M1UUfwWoUzzXc1YdIGD3ZjkqYLhB9Y8ZBPDPsqfUyxXwvefmzgDHPJz0J4t sYsVIEvakx4dxBrfRwNoJVuUkrw0eTmKcAHPJl1G6D///xr9KQ/V+TNtO+EksFrIDbP9 Cq04q0YF0xiP429jNkqKk3vzc7HZV9F6IkXJV7DiruIozm3I1dqNd6caWUyXOfcHD1L3 Ojx8aqHIRuRcPGDmn7+KGkPPXptIloBZ5vrlIXdVnwiN6Q3LXk+J9Ew+DxXCrT3qXniy 3MhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691349628; x=1691954428; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=D2kjSJnc0elXChDMUQhY/8DOIyuaOSv2i9h0D5mdybA=; b=a+VxGYMawicTJmVzJKHX1SLnQ6cvsc13bkfdo1BlSwSv2zKVFEMWFBhAU4SvuILmVf BxMYBzE2Y7vnQ+kr7WJYPTRxTf3g5FMD5+I00wcZtcEPECCxcjRqRSmLERc6LpH8Z5pn GLLyVNDe9LXCaqrSqDnQO2mYb1pmRGSEfrE1VMnUyYG+lucK1JfepEkN5jEvQdLTYCmH fXl2c2orTsNKMCNwF3x9uJjuIqtlsvGWuHcDlek0WYGJKSE9vUsrT1whNY/KM4Rr56Pn j+l6uuWG1krwYKoSAKsAO9AaQyzo7GMpOWCLmO+qk9inVzSCS+ly79i4Ts3OULURZlQT +3iw== X-Gm-Message-State: AOJu0YyYLV8oNTGZhGToO3dugZGsiMaZAkPzO2yV/BwJNxVNbY8SyUtx Od2QorvIUy9i6kyQKmr5gxw= X-Google-Smtp-Source: AGHT+IGhC5hdKOmob+L6aEE6OT0TBXB/JTa60AUoc8qCKIVavcSL2w8RIW+rpJkMpUOIky6gTAdPow== X-Received: by 2002:a05:6a00:849:b0:687:61f9:c4ef with SMTP id q9-20020a056a00084900b0068761f9c4efmr6238293pfk.15.1691349627596; Sun, 06 Aug 2023 12:20:27 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id fm6-20020a056a002f8600b006870b923fb3sm4685087pfb.52.2023.08.06.12.20.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Aug 2023 12:20:27 -0700 (PDT) Content-Language: en-US In-Reply-To: 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:266864 Archived-At: On 8/6/2023 1:51 AM, Raoul Comninos wrote: > If I set this variable: > > (setq eshell-list-files-after-cd t) > > Emacs egnerates an error in eshell when changing directories: > > Assertion failed: (> (cdar handle) 0), 0 It looks like this regressed due to commit 073da412a139e317959f56e359ed12de726a0a35, which fixed bug#59545. I'll take a look at resolving this. The I/O refcounting code in Eshell is pretty tricky. I have a WIP patch that will hopefully make it less error-prone, but I'll worry about that later...