Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-11 Thread Felipe Sateler
Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=99356
Control: tags -1 upstream

On 11 January 2017 at 05:09, Bogdan Vatra  wrote:
> On marți, 10 ianuarie 2017 17:24:59 EET Felipe Sateler wrote:
>>
>> Could you please report this bug upstream at
>> https://bugs.freedesktop.org/enter_bug.cgi ?
>
> Done https://bugs.freedesktop.org/show_bug.cgi?id=99356 !

Thanks, marking the bug as forwarded.

-- 

Saludos,
Felipe Sateler



Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-11 Thread Bogdan Vatra
On marți, 10 ianuarie 2017 17:24:59 EET Felipe Sateler wrote:
> Control: retitle -1 pulseaudio: hangs if dbus is malfunctioning
> Control: tags -1 - moreinfo
> 
> On 10 January 2017 at 15:51, Bogdan Vatra  wrote:
> > On marți, 10 ianuarie 2017 20:01:29 EET Bogdan Vatra wrote:
> >> On marți, 10 ianuarie 2017 19:47:44 EET Bogdan Vatra wrote:
> >> > Hi,
> >> > 
> >> > On marți, 10 ianuarie 2017 14:21:02 EET Felipe Sateler wrote:
> >> > > On 10 January 2017 at 12:59, Bogdan Vatra  
wrote:
> >> > > > Hi,
> >> > > > 
> >> > > > Attached, but there is not to much in it ...
> >> > > > 
> >> > > > BTW, immediately aster I'm installing pulseaudio a few (3-4)
> >> > > > instances
> >> > > > are
> >> > > > spawn instantly.
> >> > > 
> >> > > Wow, that hangs pretty fast. I'm guessing it hangs while trying to
> >> > > acquire high-priority scheduling.
> >> > > 
> >> > > The initial bug did not report the architecture, which one it is? Are
> >> > > you using a debian-provided kernel or a custom-built one?
> >> > > 
> >> > > Could you please (after installing pulseaudio-dbgsym), run under gdb
> >> > > and present the trace of where it hangs? Note this is different from
> >> > > the backtrace you already showed, as that is from the client, and we
> >> > > want the one from the server.
> >> > 
> >> > I strace it and judging from the log it doesn't seem to hang.
> >> > Anyway I attached for you the gdb log as you requested.
> >> 
> >> Sorry, I forgot to answer the arch & kernel questions :)
> >> I'm using debian amd64 with debian-provided kernel (I'm way too lazy to
> >> build my own).
> >> 
> >> BogDan.
> > 
> > Ah, I was wrong, it ~hangs (actually it waits 25s for every call) in
> > rtkit_make_high_priority, when it calls
> > dbus_connection_send_with_reply_and_block 
> > and it happens because rtkit fails to start :(
> 
> Right, so it appears the cause is rtkit failing. Still, pulseaudio
> should not hang when rtkit cannot start.
> 
> As a workaround, you might try disabling high-priority and
> realtime-scheduling in /etc/pulse/daemon.conf (although that will
> probably give you suboptimal performance).
> 

I completely removed it, until I figure out whats wrong with rtkit :)

>
> Could you please report this bug upstream at
> https://bugs.freedesktop.org/enter_bug.cgi ?

Done https://bugs.freedesktop.org/show_bug.cgi?id=99356 !

Cheers,
BogDan.



Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Felipe Sateler
Control: retitle -1 pulseaudio: hangs if dbus is malfunctioning
Control: tags -1 - moreinfo

On 10 January 2017 at 15:51, Bogdan Vatra  wrote:
> On marți, 10 ianuarie 2017 20:01:29 EET Bogdan Vatra wrote:
>> On marți, 10 ianuarie 2017 19:47:44 EET Bogdan Vatra wrote:
>> > Hi,
>> >
>> > On marți, 10 ianuarie 2017 14:21:02 EET Felipe Sateler wrote:
>> > > On 10 January 2017 at 12:59, Bogdan Vatra  wrote:
>> > > > Hi,
>> > > >
>> > > > Attached, but there is not to much in it ...
>> > > >
>> > > > BTW, immediately aster I'm installing pulseaudio a few (3-4) instances
>> > > > are
>> > > > spawn instantly.
>> > >
>> > > Wow, that hangs pretty fast. I'm guessing it hangs while trying to
>> > > acquire high-priority scheduling.
>> > >
>> > > The initial bug did not report the architecture, which one it is? Are
>> > > you using a debian-provided kernel or a custom-built one?
>> > >
>> > > Could you please (after installing pulseaudio-dbgsym), run under gdb
>> > > and present the trace of where it hangs? Note this is different from
>> > > the backtrace you already showed, as that is from the client, and we
>> > > want the one from the server.
>> >
>> > I strace it and judging from the log it doesn't seem to hang.
>> > Anyway I attached for you the gdb log as you requested.
>>
>> Sorry, I forgot to answer the arch & kernel questions :)
>> I'm using debian amd64 with debian-provided kernel (I'm way too lazy to
>> build my own).
>>
>> BogDan.
>
> Ah, I was wrong, it ~hangs (actually it waits 25s for every call) in
> rtkit_make_high_priority, when it calls
> dbus_connection_send_with_reply_and_block 
> and it happens because rtkit fails to start :(

Right, so it appears the cause is rtkit failing. Still, pulseaudio
should not hang when rtkit cannot start.

As a workaround, you might try disabling high-priority and
realtime-scheduling in /etc/pulse/daemon.conf (although that will
probably give you suboptimal performance).

Could you please report this bug upstream at
https://bugs.freedesktop.org/enter_bug.cgi ?

-- 

Saludos,
Felipe Sateler



Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Bogdan Vatra
On marți, 10 ianuarie 2017 20:01:29 EET Bogdan Vatra wrote:
> On marți, 10 ianuarie 2017 19:47:44 EET Bogdan Vatra wrote:
> > Hi,
> > 
> > On marți, 10 ianuarie 2017 14:21:02 EET Felipe Sateler wrote:
> > > On 10 January 2017 at 12:59, Bogdan Vatra  wrote:
> > > > Hi,
> > > > 
> > > > Attached, but there is not to much in it ...
> > > > 
> > > > BTW, immediately aster I'm installing pulseaudio a few (3-4) instances
> > > > are
> > > > spawn instantly.
> > > 
> > > Wow, that hangs pretty fast. I'm guessing it hangs while trying to
> > > acquire high-priority scheduling.
> > > 
> > > The initial bug did not report the architecture, which one it is? Are
> > > you using a debian-provided kernel or a custom-built one?
> > > 
> > > Could you please (after installing pulseaudio-dbgsym), run under gdb
> > > and present the trace of where it hangs? Note this is different from
> > > the backtrace you already showed, as that is from the client, and we
> > > want the one from the server.
> > 
> > I strace it and judging from the log it doesn't seem to hang.
> > Anyway I attached for you the gdb log as you requested.
> 
> Sorry, I forgot to answer the arch & kernel questions :)
> I'm using debian amd64 with debian-provided kernel (I'm way too lazy to
> build my own).
> 
> BogDan.

Ah, I was wrong, it ~hangs (actually it waits 25s for every call) in 
rtkit_make_high_priority, when it calls 
dbus_connection_send_with_reply_and_block 
and it happens because rtkit fails to start :(

BogDan.



Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Bogdan Vatra
On marți, 10 ianuarie 2017 19:47:44 EET Bogdan Vatra wrote:
> Hi,
> 
> On marți, 10 ianuarie 2017 14:21:02 EET Felipe Sateler wrote:
> > On 10 January 2017 at 12:59, Bogdan Vatra  wrote:
> > > Hi,
> > > 
> > > Attached, but there is not to much in it ...
> > > 
> > > BTW, immediately aster I'm installing pulseaudio a few (3-4) instances
> > > are
> > > spawn instantly.
> > 
> > Wow, that hangs pretty fast. I'm guessing it hangs while trying to
> > acquire high-priority scheduling.
> > 
> > The initial bug did not report the architecture, which one it is? Are
> > you using a debian-provided kernel or a custom-built one?
> > 
> > Could you please (after installing pulseaudio-dbgsym), run under gdb
> > and present the trace of where it hangs? Note this is different from
> > the backtrace you already showed, as that is from the client, and we
> > want the one from the server.
> 
> I strace it and judging from the log it doesn't seem to hang.
> Anyway I attached for you the gdb log as you requested.

Sorry, I forgot to answer the arch & kernel questions :)
I'm using debian amd64 with debian-provided kernel (I'm way too lazy to build 
my own).

BogDan.



Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Bogdan Vatra
Hi,
On marți, 10 ianuarie 2017 14:21:02 EET Felipe Sateler wrote:
> On 10 January 2017 at 12:59, Bogdan Vatra  wrote:
> > Hi,
> > 
> > Attached, but there is not to much in it ...
> > 
> > BTW, immediately aster I'm installing pulseaudio a few (3-4) instances are
> > spawn instantly.
> 
> Wow, that hangs pretty fast. I'm guessing it hangs while trying to
> acquire high-priority scheduling.
> 
> The initial bug did not report the architecture, which one it is? Are
> you using a debian-provided kernel or a custom-built one?
> 
> Could you please (after installing pulseaudio-dbgsym), run under gdb
> and present the trace of where it hangs? Note this is different from
> the backtrace you already showed, as that is from the client, and we
> want the one from the server.

I strace it and judging from the log it doesn't seem to hang.
Anyway I attached for you the gdb log as you requested.

execve("/usr/bin/pulseaudio", ["pulseaudio", "-", "--log-target=file:pa.log"], [/* 66 vars */]) = 0
brk(NULL)   = 0x55aa05e43000
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f40aa6f6000
access("/etc/ld.so.preload", R_OK)  = 0
open("/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3)= 0
open("/usr/lib/x86_64-linux-gnu/pulseaudio/tls/x86_64/libsystemd.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/pulseaudio/tls/x86_64", 0x7ffededbf1a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/pulseaudio/tls/libsystemd.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/pulseaudio/tls", 0x7ffededbf1a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/pulseaudio/x86_64/libsystemd.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/pulseaudio/x86_64", 0x7ffededbf1a0) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/pulseaudio/libsystemd.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64-linux-gnu/pulseaudio", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=245391, ...}) = 0
mmap(NULL, 245391, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f40aa6ba000
close(3)= 0
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libsystemd.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=557536, ...}) = 0
mmap(NULL, 561777, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40aa63
mprotect(0x7f40aa6b4000, 4096, PROT_NONE) = 0
mmap(0x7f40aa6b5000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x84000) = 0x7f40aa6b5000
mmap(0x7f40aa6b9000, 625, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f40aa6b9000
close(3)= 0
open("/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-9.0.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240Y\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=686776, ...}) = 0
mmap(NULL, 2782208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40aa22f000
mprotect(0x7f40aa2d3000, 2097152, PROT_NONE) = 0
mmap(0x7f40aa4d3000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa4000) = 0x7f40aa4d3000
close(3)= 0
open("/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-9.0.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0R\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=530568, ...}) = 0
mmap(NULL, 2626504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40a9fad000
mprotect(0x7f40aa02c000, 2097152, PROT_NONE) = 0
mmap(0x7f40aa22c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7f000) = 0x7f40aa22c000
close(3)= 0
open("/usr/lib/x86_64-linux-gnu/pulseaudio/libpulse.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libpulse.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \304\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=330640, ...}) = 0
mmap(NULL, 2424904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40a9d5c000
mprotect(0x7f40a9dab000, 2093056, PROT_NONE) = 0
mmap(0x7f40a9faa000, 12288, PROT_READ|PROT_WRITE, 

Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Felipe Sateler
On 10 January 2017 at 12:59, Bogdan Vatra  wrote:
> Hi,
>
> Attached, but there is not to much in it ...
>
> BTW, immediately aster I'm installing pulseaudio a few (3-4) instances are
> spawn instantly.

Wow, that hangs pretty fast. I'm guessing it hangs while trying to
acquire high-priority scheduling.

The initial bug did not report the architecture, which one it is? Are
you using a debian-provided kernel or a custom-built one?

Could you please (after installing pulseaudio-dbgsym), run under gdb
and present the trace of where it hangs? Note this is different from
the backtrace you already showed, as that is from the client, and we
want the one from the server.


-- 

Saludos,
Felipe Sateler



Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Bogdan Vatra
Actually every time when I'm using "$ pactl stat" it starts 2-3 more instances 
of pulseaudio :(

On marți, 10 ianuarie 2017 17:59:38 EET Bogdan Vatra wrote:
> Hi,
> 
> Attached, but there is not to much in it ...
> 
> BTW, immediately aster I'm installing pulseaudio a few (3-4) instances are
> spawn instantly.
> 
> On marți, 10 ianuarie 2017 08:35:05 EET Felipe Sateler wrote:
> > Control: tags -1 moreinfo
> > 
> > Hello Bogdan,
> > 
> > 
> > On Jan 10, 2017 07:39, "Bogdan Vatra"  wrote:
> > 
> > Package: pulseaudio
> > Version: 9.0-5
> > Severity: important
> > 
> > --- Please enter the report below this line. ---
> > For some time (~1month) pulseaudio doesn't work anymore on my system
> > (after
> > I
> > upgrade my os ~1mounth ago). Until now I just removed it because didn't
> > had
> > time to check. But today I've installed libpulse0-dbgsym and
> > pulseaudio-dbgsym
> > packages and I could trace (more or less) the problem.
> > 
> > $ gdb pactl
> > GNU gdb (Debian 7.12-4) 7.12
> > Copyright (C) 2016 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later
> >  > 
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> > and "show warranty" for details.
> > This GDB was configured as "x86_64-linux-gnu".
> > Type "show configuration" for configuration details.
> > For bug reporting instructions, please see:
> > .
> > Find the GDB manual and other documentation resources online at:
> > .
> > For help, type "help".
> > Type "apropos word" to search for commands related to "word"...
> > Reading symbols from pactl...(no debugging symbols found)...done.
> > (gdb) set args stat
> > (gdb) r
> > Starting program: /usr/bin/pactl stat
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> > ^C
> > (gdb) bt
> > #0  0x7727cb2a in __waitpid (pid=pid@entry=990,
> > stat_loc=stat_loc@entry=0x7fffd8f8, options=options@entry=0)
> > 
> > at ../sysdeps/unix/sysv/linux/waitpid.c:29
> > 
> > #1  0x77b98d00 in context_autospawn (c=c@entry=0x557647c0) at
> > pulse/context.c:751
> > #2  0x77b9900f in try_next_connection (c=c@entry=0x557647c0)
> > at
> > pulse/context.c:843
> > #3  0x77b99c7d in pa_context_connect (c=0x557647c0,
> > server=, flags=, api=0x0)
> > 
> > at pulse/context.c:1042
> > 
> > #4  0x7a04 in main ()
> > 
> > As you can see it's hanged in context_autospawn, sadly I have no idea what
> > to
> > do next (besides removing it again) :).
> > 
> > 
> > This suggests the server is failing to start. Is there a pulseaudio
> > process
> > running?(my guess is not) Could you start pulseaudio manually in verbose
> > mode to see what it says?
> > 
> > pulseaudio - --log-target=file:pa.log
> > 
> > And then please attach pa.log to this report
> > 
> > Saludos,
> > Felipe Sateler



Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Bogdan Vatra
Hi,

Attached, but there is not to much in it ...

BTW, immediately aster I'm installing pulseaudio a few (3-4) instances are 
spawn instantly.

 
On marți, 10 ianuarie 2017 08:35:05 EET Felipe Sateler wrote:
> Control: tags -1 moreinfo
> 
> Hello Bogdan,
> 
> 
> On Jan 10, 2017 07:39, "Bogdan Vatra"  wrote:
> 
> Package: pulseaudio
> Version: 9.0-5
> Severity: important
> 
> --- Please enter the report below this line. ---
> For some time (~1month) pulseaudio doesn't work anymore on my system (after
> I
> upgrade my os ~1mounth ago). Until now I just removed it because didn't had
> time to check. But today I've installed libpulse0-dbgsym and
> pulseaudio-dbgsym
> packages and I could trace (more or less) the problem.
> 
> $ gdb pactl
> GNU gdb (Debian 7.12-4) 7.12
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later  
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from pactl...(no debugging symbols found)...done.
> (gdb) set args stat
> (gdb) r
> Starting program: /usr/bin/pactl stat
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> ^C
> (gdb) bt
> #0  0x7727cb2a in __waitpid (pid=pid@entry=990,
> stat_loc=stat_loc@entry=0x7fffd8f8, options=options@entry=0)
> at ../sysdeps/unix/sysv/linux/waitpid.c:29
> #1  0x77b98d00 in context_autospawn (c=c@entry=0x557647c0) at
> pulse/context.c:751
> #2  0x77b9900f in try_next_connection (c=c@entry=0x557647c0) at
> pulse/context.c:843
> #3  0x77b99c7d in pa_context_connect (c=0x557647c0,
> server=, flags=, api=0x0)
> at pulse/context.c:1042
> #4  0x7a04 in main ()
> 
> As you can see it's hanged in context_autospawn, sadly I have no idea what
> to
> do next (besides removing it again) :).
> 
> 
> This suggests the server is failing to start. Is there a pulseaudio process
> running?(my guess is not) Could you start pulseaudio manually in verbose
> mode to see what it says?
> 
> pulseaudio - --log-target=file:pa.log
> 
> And then please attach pa.log to this report
> 
> Saludos,
> Felipe Sateler

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.


Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Felipe Sateler
Control: tags -1 moreinfo

Hello Bogdan,


On Jan 10, 2017 07:39, "Bogdan Vatra"  wrote:

Package: pulseaudio
Version: 9.0-5
Severity: important

--- Please enter the report below this line. ---
For some time (~1month) pulseaudio doesn't work anymore on my system (after
I
upgrade my os ~1mounth ago). Until now I just removed it because didn't had
time to check. But today I've installed libpulse0-dbgsym and
pulseaudio-dbgsym
packages and I could trace (more or less) the problem.

$ gdb pactl
GNU gdb (Debian 7.12-4) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pactl...(no debugging symbols found)...done.
(gdb) set args stat
(gdb) r
Starting program: /usr/bin/pactl stat
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
^C
(gdb) bt
#0  0x7727cb2a in __waitpid (pid=pid@entry=990,
stat_loc=stat_loc@entry=0x7fffd8f8, options=options@entry=0)
at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x77b98d00 in context_autospawn (c=c@entry=0x557647c0) at
pulse/context.c:751
#2  0x77b9900f in try_next_connection (c=c@entry=0x557647c0) at
pulse/context.c:843
#3  0x77b99c7d in pa_context_connect (c=0x557647c0,
server=, flags=, api=0x0)
at pulse/context.c:1042
#4  0x7a04 in main ()

As you can see it's hanged in context_autospawn, sadly I have no idea what
to
do next (besides removing it again) :).


This suggests the server is failing to start. Is there a pulseaudio process
running?(my guess is not) Could you start pulseaudio manually in verbose
mode to see what it says?

pulseaudio - --log-target=file:pa.log

And then please attach pa.log to this report

Saludos,
Felipe Sateler


Bug#850806: [pulseaudio] pulseaudio hangs in "context_autospawn"

2017-01-10 Thread Bogdan Vatra
Package: pulseaudio
Version: 9.0-5
Severity: important

--- Please enter the report below this line. ---
For some time (~1month) pulseaudio doesn't work anymore on my system (after I 
upgrade my os ~1mounth ago). Until now I just removed it because didn't had 
time to check. But today I've installed libpulse0-dbgsym and pulseaudio-dbgsym 
packages and I could trace (more or less) the problem.

$ gdb pactl 
GNU gdb (Debian 7.12-4) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pactl...(no debugging symbols found)...done.
(gdb) set args stat
(gdb) r
Starting program: /usr/bin/pactl stat
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
^C
(gdb) bt
#0  0x7727cb2a in __waitpid (pid=pid@entry=990, 
stat_loc=stat_loc@entry=0x7fffd8f8, options=options@entry=0)
at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x77b98d00 in context_autospawn (c=c@entry=0x557647c0) at 
pulse/context.c:751
#2  0x77b9900f in try_next_connection (c=c@entry=0x557647c0) at 
pulse/context.c:843
#3  0x77b99c7d in pa_context_connect (c=0x557647c0, 
server=, flags=, api=0x0)
at pulse/context.c:1042
#4  0x7a04 in main ()

As you can see it's hanged in context_autospawn, sadly I have no idea what to 
do next (besides removing it again) :). 

Yours,
BogDan.

P.S. I tried to rebuild the packages from source, but it fails to compile it.


--- System information. ---
Architecture: 
Kernel:   Linux 4.8.0-2-amd64

Debian Release: stretch/sid
  500 unstable-debug  deb.debian.org 
  500 unstableftp.debian.org 
  500 stable  repo.skype.com 
  500 stable  dl.google.com 

--- Package information. ---
Depends  (Version) | Installed
==-+-
===
libasound2   (>= 1.0.24.1) | 
libc6(>= 2.15) | 
libcap2(>= 1:2.10) | 
libdbus-1-3(>= 1.9.14) | 
libgcc1 (>= 1:3.0) | 
libice6   (>= 1:1.0.0) | 
libltdl7(>= 2.4.6) | 
liborc-0.4-0 (>= 1:0.4.25) | 
libpulse0(= 9.0-5) | 
libsm6 | 
libsndfile1(>= 1.0.20) | 
libsoxr0(>= 0.1.0) | 
libspeexdsp1(>= 1.2~beta3.2-1) | 
libstdc++6  (>= 4.1.1) | 
libsystemd0| 
libtdb1 (>= 1.2.7+git20101214) | 
libudev1  (>= 183) | 
libwebrtc-audio-processing1| 
libx11-6   | 
libx11-xcb1| 
libxcb1| 
libxtst6   | 
adduser| 
lsb-base   (>= 3.2-13) | 
libasound2-plugins | 
pulseaudio-utils   | 


Recommends  (Version) | Installed
=-+-===
rtkit | 0.11-4


Suggests (Version) | Installed
==-+-===
udev   | 232-8
pavumeter  | 
pavucontrol| 3.0-3+b2
paman  | 
paprefs|