Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: TRAPINT doesn't work reliably
- X-seq: zsh-users 24294
- From: "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>
- To: "Peter Stephenson" <p.stephenson@xxxxxxxxxxx>
- Subject: Re: TRAPINT doesn't work reliably
- Date: Fri, 27 Sep 2019 13:43:14 +0000
- Cc: zsh-users@xxxxxxx, "Dennis Schwartz" <dennis.schwartz@xxxxxxxxxxxxxx>
- 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==
- In-reply-to: <1569511631.3770.8.camel@samsung.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20190917164905epcas1p4ad458ffcd504501780d522880c81de3e@epcas1p4.samsung.com> <XwKNAg1qGlWEVe6teZMU0FhD554sBKMAVDblWDoIFxZeOktj1B6qY4Jl7BESBBQFtRKy8SeAa7UzBcB5vShOqFQTgNcZoWShxyjeLaLrCKI=@protonmail.com> <1569314663.5531.4.camel@samsung.com> <Bczpjmkq93UC9ogVXedAec4MSWn1xm79AtK56m7J7_XKU3g1oWkhoUeoj9_CjqM_bdhDM3WFcb0IWT04yMJctdhKDGj_fiAyOLAfaMatz5k=@protonmail.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>
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:
> > >
> > > On Wed, 2019-09-25 at 16:25 +0000, Dennis Schwartz wrote:
> > > >
> > > > I haven't tried compiling from the latest source code yet. If this 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. In the top-level directory, run configure as
> > >
> > > ./configure --enable-zsh-debug
> > >
> > Should Dennis use any of these flags as well? —
>
> 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. In 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 were
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author