Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Strange terminal resizing behavior on macOS 11.6 and calling pwsh under zsh
- X-seq: zsh-workers 49463
- From: Andrew Owen <andrew.owen@xxxxxxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Strange terminal resizing behavior on macOS 11.6 and calling pwsh under zsh
- Date: Wed, 6 Oct 2021 20:58:01 -0600
- Archived-at: <https://zsh.org/workers/49463>
- In-reply-to: <CAH+w=7Y1zSdR2ADpqECe5OormUsZS-sQduyUFYLwsvfn6TEbHA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <7CE5FEA4-52A2-478B-98E4-1C30F5D6C2CF@principlestudios.com> <CAH+w=7bpeneYSNyETL3kwZhMHxkxUnaYSSSDPDkNAjYCBxAU2g@mail.gmail.com> <45857E5C-99C5-4834-ACCB-30570A2B910D@principlestudios.com> <CAH+w=7Y1zSdR2ADpqECe5OormUsZS-sQduyUFYLwsvfn6TEbHA@mail.gmail.com>
> On Oct 6, 2021, at 8:51 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Oct 6, 2021 at 6:44 PM Andrew Owen
> <andrew.owen@xxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> SYSCALL(args) = 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
>
> 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
>> 2) Try using "exec /usr/local/bin/pwsh ..." in the script
>>
>> This makes it so that the reproduction steps I listed before no longer lead to the crash.
>
> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author