From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 4c32d1bd for ; Fri, 27 Sep 2019 13:44:28 +0000 (UTC) Received: (qmail 18440 invoked by alias); 27 Sep 2019 13:44:19 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24294 Received: (qmail 23000 invoked by uid 1010); 27 Sep 2019 13:44:18 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25580. spamassassin: 3.4.2. Clear:RC:0(66.111.4.25):SA:0(-2.6/5.0):. Processed in 5.309916 secs); 27 Sep 2019 13:44:18 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:cc:subject:content-type :content-transfer-encoding; s=fm1; bh=0Uy7uQFsi99BhqZlVurimNt+0u c+xsaycIjHNnWn1pY=; b=l94dJPHlwqYtp/3D2nHALiHPIekw65t5zdPwdhs6VV d0414Ht/Zplo0npk4Juwi2NzCNNXgSrkAFHs9i16NfKPFXW8pDX1Y7xJgWinSJnz ycMISNnVqbMVumQOaumD2KZEiMgjLaOyRE9A0W8jwi9o1BA8Ucf6khcJ5DFjSskq 5X7tKmxC7b7SQIGgzmhtfxgZLlqrrAVNwE33mHAui/55oqs7cngWbYuKLgFW7QZc RZlg0s6OBEkzN6jbW/ikUDCpv3JmqTB27yqnOJTHgPT7lNsl4WKkNWBGtW3OfIF7 E2kcNcMKBcd8Q8M28AE+pgK/h3Q/f+mkP27PluOP9zYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=0Uy7uQFsi99BhqZlVurimNt+0uc+xsaycIjHNnWn1 pY=; b=lkJlKkfZ4dC0I3QJO8c5VdZ9/W2CA1OWzoWn1Ff0Y8KxZF+Nmf6cp+ak/ sjsejGGDTzLS1DZD/d4ZuUhmLH35193kKvYEP+uAq7zFa8FVsnI/jBr+XfeJisvX +RlqzZkH47pmybHijAfqJH0XiSsYE5JsKRhL2a3HH15edwtbqM707jbQcS3ALEoB 4CX0JeWxRtSeFnskq+m9TRptQMhPjTPBQR8SiRoy+lCmML3wFXtek8yYStfAF9SD roDtf7nT0RML1tNkX9QImu2w0Rs3rXVmxAVoW6QrM0DVx6Egln6I8y4bAioV+tFM GsHlXN6War1DBk4TOC6PjiazM12DQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeeigdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdffrghn ihgvlhcuufhhrghhrghffdcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvg eqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurdhssegurghnihgvlhdrshhhrghhrghf rdhnrghmvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-305-g4111847-fmstable-20190924v1 Mime-Version: 1.0 Message-Id: In-Reply-To: <1569511631.3770.8.camel@samsung.com> References: <1569314663.5531.4.camel@samsung.com> <1394985674.3969083.1569420087673@mail2.virginmedia.com> <22AgAhXQWzavJGhNA8tFbGSMGk8z3KDGGa-pICX0lWszH622z2_nnc1acuvW3OcIbqAaXM_WAGJwmQU5Oph83DGbfQEplu1t3o7F5omeC4w=@protonmail.com> <1569431085.10786.23.camel@samsung.com> <20190925184609.dxzfvcimy6ydilkm@tarpaulin.shahaf.local2> <1569511631.3770.8.camel@samsung.com> Date: Fri, 27 Sep 2019 13:43:14 +0000 From: "Daniel Shahaf" To: "Peter Stephenson" Cc: zsh-users@zsh.org, "Dennis Schwartz" Subject: Re: TRAPINT doesn't work reliably Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Peter Stephenson wrote on Thu, 26 Sep 2019 15:27 +00:00: > On Wed, 2019-09-25 at 18:46 +0000, Daniel Shahaf wrote: > > Peter Stephenson wrote on Wed, Sep 25, 2019 at 18:04:45 +0100: > > >=20 > > > On Wed, 2019-09-25 at 16:25 +0000, Dennis Schwartz wrote: > > > >=20 > > > > I haven't tried compiling from the latest source code yet. If th= is is > > > > desired I could try this again at a later point in time. > > > I suspect that's going to have to be the next step, if you get the= > > > chance.=C2=A0=C2=A0In the top-level directory, run configure as > > >=20 > > > ./configure --enable-zsh-debug > > >=20 > > Should Dennis use any of these flags as well? =E2=80=94 >=20 > It's not clear anything else is going to help debugging, certainly > if the build that's showing the problem was made (as almost all > distro builds are made) using the system allocators. =C2=A0In that > case none of the zsh memory specials apply, Even without any special configure flags, there's still zhalloc(). The = source of zhalloc() contains some blocks conditional on --enable-zsh-valgrind. I assume passing that configure flag will let valgrind detect use-after-= freeheap() bugs. Also, I thought --enable-zsh-secure-free and --enable-zsh-heap-debug wer= e independent of --enable-zsh-mem*. > and if we turn on zsh memory management we are in a different world > --- which might shows the problem but could well perturb it somewhere > completely different. Sure, any change could make the symptoms disappear, particularly switching to a different allocator. Cheers, Daniel