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, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3173 invoked from network); 20 Jul 2023 04:20:19 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 20 Jul 2023 04:20:19 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1689826820; b=C/dgWKX0Vss0O2RLhB+uzSboaNwYlzvitRANPsTjEkVs/yihgVtmiwQo3Z0hQ996nHXLWu6IXr 5XdkPksWeKMuhDomY89vQCHoqXmihfFQOA7FjyLYotip8OsHAV6aapF1JobsFN8g6ivzeED2Bs ExCF8farvPZpXA7su3GiI/FUmUQDK2sSoVRG2s7lRDvOD09iAXutoCePvRJR9ay7TQsjjqBA87 ht97/GhyyanNH4FgZlZNUoHCbwZqSMBqxd+P+YnkfE1SB/v7du89EmQ2BjPefuDwI74/1HjTQ7 QHOVurZOxeK5lX23npndVlGU+cYqAqP6kxYx+AZXkZzkVw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f43.google.com) smtp.remote-ip=209.85.218.43; dkim=pass header.d=brasslantern-com.20221208.gappssmtp.com header.s=20221208 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=1689826820; bh=r+J559daVGaeVImOCtF/AebKj3tfIz3KZbXtLFYsYmk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=Gt33W9tJB1Y3USwfODPArFH+kwxY9vdpfhyvcewLKL7n/S2+tuUoX9a5/nzVsdPxWq95FyiU0g MQeP/YP8jNy6UqZ1YA9hxGOKPbP1w2y8+RDDp9Csxw1XCeObu6DDtw3uEGqUvbuW6uXqlpzEzE x95clZHWmraUQ4ZJAbLkSl944jdaLXdTpCm7uU/1/Ew0K2lYrs04pAKUXdUzFHSjr1O5e2E3LY SOo4Fou6Qv7P5ff2sqj8KdoQxlASgyzPp9SKXVTaLcG8tAqcvFEQiWWM8a2kmXUVm7jXxYNbKc HzWjsPzEikGN9/alByFAz/+izACPAaiQEY1ZeoYaIvHh8Q==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=K39YvTytzs2w10FULMNme3GbIkPiAqamTvBLfJANfJ8=; b=g25B98ZdHlC/q8IIAytu8t9Ju5 HMc4BM7cmP5t8MJ9AYcIcOrVT/I62Ej16hrMGaaKBmMVhoyFu/Dqfo/8GJ2nMcaH7GrGgWPVWjJF4 F6c6MzouW07XAGdyocVDGircfmL6pP4vdqiwQCAbkkWOJASeHlXUNRmAhkKHvnmdnlhdlaIOokEBi m1DIcejiw2MIfgP2EVOmyybH47OBjoPgm+2ocvU5rM6EM2q2K+8ueo4JJ0xcx0M61fJ0wxIWKpH3C o7nfqvOMrgcAHjd8T0Mr8xddbBNZgDuXKHkXionfMES+MNYqEwcCJXLZ9A+drCm/z2s6AxVphzY11 DrH0sF7A==; Received: by zero.zsh.org with local id 1qML9H-000EUo-HO; Thu, 20 Jul 2023 04:20:19 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f43.google.com) smtp.remote-ip=209.85.218.43; dkim=pass header.d=brasslantern-com.20221208.gappssmtp.com header.s=20221208 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f43.google.com ([209.85.218.43]:52547) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qML92-000EBh-A3; Thu, 20 Jul 2023 04:20:07 +0000 Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-991c786369cso63512966b.1 for ; Wed, 19 Jul 2023 21:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20221208.gappssmtp.com; s=20221208; t=1689826803; x=1690431603; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=K39YvTytzs2w10FULMNme3GbIkPiAqamTvBLfJANfJ8=; b=eO5hmFH1h0wwg1Pxg7fIcF9ZdB3/YjoV8bt16D2Kfds3tbMajC0yn+OhqkWvdANtGT hN/V5FjAC72GsVBrTZy16DRR3NaevcoJ9EfZS+ihHR5X3wyUd/47QvYwIHDK0rTpGHmk jk/Paekv3QUfo5Y0AryqZAhaD6eI9GTBLjHKOSXX1aFSSagtgErECTHWIUxGaEyTU9MT 0AX76cXrOF1KIwVdYD3SIGIK8g2chmiRAzlf/vGFYQArOgcZQ9nIPtxFAzmOfuI3MFxg A384CTnrHAwSljbwuA6daPc6VOAZnHTY/HmcJMV0ZIJaEDug4lUZUoEwbTLdMukeIecf 1PQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689826803; x=1690431603; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K39YvTytzs2w10FULMNme3GbIkPiAqamTvBLfJANfJ8=; b=VxdBBLYHPE6iV4eDOuyincmndD5iu+yaOzPuta9dh6JC0duVF6lktPvNkpkLqBrMC5 An5eqAeDgkVja2tWWfjjBHIqRRTWbVCRuEn7EFUjlOqYK6wzz9+4tJc1REFvUOnTbN73 D9jzgG7Fh/2rGyUXUjNY4oYn3QtwnzXTjZxSpEJx9CbjpgB1NDeqmcaFNjf6thd3d4bg PYjYyz9pMxNfVwGLkuCMg8nhvOV2HNrIfNveGbhd1Qu0KIBp5E7ac5r9amA7S/ju9exR kdfdlqAoHFqN04VsmImHKRGdCJ6XM94YEhhupVA7JPOEeXITL+FSo22yE8zqtff9kXNE ZR2g== X-Gm-Message-State: ABy/qLZqRar/9amtxbybbaHlm69p7JLFUG6ZQwproV9/PXhBrX/uTL04 Eqazp5ktwTdCqkTCYm70PfFH5C102r72MDNJRTYmn1zC2kpPpcgd X-Google-Smtp-Source: APBJJlEbtZRt6+Kqd3P5EmO+P5UhDmRYgm2dbU3Er2Adl3DwZIdDJZVYXIlY0l/Sc0UMzvI5ZQKGufoPfjQKpZ0rcb4= X-Received: by 2002:a17:906:2dc:b0:993:f12a:39cf with SMTP id 28-20020a17090602dc00b00993f12a39cfmr1111022ejk.20.1689826803333; Wed, 19 Jul 2023 21:20:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Wed, 19 Jul 2023 21:19:52 -0700 Message-ID: Subject: Re: Segfault while using zsh/param/private module To: Alezender Tan Cc: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary="0000000000005852390600e37666" X-Seq: 51971 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --0000000000005852390600e37666 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jul 19, 2023 at 3:24=E2=80=AFPM Alezender Tan < tan.wei.xin.alezender+zsh@gmail.com> wrote: > I have the following piece of code involving the use of the > zsh/param/private module that segfaults as seen below > I'm not able to reproduce this using git HEAD on either Ubuntu or MacOS, and "valgrind" on the examples provided does not report any memory error. Optimizer problem? I'm compiling with debugging symbols. --0000000000005852390600e37666 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jul 19, 2023 at 3:24=E2=80=AFPM A= lezender Tan <tan.wei.xin.alezender+zsh@gmail.com> wrote:
=
I have the following piece of code involving the use of th= e zsh/param/private module that segfaults as seen below

I'm not able to reproduce this using git HEAD on= either Ubuntu or MacOS, and "valgrind" on the examples provided = does not report any memory error.

Optimizer proble= m?=C2=A0 I'm compiling with debugging symbols.

--0000000000005852390600e37666--