From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7921 invoked from network); 23 Mar 2022 17:15:52 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Mar 2022 17:15:52 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1648055752; b=ceMoDtmDs9wMbug+L2NxvjvNToiOiJ0nbU7Wr3x7fYffAXiq5y24k6F/ahsZVWdNquF4H3FsNt Z/9tXRM/gmPB7LJ6BFy+cjvICC2e12e9Di7rkhgcWI5M65EjKVoUVr6U98j3r/ZDzGOUMG27E3 LJe+xjdBiDG/mOUdLwZyznSh3eT7uwcTODOJpF5qlZBq1lqSemlRjMVCMQlpUstpZAKKtZvF5T hkAUSZEaV0yG2s+g+OTXB6v8HYOcW8odoKK0GSGqzU/cpYkvi+woM8riULxOkFjgMpjHjJ1qAX aF8D6jNBJEWKxB5w+6A33oEkq5QcH/srIoq0yPib7F62Xg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yw1-f173.google.com) smtp.remote-ip=209.85.128.173; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1648055752; bh=xBI4gfGtf2s5ECzK2TN+4o1oUiSFQzm9uP0hwz0uG20=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=f5/ILRXt+vJI70yV6WJxvc050TVhW+8eBTdPSeJ8S2G0RkuBYYNOa+YnaoI0mrO474B0ToWpt9 LxvufRQRZNu8YKy1l4ZmbExUf0VSxUFXDiD6DxvX0WaTLOZY5MX14t3/Y4iYlPSzAujcqFea7x MwyQ7huR9AeNS45WD5qgBVsHSozkBUAlfDqFmAnx8PhqfNuHpvn/Fope6SHWnsmXH4BP4v7N8R Og00EFw5zBG3G/P2wYD3UFyLeYrscAS3C7SeCATBWs0cDD4Pg28x1oSWf9ygi1izHYAFBUcPrl bikfBSeogLH+71Lwdim0oak+g9uWV62lZQtEGiG6M19eBw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=T2/Kr9qe1s9Ybhh1Kox9YWfTwDNuyi4tPxH5m+DV67U=; b=EM+jUJA+MJtOu2QQ1S2KfEIv5S pCCD82FPKxuD7sgWgTuv4tXOvUliT6N4WnmGa8CksDB6OCjL8yPlAqrD5/Jd0dFNJ21P/vCUEBN4P rhG4pIkRZ0ayPq9ie5Pe8LFTLyt/06qK4FP0Zx3hh4tcMmrIwM24iGoODLCi0z5jPq57NwY7wg5MO ASdwlXcw6t9TyXy2CWY0xwn6AwnHlqFz3LDQcqfu1E5kk6Md1722z0r2Sl9ALwePJGBcsVfHG1oaU KizmGFNn7bMW4dJGCPG81n0eBoGTiFuAk+/e+wVAO3bsJwK7lG/rjjIMYxufh2h8/EMIb2q357oVt Zmx7hDuw==; Received: from authenticated user by zero.zsh.org with local id 1nX4aN-000Gr3-R9; Wed, 23 Mar 2022 17:15:51 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yw1-f173.google.com) smtp.remote-ip=209.85.128.173; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yw1-f173.google.com ([209.85.128.173]:39200) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nX4ZV-000G8i-2A; Wed, 23 Mar 2022 17:14:58 +0000 Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-2e5827a76f4so24978887b3.6 for ; Wed, 23 Mar 2022 10:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=T2/Kr9qe1s9Ybhh1Kox9YWfTwDNuyi4tPxH5m+DV67U=; b=8RRYuAlyx9gcrmF2PxPc4gGoDbw3eLFrjGh59xdyJ5yD9Jl/n4+ojE9aWatfOjOgr1 hdDQCWuOaEbK6dFRfWuobSElRp/mXspLrU6N6SdfYbPGkMk/vdVcFJRu1QKMcbACxy6z AOxqiEshVEkPbblQVRR/HlJHyf44Kiog85p22aSlUQDTld3YckfWKnZyWgvK2CSQcCVP o8lq6oBtOndwS/usN5FAiEvkEY2wc1Gxt4SNGXfPwm0T6X1RTw8KU8mQZRiwptSso26P aQVAgo47W+06rOTqST+wonLH/rGbJFdz4RhBlD48zmSTecDUgdt2T5Qh0IUy9om+wdJY bR4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=T2/Kr9qe1s9Ybhh1Kox9YWfTwDNuyi4tPxH5m+DV67U=; b=vpuUmq2gbcnqz4wHX4HQz0e43PRmNma3RaHW2rweEO2DyDvOfhfE7sIvfMpzcZ+3tE 1BIgD6pI8CZfJx6zJW0jHLhL+fv+IIC0HsRxwkgwGbWEDii70ohUfJGd1jqWoOoNqDU0 IAu6y7vyM2bUx7zMCh0YRoaGq1d6E9OcPrtQiFxgum2ekG9QcOnG/MOayFQP4ISfHxDf S5xH4Af2q2+nO8WhQ6aJR8eNfHbbG6wABly9TpavJ7xFxug/MQT/ubLh6MQM0/2YWE8X L/oRHQNVylvMGm/dP+/y8wcIixSMl3fqu8jjf+vjW/kPg7bVCsh/P53eqqQ9wQrNT66b KUQQ== X-Gm-Message-State: AOAM5332jZnvXxiiOZAZXhnWGhqxiP8E6S8pJmFCPQ3Ak168OjAwLj9Z 5S2nQHRDfd/tmILNwBao7z5SAu9vM4S3lNqBEW0kRZ0pfr/nuA== X-Google-Smtp-Source: ABdhPJxyb6td7NVypxwKAz4eY6PSwTtGOYhtP65/G572+4hovW3/ImH/++Qe4dw8u3teG+9eIJd4D6xdHdYJH8S+VF0= X-Received: by 2002:a81:4e8b:0:b0:2e5:9124:2f79 with SMTP id c133-20020a814e8b000000b002e591242f79mr929941ywb.296.1648055695803; Wed, 23 Mar 2022 10:14:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Wed, 23 Mar 2022 10:14:44 -0700 Message-ID: Subject: Re: "crash: free invalid next size (fast)" on completion To: =?UTF-8?B?Sm9oYW4gU3Ryw7Zt?= Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 27608 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: (Following up to zsh-users so this thread doesn't appear abandoned; further discussion should probably be directed to zsh-workers@zsh.org.) On Tue, Mar 22, 2022 at 12:41 AM Johan Str=C3=B6m wrote= : > > last week (and now today again, on several terminals after being idle sin= ce Friday) I noticed that several of my terminals crashed and closed when w= riting `git ` or `ls `. Managed to capture one such crash on vide= o before terminal closed, and it printed "free invalid next size (fast)". ... > Stack trace of thread 843836: > #5 0x00007f36842f104d _int_free (libc.so.6 + 0x9b04d) > #6 0x00007f36842f3be3 free (libc.so.6 + 0x9dbe3) > #7 0x00007f36839ffa7f unmetafy_line (zle.so + 0x33a7f) > #8 0x00007f3683a0427a n/a (zle.so + 0x3827a) > #9 0x00007f36839fcc34 completecall (zle.so + 0x30c34) > > These terminals have been running for ~5 days. > On newly opened terminals, tab completion works fine. > > Have had 5.8-1 on this machine since July, never had any issues. 5.8.1-1 = installed on 16 Feb. Hm. There's nothing in the zsh code changes I see that would cause this effect; an actually idle shell should have been sitting blocked on read. Is there any sort of periodic event that might be sending a signal to those shells? Do other completions crash, or only completions that involve file names?