From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43637-ml=inbox.vuxu.org@zsh.org 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 d89c245b for ; Mon, 8 Oct 2018 16:20:05 +0000 (UTC) Received: (qmail 12150 invoked by alias); 8 Oct 2018 16:19:54 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43637 Received: (qmail 1450 invoked by uid 1010); 8 Oct 2018 16:19:54 -0000 X-Qmail-Scanner-Diagnostics: from mailout2.w1.samsung.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(210.118.77.12):SA:0(-7.3/5.0):. Processed in 1.385258 secs); 08 Oct 2018 16:19:54 -0000 X-Envelope-From: p.stephenson@samsung.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181008161948euoutp02b3154b49cdf459c1ea57fe57711b60e5~broYoN6az0697506975euoutp02q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539015588; bh=DsQtZ0BICLUSdzeZZEWEcNZWi5DdE10M4eAVlIMGYVo=; h=Subject:From:To:Date:In-Reply-To:References:From; b=sSdshTk6/LOAtvRudEfNb5TYl4E5Zvx1JlQUa7im7fn/Jvlj7pYkQ/qRsBqdzWvws HPVWi8xCw40hYLd2vaO3XzK+nX7UiH212KpB0r/nHdJMaCYeCd/E+V+OsF5ubHW43p woZenaolj5GVcmeb0dwADbD66mNuONFhzEWFaNLo= X-AuditID: cbfec7f4-835ff700000010c6-b1-5bbb83a47c55 Subject: Re: [PATCH] [long] typeset doesn't report tied parameters (and related issues) From: Peter Stephenson To: Date: Mon, 8 Oct 2018 17:19:46 +0100 In-Reply-To: <1539014554.1395393.1534752912.4E28F19D@webmail.messagingengine.com> X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAIsWRmVeSWpSXmKPExsWy7djPc7pLmndHG3w+y2FxsPkhkwOjx6qD H5gCGKO4bFJSczLLUov07RK4MjbO2slYsI27Yse5UywNjL2cXYycHBICJhLPFj1i72Lk4hAS WMEoMb1/AyuE08ck0fZpMjOE08sksW3PSUaYljuLPkBVLWeUuHpwDStc1atLe6Cc04wS+9cf ZYNwzjNKXHr2iQWkX1ggUuJx/3awWWwChhJTN80Gs0UEJCWuNZ8Gs1kEVCQ2TX8NZnMKBEq8 mfGKCWK3hsSGm8fAbF4BQYmTM5+AzWQWkJdo3job7FgJgcdsEjfufWCHKCqTuDXnFwtEs4vE 9alHmSFsYYlXx7ewQ9gyEqcn97BANLczSqyZ9JodwulhlNh09A7U29YSfbcvAtkcQOs0Jdbv 0ocIO0os3bCWFSQsIcAnceOtIMRBfBKTtk1nhgjzSnS0CUFUq0nsaNrKCBGWkXi6RmECo9Is JN/MQvLNLIRVCxiZVzGKp5YW56anFhvlpZbrFSfmFpfmpesl5+duYgSmg9P/jn/ZwbjrT9Ih RgEORiUe3hl5u6OFWBPLiitzDzFKcDArifCKbt8VLcSbklhZlVqUH19UmpNafIhRmoNFSZx3 2byN0UIC6YklqdmpqQWpRTBZJg5OqQZGw/cP8rX33rsnOq14irDq1YbYs7lFy4UK0t3bGyoX T19s/WL9y+sVvzJSLaVvh4fP1u5e8XpFSbP/8nSRyxqRW9YUVMx5tPTJpAPNi4zVROomes7U P/2geOJmJ7tnWzifelXY/mzs5/xm6SolVP1vmjr3vW31F6dKe09ZLXzpTM73c17rlFz0lViK MxINtZiLihMBEJF5GwMDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42I5/e/4Pd3FzbujDc5PFrY42PyQyYHRY9XB D0wBjFF6NkX5pSWpChn5xSW2StGGFkZ6hpYWekYmlnqGxuaxVkamSvp2NimpOZllqUX6dgl6 GRtn7WQs2MZdsePcKZYGxl7OLkZODgkBE4k7iz6wdjFycQgJLGWUeLPuNBtEQkbi05WP7BC2 sMSfa11sEEXdTBKLlrxhh3BOA3VcbmQCqRISOM8o0Xi0CsTmFTCSuHCijxXEFhaIlHjcv50R xGYTMJSYumk2mC0iIClxrfk0mM0ioCKxafprMJtTIFDizYxXTBALlrBJ/Px6GWwBs4CmROv2 31AnaUhsuHmMCWKZoMTJmU9YIGrkJZq3zmaewCg0C0nLLCRls5CULWBkXsUoklpanJueW2yo V5yYW1yal66XnJ+7iREY/tuO/dy8g/HSxuBDjAIcjEo8vDPydkcLsSaWFVfmHmKU4GBWEuEV 3b4rWog3JbGyKrUoP76oNCe1+BCjKdBHE5mlRJPzgbGZVxJvaGpobmFpaG5sbmxmoSTOe96g MkpIID2xJDU7NbUgtQimj4mDU6qB0XK2vCtD6oEfh22Ob6+/wsi0SnYJ9431Uevkmmq/FO1a 9ye7ybbgYe7m0gWvXr7ft92DaeEHnVwVJdmIY8t8t6/5YsNmWZb6cbo1j8SpiHCpefUnIwNe HpddZKrIsI3plS6LQqNRlpZTc3/Z7CP32VldmDc9s2aTNzY87/t0+vO6qNZdFxceVGIpzkg0 1GIuKk4EADM+cbmVAgAA Message-Id: <20181008161947eucas1p283c719b6b016771e32ae61bff41fe5f4~broXdO7hi1921019210eucas1p2Y@eucas1p2.samsung.com> X-CMS-MailID: 20181008161947eucas1p283c719b6b016771e32ae61bff41fe5f4 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181007133632epcas5p43a3b4c7f0fe1863478748c5cf46ce8ef X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181007133632epcas5p43a3b4c7f0fe1863478748c5cf46ce8ef References: <20180924210550.carijwjibarjivu4@chaz.gmail.com> <20181007133545.zzkrbc3ed6shnk3e@chaz.gmail.com> <20181008090557eucas1p11f18ef9ca4a6e3cc09fd59242f344f96~bltk3bsqO1947719477eucas1p1q@eucas1p1.samsung.com> <20181008141056eucas1p2a9a49ec055d2760e87c17832af9f6591~bp33g9vlR0328803288eucas1p2G@eucas1p2.samsung.com> <1539008917.1366329.1534632080.5313528C@webmail.messagingengine.com> <20181008152406eucas1p1660f190ddb4bcd4c0131c4c84492a9f2~bq3vkNlyg2997729977eucas1p1I@eucas1p1.samsung.com> <20181008154932.dvc5q46ylb66j2mm@tarpaulin.shahaf.local2> <1539014554.1395393.1534752912.4E28F19D@webmail.messagingengine.com> On Mon, 2018-10-08 at 16:02 +0000, Daniel Shahaf wrote: > Daniel Shahaf wrote on Mon, 08 Oct 2018 15:49 +0000: > >  > > I did.  If someone wants to look into it (not necessarly Peter), be my > > guest. > It's crashing on the 'print $manpath' line in B02. Next step is to see if that code chunk on its own is responsible,  typeset MANPATH  manpath=(/ /)  typeset -UT MANPATH manpath  print $manpath --- that's going to need to be within a function to have the right effect, so () {   typeset MANPATH   manpath=(/ /)   typeset -UT MANPATH manpath   print $manpath } --- or if there's some precursor, and if the latter whether $manpath is accessible without a crash at the end of the previous test.  If yes to both it's going to be interesting, but that seems unlikely.  If there's a precursor hopefully it's some previous assignment to manpath or MANPATH that can be tracked down and added to the above by hand. Printing out "$manpath $MANPATH ${(t)manpath} ${(t)MANPATH}" at the top of the test (before it starts crashing) might or might not help. Presumably, then, the bin_typeset call is leaving manpath in a bad state.  This is certainly a somewhat hybrid case as manpath is a special while -T is for user tying --- so this could be down to consistently making sure the specialness stays.  It's not clear from what I've seen so far if the valgrind error is actually within the above code. pws