Pulseaudio crash

2,602 views
Skip to first unread message

Brandon

unread,
Jun 16, 2012, 12:17:02 AM6/16/12
to gq...@googlegroups.com
I have pulled the git master branch and compiled the code successfully, but because of a pulseaudio problem, it will not run.
On loading of gqrx, the console shows this error:

pulseaudio/pa_sink.cc: pa_simple_new() failed: Connection refused

But it allows me to configure the device and set options.  However after turning the capture on, it crashes with this error:

Assertion 'p' failed at pulse/simple.c:276, function pa_simple_write(). Aborting.

My experience with audio issues such as this is that something else is usually using the audio resources, however i have checked my processes and closed everything out that could possibly use it.  The usual suspects such as the Browser and flash plugin were not running.

Oddly enough, the fork here: https://github.com/mathisschmieder/gqrx works no problem.  And yes, I did clear out the configuration as suggested.

Any ideas?
Thanks!

Brandon

unread,
Jun 16, 2012, 12:21:15 AM6/16/12
to gq...@googlegroups.com
I forgot to add, that I am using Ubuntu 10.04 64 bit with RTL-SDR.

Alexandru Csete

unread,
Jun 16, 2012, 8:34:17 AM6/16/12
to gq...@googlegroups.com
On Sat, Jun 16, 2012 at 6:17 AM, Brandon <bmu...@gmail.com> wrote:
> I have pulled the git master branch and compiled the code successfully, but
> because of a pulseaudio problem, it will not run.
> On loading of gqrx, the console shows this error:
>
> pulseaudio/pa_sink.cc: pa_simple_new() failed: Connection refused
>
> But it allows me to configure the device and set options.  However after
> turning the capture on, it crashes with this error:
>
> Assertion 'p' failed at pulse/simple.c:276, function pa_simple_write().
> Aborting.

Hi Brandon,

That's a very impressive error...
It sounds like the pulseaudio server is not running at all, which is
really strange as it is the default audio system for Ubuntu. Assuming
that you use Gnome, can you get audio from other applications? Can you
change the Sound Preferences? When the IO configuration shows up, what
devices are listed under audio?

Unfortunately I have no clue how you can end up in such situation.
Maybe you were experimenting with some ALSA or JACK applications that
require killing pulseaudio? You can try to re-install all pulseaudio
packages and see if that helps.

>
> My experience with audio issues such as this is that something else is
> usually using the audio resources, however i have checked my processes and
> closed everything out that could possibly use it.  The usual suspects such
> as the Browser and flash plugin were not running.

Actually, the point in using pulseaudio is indeed to allow several
applications to use audio at the same time.

>
> Oddly enough, the fork here: https://github.com/mathisschmieder/gqrx works
> no problem.  And yes, I did clear out the configuration as suggested.

Yes, but be careful here. The fork replaces the pulseaudio backend
with gr-audio and uses ALSA. That will work regardless of pulseaudio.
But you need to clear the configuration if you go back and forth
between the two versions because the audio device names are not
compatible.

Brandon

unread,
Jun 16, 2012, 9:40:28 AM6/16/12
to gq...@googlegroups.com
That makes sense.  I did not find pulseaudio packages on my system.  I will try to install pulseaudio.
I thought I did have it installed.

Thanks.

Brandon

unread,
Jun 16, 2012, 9:56:55 AM6/16/12
to gq...@googlegroups.com
Ok I did install pulseaudio and now it doesn't crash with that error.  However, I do not get sound.  Other applications do produce sound.  I have gone through the mixer settings as well as alsamixer and restarted pulseaudio server.  This is probably more about pulseaudio than Gqrx now, but do you have any suggestions?  Thanks!

Jasper Ragworth

unread,
Jun 18, 2012, 8:09:38 AM6/18/12
to gq...@googlegroups.com
Use a pulseaudio-compatible mixer and check the gqrx stream isn't turned all the way down.
Reply all
Reply to author
Forward
0 new messages