Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: TRAPINT doesn't work reliably
- X-seq: zsh-users 24288
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Subject: Re: TRAPINT doesn't work reliably
- Date: Wed, 25 Sep 2019 17:56:03 +0000
- Accept-language: en-GB, en-US
- Cc: "dennis.schwartz@xxxxxxxxxxxxxx" <dennis.schwartz@xxxxxxxxxxxxxx>
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190925175606euoutp01bbbe0daebae81bc6929c68b2ffae8593~HwA8botvK0062300623euoutp01V
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1569434166; bh=cx8zodjUbsw/rT93w5nFUn5eIMVO2u2cAFj0mDKzoeQ=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=qTvUXYTQQndVoUZcC4/+VNx2jvVwjW1bn4HTNhp6AdBxm9O+HdoE8+ktCmR77cR6b VciEy3dl2kqdcgN0fFUsByUA7AnsbSYb+Dq0DCM88NavZYei1JNtjkhJWCyRSJmZIR krW41vZnBPHOCF3tEnBsIpy4C17p+T6oCS4i8k2Q=
- In-reply-to: <22AgAhXQWzavJGhNA8tFbGSMGk8z3KDGGa-pICX0lWszH622z2_nnc1acuvW3OcIbqAaXM_WAGJwmQU5Oph83DGbfQEplu1t3o7F5omeC4w=@protonmail.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>
- Thread-index: AQHVc6GbrYJvMQPG8UKNqt1hC6aI76c8W2uAgAAoSQCAABlDgA==
- Thread-topic: TRAPINT doesn't work reliably
On Wed, 2019-09-25 at 16:25 +0000, Dennis Schwartz wrote:
> ==1896== Block was alloc'd at
> ==1896== at 0x483877F: malloc (vg_replace_malloc.c:299)
> ==1896== by 0x136A13: zcontext_save_partial (in /usr/bin/zsh)
> ==1896== by 0x165622: parse_subscript (in /usr/bin/zsh)
> ==1896== by 0x17A446: getindex (in /usr/bin/zsh)
> ==1896== by 0x17ABCF: fetchvalue (in /usr/bin/zsh)
> ==1896== by 0x19BDB0: ??? (in /usr/bin/zsh)
> ==1896== by 0x1A0C87: prefork (in /usr/bin/zsh)
> ==1896== by 0x13ABE6: execsubst (in /usr/bin/zsh)
> ==1896== by 0x1674CB: execfor (in /usr/bin/zsh)
> ==1896== by 0x13E44C: ??? (in /usr/bin/zsh)
> ==1896== by 0x13FB6E: ??? (in /usr/bin/zsh)
> ==1896== by 0x13FF11: ??? (in /usr/bin/zsh)
> ==1896==
> ==1896== Invalid read of size 1
One kind of interesting thing here is there's some suggestion that the
original allocation was not simply in top level code, but in some kind
of block (at least a for block) --- assuming, of course, this is
relevant. Is there some structure about the point where you're setting
up the trap? If so, does changing it (making it simpler) have any
effect on the problem?
Cheers
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author