[pulseaudio-discuss] Hang when `~/.pulse/<hash>-runtime` is invalid

Paul Menzel paulepanter at users.sourceforge.net
Thu Dec 20 15:19:53 PST 2012


Dear PulseAudio folks,


using Debian Sid/unstable with package pulseaudio 2.0-6, the first time
I am having the problem, that sound application like `mplayer
somefile.ogg` or `pulseaudio --check` do not start up and just hang.

Looking into this and with `strace`, which can also attach to running
processes, I see the following endless times.

        readlink("/home/joey/.pulse/1572dc2ca76ca04c3351599547f539a6-runtime", "/tmp/pulse-aFhIgB9UxJ93"..., 99) = 23
        lstat64("/tmp/pulse-aFhIgB9UxJ93", 0xbfe92e60) = -1 ENOENT (No such file or directory)
        umask(077)                              = 022
        mkdir("/tmp/pulse-fe0Ip5fRyI5a", 0700)  = 0
        umask(022)                              = 077
        symlink("/tmp/pulse-fe0Ip5fRyI5a", "/home/joey/.pulse/1572dc2ca76ca04c3351599547f539a6-runtime.tmp") = -1 EEXIST (File exists)
        rmdir("/tmp/pulse-fe0Ip5fRyI5a")        = 0
        nanosleep({0, 10000000}, NULL)          = 0
        readlink("/home/joey/.pulse/1572dc2ca76ca04c3351599547f539a6-runtime", "/tmp/pulse-aFhIgB9UxJ93"..., 99) = 23
        lstat64("/tmp/pulse-aFhIgB9UxJ93", 0xbfe92e60) = -1 ENOENT (No such file or directory)
        umask(077)                              = 022
        mkdir("/tmp/pulse-ubE5cvpBca5R", 0700)  = 0
        umask(022)                              = 077
        symlink("/tmp/pulse-ubE5cvpBca5R", "/home/joey/.pulse/1572dc2ca76ca04c3351599547f539a6-runtime.tmp") = -1 EEXIST (File exists)
        rmdir("/tmp/pulse-ubE5cvpBca5R")        = 0
        nanosleep({0, 10000000}, NULL)          = 0

Analyzing that symbolic link, I see the following.

        $ ls -l ~/.pulse/1572dc2ca76ca04c3351599547f539a6-runtime*
        lrwxrwxrwx 1 joey joey    23 Dez 19 11:49 1572dc2ca76ca04c3351599547f539a6-runtime -> /tmp/pulse-aFhIgB9UxJ93
        lrwxrwxrwx 1 joey joey    23 Dez 20 14:33 1572dc2ca76ca04c3351599547f539a6-runtime.tmp -> /tmp/pulse-2L9K88eMlGn7

But both directories are not available under `/tmp`! Looking at the
dates, it looks quite strange, that the temporary directories should
survive restarts. And the system was restarted several times in between.
I am not sure what caused this and when the symbolic link is supposed to
be deleted.

The solution then was to delete the symbolic link.

        $ rm ~/.pulse/1572dc2ca76ca04c3351599547f539a6-runtime

Is that a known problem? Please advise on how to proceed.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20121221/949e6807/attachment.pgp>


More information about the pulseaudio-discuss mailing list