From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16193 invoked from network); 7 Oct 2021 02:58:20 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Oct 2021 02:58:20 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1633575500; b=MH+vcAwRVUuy2YRjESD/FXzSNnB6vHQ3/Wz7TdmlbgdAbETwWuJDLaJsoKjg5R7kZSrJIUmKYN G0h4x7kUVEBmg1vkggE/uhycU9SylPIankIlfN+IdlzsOMJ5YwKKTIY5Ik+Dw8nQJ7iIThfaT8 pPNo63qWf6y8ez6hOHgcfFRGNAHP2Ai6P3n+aeIn6ISyzIKCf1WkWxKHtOXq2XmvdQ7QbllEpS FfomThMtRXKr4tBmuIhBv7XD+TsukrE2WFzOZsBpNSyQ1bJFC2/1n6pEnl0HT/QZ1Rvh+S6SQm k+QGvoykqLBceUbN8GA9rYilrbCuuGpRGBnOS5NVMjj0Yw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-il1-f171.google.com) smtp.remote-ip=209.85.166.171; dkim=pass header.d=principlestudios-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=principlestudios.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1633575500; bh=GXhsl9/0Hbciu8fzOe5zQa4hWf/pTn3oqs/np01thWs=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:References:Message-ID:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:MIME-Version:Content-Type:DKIM-Signature: DKIM-Signature; b=MSTubGr587b0TYIcVtUU1REowtQNgUUGVZIxFIVgpF6FumJ8JY9lUz6MU2b3Tgx3i6br8NpoGN l/aZjv6wGMoC1nBHnkWD3zCr8H4Hu+t5avoGIChQItNg3rcwv5huu6812usFTPKZC0tddXcLjK 2SSjuGFedRP+lf+DGUJMTLBnziS3bqxS6XF6CLjNAOeabUKiLOq+c09AaWfcHsGIjDJrQhkdKE F5Il7Dm1yG31CO+WAH5yk27/CVfDdPBGUEkFG7o+XPZwwb/ZvnQxa9tjTi5XwrjW0aX4jfM3Iu mk7z8auk1kIDLVPIqXRAQXHW2fraCTnNLglUAg44s+owdA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=oFt4uD6kSv4999ND0ZxVSDVDbMmWTDlIbnATaqNgh8I=; b=bhAYptk119/ZGjBIhDEnznE2XF y3iY0hHoxNMfQoLVEzAb5VOpC0YkyVhly1VV+NPw3/C8g11pGbwHhSb013XdMCUKfk3kHC5f4Tt3Z 4l50NvEN5xw0/XPDlULKEFPLtR+uj913kYrFkmeqtbOUQRGcktcvOqScIl8BlS3rinwhvXN+sbf2M WfZthTFEeLVhJAHQIrQ6r6Z1Se69HV2rmWvzsBc4JvU4qJ2VTNpVYlpvGY8BPv+CzPaON8FtJvSTY tq41wLTy0LE+6aYtus9Zx/lGjX2aENuAyswG4OE7VOMHdckqwiBHjD9RvzuXijKd7Ny0/p5nOH0px kZCTNE0A==; Received: from authenticated user by zero.zsh.org with local id 1mYJbw-000DIb-55; Thu, 07 Oct 2021 02:58:20 +0000 Authentication-Results: zsh.org; iprev=pass (mail-il1-f171.google.com) smtp.remote-ip=209.85.166.171; dkim=pass header.d=principlestudios-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=principlestudios.com; arc=none Received: from mail-il1-f171.google.com ([209.85.166.171]:33733) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mYJbf-000D0E-Jd; Thu, 07 Oct 2021 02:58:04 +0000 Received: by mail-il1-f171.google.com with SMTP id b6so4982873ilv.0 for ; Wed, 06 Oct 2021 19:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=principlestudios-com.20210112.gappssmtp.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=oFt4uD6kSv4999ND0ZxVSDVDbMmWTDlIbnATaqNgh8I=; b=6+Pm2qg3xnoE6afPbbpkB0y53z0Z0euXnrjDeVE/fYLxvjkq3eloCXA74hps5EnFwL WH9cArSCQZ53AXsU+Hdt4XdhsWBfq2KFNnypP1odGHHYzxqPqKKUbH1tfRiiptl0+A/Q wCIfTuPbnlNLrkB1xJ5y3H6Hs3BFT+29L/4b+YVzWgazA9s059vHRak8GfpHFNw80zII 5Zc4VAzwuJJuiRkyIAbtnPqCbTbBLbP8B2C+cON/oA5COJDUzIUz92MKoD/nScGkdTLp CaDszEjaz/0hSh+nNFvTDClnM0q1u5bC8DoxPo0krJeij6k/gVwj05WF0Ab5JU7K5yf3 iMJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=oFt4uD6kSv4999ND0ZxVSDVDbMmWTDlIbnATaqNgh8I=; b=sWPqHqgykQRHUVPwPJJZiBpVzBl2JXaU1fP64pR0bSOlcLU6aZUZ4rN3CplLoXUCoq fCS1CuaOfMQfUYTHMrLCUKY8EXFXN2GHCnGD/90Mrw/dbGLRz6DmvB1vp6VzNk+v/J53 38MF2dGeo54fuSX2UdN1k/M6G7vcPxPSk1bcNr02BdFbQh9JQXiTJ3Ud5bIYvbVm+fAy B5NHbbhrpcF+RRlNIeisvPTeU7DcY/Yre9VtHH/Kw9y43vAHa4WzLPmv/7bCQvxYJeFI pXMAO71cuA3NnAjxmcAbjZBLcecrGPQHq/kQL33H/Ig1GVDiweZEsd92PJe8+XaX0TKF te2A== X-Gm-Message-State: AOAM532ZisYvl+tR8+Va/CGAxMsL39pjM04LVtDp+1oQUV9qWOweLy9C eyJnoErO5FkNxr2DyvxvTSXjow== X-Google-Smtp-Source: ABdhPJwALJRz2yoT3WIZLbUpMVxwfxTBckFlwIowpB3h6/8suL7jrw4lh9khWKhhyY/b8+VFz9wnOw== X-Received: by 2002:a92:c563:: with SMTP id b3mr893544ilj.227.1633575482305; Wed, 06 Oct 2021 19:58:02 -0700 (PDT) Received: from smtpclient.apple ([2601:281:c102:7920:2976:9ccb:16a8:ed98]) by smtp.gmail.com with ESMTPSA id z6sm13493403iox.28.2021.10.06.19.58.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Oct 2021 19:58:02 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Strange terminal resizing behavior on macOS 11.6 and calling pwsh under zsh From: Andrew Owen In-Reply-To: Date: Wed, 6 Oct 2021 20:58:01 -0600 Cc: Zsh hackers list Content-Transfer-Encoding: quoted-printable Message-Id: <5DB70A6C-893E-47D1-87CE-883C5C4408B4@principlestudios.com> References: <7CE5FEA4-52A2-478B-98E4-1C30F5D6C2CF@principlestudios.com> <45857E5C-99C5-4834-ACCB-30570A2B910D@principlestudios.com> To: Bart Schaefer X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Seq: 49463 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: > On Oct 6, 2021, at 8:51 PM, Bart Schaefer = wrote: >=20 > On Wed, Oct 6, 2021 at 6:44 PM Andrew Owen > wrote: >>=20 >> SYSCALL(args) =3D return >> dtrace: error on enabled probe ID 1657 (ID 258: = syscall::sigprocmask:return): invalid user access in action #5 at DIF = offset 0 >> dtrace: error on enabled probe ID 1657 (ID 258: = syscall::sigprocmask:return): invalid user access in action #5 at DIF = offset 0 >> dtrace: error on enabled probe ID 2212 (ID 270: = syscall::ioctl:return): invalid user access in action #5 at DIF offset 0 >> dtrace: error on enabled probe ID 2082 (ID 530: = syscall::sigreturn:return): invalid user access in action #5 at DIF = offset 0 >=20 > I would guess that means you need to "sudo dtruss ..." My results were gathered with "sudo dtruss -p PID", I think that macOS = locks some things down more than not=20 >> 2) Try using "exec /usr/local/bin/pwsh ..." in the script >>=20 >> This makes it so that the reproduction steps I listed before no = longer lead to the crash. >=20 > Well, there's your workaround, then. It's marginally more "correct" = as well. It is a viable workaround, this error seems notable for occurring only = with zsh and not dash or sh on osx though.=