scream icon indicating copy to clipboard operation
scream copied to clipboard

Abort when running scream server

Open ryant00000 opened this issue 5 years ago • 2 comments

When running scream with either pulse or alsa, application appears to work until audio output hits the application, when it aborts.

Pulse - Application registers with pulse and volume can be controlled until it crashes scream -o pulse -v Using Pulseaudio output Starting multicast receiver Invalid channel mapping, falling back to CHANNEL_MAP_WAVEEX. Assertion 'pa_channels_valid(channels)' failed at ../pulseaudio/src/pulse/channelmap.c:401, function pa_channel_map_init_extend(). Aborting. Aborted (core dumped)

Alsa - scream -o alsa -v Using ALSA output Starting multicast receiver ALSA lib pcm.c:8627:(snd_pcm_set_params) Channels count (0) not available for PLAYBACK: Invalid argument snd_pcm_set_params: Invalid argument Segmentation fault (core dumped)

ryant00000 avatar Oct 20 '20 01:10 ryant00000

Sorry for the late answer. This looks like you are running an old Scream driver version against a newer Receiver. Please make sure both the driver and the receiver are current.

duncanthrax avatar Nov 23 '20 19:11 duncanthrax

Hi, I'm also getting this same problem, but only after it runs a bit, so it might be a different bug. I'm using 3.5 to receive on Linux, and 3.6 to send on Windows, but considering the release notes I assume these are the same "version"?

Logs from systemd
Jun 01 22:45:56 Draconnet scream[1780812]: Assertion 'pa_channels_valid(channels)' failed at ../pulseaudio/src/pulse/channelmap.c:401, function pa_channel_map_init_extend(). Aborting.
Jun 01 22:45:56 Draconnet systemd-coredump[1783679]: [🡕] Process 1780812 (scream) of user 1000 dumped core.
                                                     
                                                     Stack trace of thread 1780812:
                                                     #0  0x00007fe17dc4dd22 raise (libc.so.6 + 0x3cd22)
                                                     #1  0x00007fe17dc37862 abort (libc.so.6 + 0x26862)
                                                     #2  0x00007fe17decb0a7 pa_channel_map_init_extend (libpulse.so.0 + 0xf0a7)
                                                     #3  0x000056223a2dd3da pulse_output_send (scream + 0x33da)
                                                     #4  0x000056223a2dc433 main (scream + 0x2433)
                                                     #5  0x00007fe17dc38b25 __libc_start_main (libc.so.6 + 0x27b25)
                                                     #6  0x000056223a2dc62e _start (scream + 0x262e)
                                                     
                                                     Stack trace of thread 1780827:
                                                     #0  0x00007fe17dd04b2f __poll (libc.so.6 + 0xf3b2f)
                                                     #1  0x00007fe17deef654 n/a (libpulse.so.0 + 0x33654)
                                                     #2  0x00007fe17ded89a9 pa_mainloop_poll (libpulse.so.0 + 0x1c9a9)
                                                     #3  0x00007fe17dee3281 pa_mainloop_iterate (libpulse.so.0 + 0x27281)
                                                     #4  0x00007fe17dee3331 pa_mainloop_run (libpulse.so.0 + 0x27331)
                                                     #5  0x00007fe17def37fe n/a (libpulse.so.0 + 0x377fe)
                                                     #6  0x00007fe17dbe25cc n/a (libpulsecommon-14.2.so + 0x565cc)
                                                     #7  0x00007fe17d9d2259 start_thread (libpthread.so.0 + 0x9259)
                                                     #8  0x00007fe17dd0f5e3 __clone (libc.so.6 + 0xfe5e3)

octylFractal avatar Jun 02 '21 18:06 octylFractal