doas egdb sndiod -d -f rsnd/3
Remove device while something is playing:
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000056f09b6d1c0 in dev_abort (d=0x571c83b7000) at dev.c:1276
1276 if (c->opt->dev != d)
(gdb) bt
#0 0x0000056f09b6d1c0 in dev_abort (d=0x571c83b7000) at dev.c:1276
#1 0x0000056f09b732f9 in file_process (f=0x5713d663040, pfd=<optimized out>)
at file.c:289
#2 0x0000056f09b7381c in file_poll () at file.c:433
#3 0x0000056f09b79132 in main (argc=<optimized out>, argv=<optimized out>)
at sndiod.c:687