Skip to content

Instantly share code, notes, and snippets.

@vext01
Created January 29, 2021 13:40
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/f2fa3d4cee708ced269273faa1f24cd4 to your computer and use it in GitHub Desktop.
Save vext01/f2fa3d4cee708ced269273faa1f24cd4 to your computer and use it in GitHub Desktop.
sndiod crash
uaudio2 at uhub8 port 4 configuration 1 interface 1 "SteelSeries SteelSeries Arctis 1 Wireless" rev 1.10/1.05 addr 7
uaudio2: class v1, full-speed, sync, channels: 2 play, 1 rec, 4 ctls
audio3 at uaudio2
$ doas egdb --args ./sndiod -d -f rsnd/3
...
(gdb) run
...

Open xfce audio mixer. The main output has only one channel for some reason (I didn't think it was mono).

Click the chain icon to bind the L+R channels and drag it them down.

Thread 1 received signal SIGSEGV, Segmentation fault.
ctlslot_visible (s=0x761ac696b40 <ctlslot_array>, c=0x0) at dev.c:2356
2356            switch (c->scope) {
(gdb) bt
#0  ctlslot_visible (s=0x761ac696b40 <ctlslot_array>, c=0x0) at dev.c:2356
#1  ctlslot_lookup (s=0x761ac696b40 <ctlslot_array>, addr=57311) at dev.c:2377
#2  0x00000761ac68ff4f in sock_execmsg (f=0x7646026e300) at sock.c:1305
#3  0x00000761ac69133c in sock_read (f=0x7646026e300) at sock.c:1693
#4  0x00000761ac68e5e8 in sock_in (arg=0x7646026e300) at sock.c:1847
#5  0x00000761ac688317 in file_process (f=0x763c2a11a80, pfd=<optimized out>)
    at file.c:291
#6  0x00000761ac68881c in file_poll () at file.c:433
#7  0x00000761ac68e132 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