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=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 b34a5cd1 for ; Tue, 30 Jul 2019 21:02:56 +0000 (UTC) Received: (qmail 16387 invoked by alias); 30 Jul 2019 21:02:51 -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: 44609 Received: (qmail 24769 invoked by uid 1010); 30 Jul 2019 21:02:51 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f47.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25524. spamassassin: 3.4.2. Clear:RC:0(209.85.166.47):SA:0(-2.0/5.0):. Processed in 0.797268 secs); 30 Jul 2019 21:02:51 -0000 X-Envelope-From: roman.perepelitsa@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.47 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O46nOR3VxXnJ0zPhgmwsb/wgIIz59o7dFpmum2uOE6w=; b=lEqRozpwUT7tqBdLCUSQTuB1rAxAOgM6kdN59jDSMPnP0Bu5WkuKTzNlqGpfOOlpM+ 2So0qWC5NvTJb19+7BIuXyQcIu2hVY2fnSAtxCnHbatdfPiZdfySgoIX4OkgLvWBqZZe GdK6jRb3x16g1R40hWCL72IYB3fHHlmY4r/JGlNbbEqtcNUILsyz+Q7r4AoKC13s4l2m IlfHDFAaemlmkX0Hmkx5CbczNJIQnuPmPA9eR3reVPyi3hiB0HwloZsLeNXk5X7wyipf cUqcJeD8kp6vgEmjPk8jWsSaSPzMtRZCi3xVFXN+h8tQMTzH9rqLM3KarUTDt79LLQ5r untQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O46nOR3VxXnJ0zPhgmwsb/wgIIz59o7dFpmum2uOE6w=; b=Lk7WEh4gsx7WDTxgBj1EGRLB9/tIp5cmyJSEusLrA7XsvxoobSySDBRyasmk6Gtngs 5A+SF2GDRTjiDZ1Wqk5p+ehMY1y9wieDvKlJvDqEUYXFq8Lugg5xUO6Q0UqXAV0DwRwj UTnNUiqcK+132Ju8eFhi/0o/+wRjy+QCZ5hafXrSx3tpvATbER3xdY37P+qegAMF7VCP OtLG/GZ8zod6CA2lOdFGIOiKiw7zVLLVVOgQizXlVYz3ZVLuyooLEjUQBiTasVCk6crH G8Xo6feXYHUtdGMncbrDljhEvVkDtKf4zLG34HUwrZNyX3oBNyN/XV9Fb9sPoE3uJjK9 3z9A== X-Gm-Message-State: APjAAAWyE5xyFX0MGh5byCtBqfPRGjxIgVWFZIeaFswQGnj97cQZaMlJ 27eOgo3qk8X1ZYEnmh0Oh/icCnqddsqaoL9EGTE= X-Google-Smtp-Source: APXvYqywJBEA6OyjJ+HsJzUAxVp8OZ43dQRq4awIGKaspW+6KfyuVFrmup+PM+9CcfKO6IUrB004qHkYtasQYsYnmgo= X-Received: by 2002:a6b:f114:: with SMTP id e20mr108748845iog.169.1564520537111; Tue, 30 Jul 2019 14:02:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roman Perepelitsa Date: Tue, 30 Jul 2019 23:02:05 +0200 Message-ID: Subject: =?UTF-8?Q?Re=3A_A_serious_bug_in_execution_=E2=80=93_where_to_debug=3F?= To: Sebastian Gniazdowski Cc: Bart Schaefer , Zsh hackers list Content-Type: multipart/alternative; boundary="000000000000dbc28b058eec521c" --000000000000dbc28b058eec521c Content-Type: text/plain; charset="UTF-8" On Tue, Jul 30, 2019 at 11:00 PM Sebastian Gniazdowski < sgniazdowski@gmail.com> wrote: > On Tue, 30 Jul 2019 at 20:28, Bart Schaefer > wrote: > > > > On Tue, Jul 30, 2019 at 10:01 AM Sebastian Gniazdowski > > wrote: > > > > > > If I remove the conditional from its third line, i.e. change the line > > > to: > > > > > > ZPLG_REPORTS[_dtrace/_dtrace]+="$2"$'\n' > > > > > > then the problem disappears. > > > > If you change the [[ ... ]] && ... to an if/then, does the behavior > change? > > If you add a "return" or "return $?" at the end of the function, does it > change? > > a) yes, the problem cancels with if-then > b) no, adding one of the return's doesn't change the behavior > I think Bart solved it. Do you have `emulate -L zsh` in your `zle` function? --000000000000dbc28b058eec521c--