Bug#735898: pavucontrol segmentation fault

Simone Vellei henomis at gmail.com
Sat Feb 22 23:19:25 UTC 2014


Hi John,
maybe we can investigate also with gdb compiling pavucontrol with debug
symbols:

$ apt-get source pavucontrol && cd pavucontrol-1.0
$ export DEB_BUILD_OPTIONS="nostrip noopt"
$ dpkg-buildpackage -rfakeroot -uc -us
$ sudo dpkg -i ../pavucontrol_1.0-1_i386.deb
$ gdb pavucontrol

and attach here gdb output.

2014-02-22 23:09 GMT+01:00 John M. <jwmwalrus at gmail.com>:

>  Hi,
>
> Running
>
> $ strace pavucontrol > ~/pavucontrol-strace.txt 2>&1
>
>
> shows that the segfault occurs while trying to open
> /dev/shm/pulse-shm-1589235082:
>
> open("/dev/shm/pulse-shm-1589235082", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = -1
> ENOENT (No such file or directory)
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
>
>
> The contents of /dev/shm are:
>
>  $ ll /dev/shm
> total 280
> drwxrwxrwt  2 root root       80 Feb 22 16:23 ./
> drwxr-xr-x 19 root root     3440 Feb 22 13:44 ../
> -rwx------  1 jwm  jwm  67108904 Feb 22 16:10 pulse-shm-1113234651*
> -rwx------  1 jwm  jwm  67108904 Feb 22 16:23 pulse-shm-4016602654*
>
>  strace shows the following, when opening the /dev/shm directory:
>
> openat(AT_FDCWD, "/dev/shm/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) =
> 10
> getdents(10, /* 5 entries */, 32768)    = 168
>
>  So maybe pavucontrol is relying on a wrong number of pulse-related
> devices.
>
> By ending the desktop session, killing all pulseaudio instances, starting
> a new desktop session, and running strace again, I get similar results.
>
> The strace output is attached.
>
> --
> John
>
>
>
>
> On Fri, 2014-02-14 at 09:25 +0100, Vincent Lefevre wrote:
>
> On 2014-02-14 02:40:36 -0500, John M. wrote:> By creating a new user account, I'm able to open pavucontrol from that> account, but only until I log out and in again. Then it's back to> segmentation fault.> > So it seems like the problem is related to a setting in some other> program (gconf? dconf? gstreamer? jack?).
>
> You can try to see with strace.
>
>
>
>


-- 
Simone Vellei (henomis)

GPG KEYID: A3D37CF4
GPG FINGERPRINT: 5A79 3A3A 143E 9B37 9B38  FB86 8E45 8B62 A3D3 7CF4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20140223/cf8cb429/attachment.html>


More information about the pkg-pulseaudio-devel mailing list