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



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 ..."

> 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.




Messages sorted by: Reverse Date, Date, Thread, Author