Skip to content

Instantly share code, notes, and snippets.

@vext01
Created February 1, 2021 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vext01/79341756a58b20490dc46954a45df152 to your computer and use it in GitHub Desktop.
Save vext01/79341756a58b20490dc46954a45df152 to your computer and use it in GitHub Desktop.
sndiod crash
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment