PulseAudio on Cygwin: Failed to create secure directory: Unknown error 13
- by Nithin
I am unable to run PulseAudio on Cygwin.
Operating System: Windows 8 Pro 64 bit
Cygwin Setup.exe Version: 2.831 (64 bit)
PulseAudio Version: 2.1-1
When I run:
pulseaudio -vv
this is the output:
D: [(null)] core-util.c: setpriority() worked.
I: [(null)] core-util.c: Successfully gained nice level -11.
I: [(null)] main.c: This is PulseAudio 2.1
D: [(null)] main.c: Compilation host: x86_64-unknown-cygwin
D: [(null)] main.c: Compilation CFLAGS: -ggdb -O2 -pipe -fdebug-prefix-map=/usr/src/ports/pulseaudio/pulseaudio-2.1-1/build=/usr/src/debug/pulseaudio-2.1-1 -fdebug-prefix-map=/usr/src/ports/pulseaudio/pulseaudio-2.1-1/src/pulseaudio-2.1=/usr/src/debug/pulseaudio-2.1-1 -Wall -W -Wextra -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: [(null)] main.c: Running on host: CYGWIN_NT-6.2 x86_64 1.7.25(0.270/5/3) 2013-08-31 20:37
D: [(null)] main.c: Found 4 CPUs.
I: [(null)] main.c: Page size is 65536 bytes
D: [(null)] main.c: Compiled with Valgrind support: no
D: [(null)] main.c: Running in valgrind mode: no
D: [(null)] main.c: Running in VM: no
D: [(null)] main.c: Optimized build: yes
D: [(null)] main.c: FASTPATH defined, only fast path asserts disabled.
I: [(null)] main.c: Machine ID is 5d8bd07cb924c67197184e42527f2603.
E: [(null)] core-util.c: Failed to create secure directory: Unknown error 13
When I instead run
pulseaudio -vv --start
the output is this:
E: [autospawn] core-util.c: Failed to create secure directory: Unknown error 13
W: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
E: [(null)] main.c: Failed to acquire autospawn lock
When I ran strace pulseaudio -vv, the red-colored lines in the output were:
28 1637050 [main] pulseaudio 5104 fhandler_pty_slave::write: (669): pty output_mutex(0xBC) released
26 1637076 [main] pulseaudio 5104 write: 7 = write(2, 0x3FE171079, 7)
42 1637118 [main] pulseaudio 5104 fhandler_pty_slave::write: pty0, write(0x60003BB40, 51)
27 1637145 [main] pulseaudio 5104 fhandler_pty_slave::write: (654): pty output_mutex (0xBC): waiting -1 ms
23 1637168 [main] pulseaudio 5104 fhandler_pty_slave::write: (654): pty output_mutex: acquired
Failed to create secure directory: Unknown error 13
21 1637189 [main] pulseaudio 5104 fhandler_pty_slave::write: (669): pty output_mutex(0xBC) released
29 1637218 [main] pulseaudio 5104 write: 51 = write(2, 0x60003BB40, 51)
46 1637264 [main] pulseaudio 5104 fhandler_pty_slave::write: pty0, write(0x3FE17106F, 4)
24 1637288 [main] pulseaudio 5104 fhandler_pty_slave::write: (654): pty output_mutex (0xBC): waiting -1 ms
24 1637312 [main] pulseaudio 5104 fhandler_pty_slave::write: (654): pty output_mutex: acquired
Please can someone help me?