Hi Matthias, I already committed the fix, but you can reproduce it on previous version by destroying the window. In my case I use cwm(1) and use a combination of keys which will call "window-delete".
I noticed it by accident on hanging ssh sessions, instead of killing the session I destroyed the window and kept getting the core dumps and the culprit was the missing pledge(2) promise. On 07:12 Wed 27 Sep , Matthias Schmidt wrote: > Hi Ricardo, > > On 26.09.2017 23:54, Ricardo Mestre wrote: > > Hi ports@ > > > > If st's window is deleted then it will dump core due to a missing pledge > > promise, specifically proc. Once the window is deleted it will try to > > send > > a SIGHUP through kill(2), but since proc is missing from the pledge > > applied > > once the parent process then it will abort. > > Is the version you tested different from the current version in ports? I use > the pleged st on all my machines (running -current) and ever saw a core > dump. Any steps on how to reproduce this? > > Cheers > > Matthias