Kirill A. Korinsky wrote (2025-02-02 16:49 CET): > On Sun, 02 Feb 2025 16:33:10 +0100, > Stefan Hagen <sh+openbsd-po...@codevoid.de> wrote: > > > > Kirill A. Korinsky wrote (2025-02-02 12:45 CET): > > > On Sun, 02 Feb 2025 11:40:16 +0100, > > > Stefan Hagen <sh+openbsd-po...@codevoid.de> wrote: > > > > > > > > Hi, > > > > > > > > mocp crashes when trying to play a web stream: > > > > > > > > Feb 2 11:38:05.187035: > > > > /usr/obj/ports/moc-2.6alpha3/mocp-fb0a63b564b40fa861204e2f804b696c6ee573da/io_curl.c:328 > > > > curl_read_internal(): Starting curl... > > > > Feb 2 11:38:05.187360: > > > > /usr/obj/ports/moc-2.6alpha3/mocp-fb0a63b564b40fa861204e2f804b696c6ee573da/io_curl.c:351 > > > > curl_read_internal(): Doing pselect()... > > > > mocp[93617]: pledge "dns", syscall 97 > > > > Abort trap > > > > > > > > Thus, adding the "dns" pledge with the patch below. > > > > > > > > OK? > > > > > > > > > > an attempt to run it with your patch as mocp -D -p http://... fails as: > > > > > > mocp[72461]: pledge "flock", syscall 92 > > > Abort trap (core dumped) > > > > > > shall you add it as well? > > > > Sure. > > > > It doesn't help, but this one helps. > > So, I'm OK with this version.
Thanks and committed (or rather fixed, as I had committed the previous version already...)