Bug 96748 - Deadlock in the daemon after mmap issues
Summary: Deadlock in the daemon after mmap issues
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-30 14:10 UTC by Marcin Lewandowski
Modified: 2018-07-30 09:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Marcin Lewandowski 2016-06-30 14:10:59 UTC
Version 9.0.

I have found out that if there's an issue with mmap in srbchannel

Jun 30 16:03:47 001-euw1-plumber pulseaudio[32349]: [pulseaudio] shm.c: mmap() failed: Resource temporarily unavailable
Jun 30 16:03:47 001-euw1-plumber pulseaudio[32349]: [pulseaudio] shm.c: mmap() failed: Resource temporarily unavailable
Jun 30 16:03:47 001-euw1-plumber pulseaudio[32349]: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: Failed to allocate shared writable memory pool.
Jun 30 16:03:47 001-euw1-plumber pulseaudio[32349]: [pulseaudio] module-loopback.c: No such source.
Jun 30 16:03:47 001-euw1-plumber pulseaudio[32349]: [pulseaudio] module.c: Failed to load module "module-loopback" (argument: "source=something.monitor sink=somethingelse_dont_move=true sink_dont_move=true"): initialization failed.

the daemon can silently hang.

You cannot connect:

$ pacmd
Daemon not responding.


$ strace pacmd
execve("/opt/myapp-abc-1.0/bin/pacmd", ["pacmd"], [/* 16 vars */]) = 0
brk(NULL)                               = 0xdcc000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb31075d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/tls/x86_64/libpulse.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/opt/myapp-abc-1.0/lib/tls/x86_64", 0x7ffca04fb5a0) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/tls/libpulse.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/opt/myapp-abc-1.0/lib/tls", 0x7ffca04fb5a0) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/x86_64/libpulse.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/opt/myapp-abc-1.0/lib/x86_64", 0x7ffca04fb5a0) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/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\0\314\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=333600, ...}) = 0
mmap(NULL, 2427752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3102e9000
mprotect(0x7fb310338000, 2097152, PROT_NONE) = 0
mmap(0x7fb310538000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4f000) = 0x7fb310538000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/libpulsecommon-9.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/pulseaudio/tls/x86_64/libpulsecommon-9.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/opt/myapp-abc-1.0/lib/pulseaudio/tls/x86_64", 0x7ffca04fb570) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/pulseaudio/tls/libpulsecommon-9.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/opt/myapp-abc-1.0/lib/pulseaudio/tls", 0x7ffca04fb570) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/pulseaudio/x86_64/libpulsecommon-9.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/opt/myapp-abc-1.0/lib/pulseaudio/x86_64", 0x7ffca04fb570) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/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\260?\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=486784, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb31075c000
mmap(NULL, 2582600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb310072000
mprotect(0x7fb3100e7000, 2093056, PROT_NONE) = 0
mmap(0x7fb3102e6000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x74000) = 0x7fb3102e6000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/pulseaudio/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=35786, ...}) = 0
mmap(NULL, 35786, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb310753000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.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\360`\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=138744, ...}) = 0
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30fe55000
mprotect(0x7fb30fe6d000, 2093056, PROT_NONE) = 0
mmap(0x7fb31006c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fb31006c000
mmap(0x7fb31006e000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb31006e000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/pulseaudio/libc.so.6", 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("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0
mmap(NULL, 3967488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30fa8c000
mprotect(0x7fb30fc4c000, 2093056, PROT_NONE) = 0
mmap(0x7fb30fe4b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7fb30fe4b000
mmap(0x7fb30fe51000, 14848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb30fe51000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/pulseaudio/libjson-c.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/libjson-c.so.2", 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\260'\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=43352, ...}) = 0
mmap(NULL, 2138456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30f881000
mprotect(0x7fb30f88b000, 2093056, PROT_NONE) = 0
mmap(0x7fb30fa8a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7fb30fa8a000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/pulseaudio/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/pulseaudio/libdl.so.2", 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("/lib/x86_64-linux-gnu/libdl.so.2", 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\240\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb310752000
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30f67d000
mprotect(0x7fb30f680000, 2093056, PROT_NONE) = 0
mmap(0x7fb30f87f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fb30f87f000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/pulseaudio/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/pulseaudio/libm.so.6", 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("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0V\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1088952, ...}) = 0
mmap(NULL, 3178744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30f374000
mprotect(0x7fb30f47c000, 2093056, PROT_NONE) = 0
mmap(0x7fb30f67b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x7fb30f67b000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/libsndfile.so.1", 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\0h\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=479552, ...}) = 0
mmap(NULL, 2584352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30f0fd000
mprotect(0x7fb30f16f000, 2097152, PROT_NONE) = 0
mmap(0x7fb30f36f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x72000) = 0x7fb30f36f000
mmap(0x7fb30f372000, 7968, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb30f372000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/lib/pulseaudio/librt.so.1", 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("/lib/x86_64-linux-gnu/librt.so.1", 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"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31712, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb310751000
mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30eef5000
mprotect(0x7fb30eefc000, 2093056, PROT_NONE) = 0
mmap(0x7fb30f0fb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fb30f0fb000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/libFLAC.so.8", 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\240\217\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=367832, ...}) = 0
mmap(NULL, 2462920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30ec9b000
mprotect(0x7fb30ecf3000, 2097152, PROT_NONE) = 0
mmap(0x7fb30eef3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x58000) = 0x7fb30eef3000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/libogg.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 \32\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=26856, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb310750000
mmap(NULL, 2122032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30ea94000
mprotect(0x7fb30ea9a000, 2093056, PROT_NONE) = 0
mmap(0x7fb30ec99000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7fb30ec99000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/libvorbis.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\3206\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=178968, ...}) = 0
mmap(NULL, 2274056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30e868000
mprotect(0x7fb30e893000, 2093056, PROT_NONE) = 0
mmap(0x7fb30ea92000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2a000) = 0x7fb30ea92000
close(3)                                = 0
open("/opt/myapp-abc-1.0/lib/libvorbisenc.so.2", 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 ;\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=690368, ...}) = 0
mmap(NULL, 2785456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb30e5bf000
mprotect(0x7fb30e64c000, 2093056, PROT_NONE) = 0
mmap(0x7fb30e84b000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8c000) = 0x7fb30e84b000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb31074f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb31074e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb31074d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb31074c000
arch_prctl(ARCH_SET_FS, 0x7fb31074d700) = 0
mprotect(0x7fb30fe4b000, 16384, PROT_READ) = 0
mprotect(0x7fb30ec99000, 4096, PROT_READ) = 0
mprotect(0x7fb30f67b000, 4096, PROT_READ) = 0
mprotect(0x7fb30ea92000, 4096, PROT_READ) = 0
mprotect(0x7fb30e84b000, 114688, PROT_READ) = 0
mprotect(0x7fb30eef3000, 4096, PROT_READ) = 0
mprotect(0x7fb31006c000, 4096, PROT_READ) = 0
mprotect(0x7fb30f0fb000, 4096, PROT_READ) = 0
mprotect(0x7fb30f36f000, 8192, PROT_READ) = 0
mprotect(0x7fb30f87f000, 4096, PROT_READ) = 0
mprotect(0x7fb30fa8a000, 4096, PROT_READ) = 0
mprotect(0x7fb3102e6000, 4096, PROT_READ) = 0
mprotect(0x7fb310538000, 4096, PROT_READ) = 0
mprotect(0x602000, 4096, PROT_READ)     = 0
mprotect(0x7fb31075f000, 4096, PROT_READ) = 0
munmap(0x7fb310753000, 35786)           = 0
set_tid_address(0x7fb31074d9d0)         = 18992
set_robust_list(0x7fb31074d9e0, 24)     = 0
rt_sigaction(SIGRTMIN, {0x7fb30fe5ab90, [], SA_RESTORER|SA_SIGINFO, 0x7fb30fe663d0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7fb30fe5ac20, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fb30fe663d0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)                               = 0xdcc000
brk(0xded000)                           = 0xded000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=5168544, ...}) = 0
mmap(NULL, 5168544, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb30e0d1000
close(3)                                = 0
stat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getuid()                                = 1000
access("/home/app/.pulse", F_OK)        = -1 ENOENT (No such file or directory)
umask(077)                              = 02
mkdir("/home/app/.config/pulse", 0700)  = -1 EEXIST (File exists)
umask(02)                               = 077
open("/home/app/.config/pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
getgid()                                = 1001
close(3)                                = 0
open("/opt/myapp-abc-1.0/etc/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/machine-id", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(3, {st_mode=S_IFREG|0444, st_size=33, ...}) = 0
read(3, "5b4291032856154f1caf5ffb5694cdc3"..., 4096) = 33
close(3)                                = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 99) = 23
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app/.config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 4095) = 23
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/tmp/pulse-fGUY2mELUnDa/pid", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EBADF (Bad file descriptor)
fcntl(3, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
fstat(3, {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
read(3, "32349\n", 19)                  = 6
read(3, "", 13)                         = 0
open("/proc/32349/stat", O_RDONLY|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(4, "32349 (pulseaudio) S 1 32349 323"..., 1024) = 315
close(4)                                = 0
kill(32349, SIG_0)                      = 0
fcntl(3, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
close(3)                                = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
stat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getuid()                                = 1000
access("/home/app/.pulse", F_OK)        = -1 ENOENT (No such file or directory)
umask(077)                              = 02
mkdir("/home/app/.config/pulse", 0700)  = -1 EEXIST (File exists)
umask(02)                               = 077
open("/home/app/.config/pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
getgid()                                = 1001
close(4)                                = 0
open("/opt/myapp-abc-1.0/etc/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/machine-id", O_RDONLY|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(4, {st_mode=S_IFREG|0444, st_size=33, ...}) = 0
read(4, "5b4291032856154f1caf5ffb5694cdc3"..., 4096) = 33
close(4)                                = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 99) = 23
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app/.config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 4095) = 23
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/pulse-fGUY2mELUnDa/cli"}, 110) = -1 ECONNREFUSED (Connection refused)
stat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getuid()                                = 1000
access("/home/app/.pulse", F_OK)        = -1 ENOENT (No such file or directory)
umask(077)                              = 02
mkdir("/home/app/.config/pulse", 0700)  = -1 EEXIST (File exists)
umask(02)                               = 077
open("/home/app/.config/pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
getgid()                                = 1001
close(4)                                = 0
open("/opt/myapp-abc-1.0/etc/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/machine-id", O_RDONLY|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(4, {st_mode=S_IFREG|0444, st_size=33, ...}) = 0
read(4, "5b4291032856154f1caf5ffb5694cdc3"..., 4096) = 33
close(4)                                = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 99) = 23
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app/.config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 4095) = 23
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/tmp/pulse-fGUY2mELUnDa/pid", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EBADF (Bad file descriptor)
fcntl(4, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
fstat(4, {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
read(4, "32349\n", 19)                  = 6
read(4, "", 13)                         = 0
open("/proc/32349/stat", O_RDONLY|O_CLOEXEC) = 5
fcntl(5, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(5, "32349 (pulseaudio) S 1 32349 323"..., 1024) = 315
close(5)                                = 0
kill(32349, SIGUSR2)                    = 0
fcntl(4, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
close(4)                                = 0
nanosleep({0, 300000000}, NULL)         = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/pulse-fGUY2mELUnDa/cli"}, 110) = -1 ECONNREFUSED (Connection refused)
stat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getuid()                                = 1000
access("/home/app/.pulse", F_OK)        = -1 ENOENT (No such file or directory)
umask(077)                              = 02
mkdir("/home/app/.config/pulse", 0700)  = -1 EEXIST (File exists)
umask(02)                               = 077
open("/home/app/.config/pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
getgid()                                = 1001
close(4)                                = 0
open("/opt/myapp-abc-1.0/etc/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/machine-id", O_RDONLY|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(4, {st_mode=S_IFREG|0444, st_size=33, ...}) = 0
read(4, "5b4291032856154f1caf5ffb5694cdc3"..., 4096) = 33
close(4)                                = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 99) = 23
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app/.config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 4095) = 23
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/tmp/pulse-fGUY2mELUnDa/pid", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EBADF (Bad file descriptor)
fcntl(4, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
fstat(4, {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
read(4, "32349\n", 19)                  = 6
read(4, "", 13)                         = 0
open("/proc/32349/stat", O_RDONLY|O_CLOEXEC) = 5
fcntl(5, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(5, "32349 (pulseaudio) S 1 32349 323"..., 1024) = 315
close(5)                                = 0
kill(32349, SIGUSR2)                    = 0
fcntl(4, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
close(4)                                = 0
nanosleep({0, 300000000}, NULL)         = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/pulse-fGUY2mELUnDa/cli"}, 110) = -1 ECONNREFUSED (Connection refused)
stat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getuid()                                = 1000
access("/home/app/.pulse", F_OK)        = -1 ENOENT (No such file or directory)
umask(077)                              = 02
mkdir("/home/app/.config/pulse", 0700)  = -1 EEXIST (File exists)
umask(02)                               = 077
open("/home/app/.config/pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
getgid()                                = 1001
close(4)                                = 0
open("/opt/myapp-abc-1.0/etc/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/machine-id", O_RDONLY|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(4, {st_mode=S_IFREG|0444, st_size=33, ...}) = 0
read(4, "5b4291032856154f1caf5ffb5694cdc3"..., 4096) = 33
close(4)                                = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 99) = 23
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app/.config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 4095) = 23
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/tmp/pulse-fGUY2mELUnDa/pid", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EBADF (Bad file descriptor)
fcntl(4, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
fstat(4, {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
read(4, "32349\n", 19)                  = 6
read(4, "", 13)                         = 0
open("/proc/32349/stat", O_RDONLY|O_CLOEXEC) = 5
fcntl(5, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(5, "32349 (pulseaudio) S 1 32349 323"..., 1024) = 315
close(5)                                = 0
kill(32349, SIGUSR2)                    = 0
fcntl(4, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
close(4)                                = 0
nanosleep({0, 300000000}, NULL)         = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/pulse-fGUY2mELUnDa/cli"}, 110) = -1 ECONNREFUSED (Connection refused)
stat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getuid()                                = 1000
access("/home/app/.pulse", F_OK)        = -1 ENOENT (No such file or directory)
umask(077)                              = 02
mkdir("/home/app/.config/pulse", 0700)  = -1 EEXIST (File exists)
umask(02)                               = 077
open("/home/app/.config/pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
getgid()                                = 1001
close(4)                                = 0
open("/opt/myapp-abc-1.0/etc/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/machine-id", O_RDONLY|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(4, {st_mode=S_IFREG|0444, st_size=33, ...}) = 0
read(4, "5b4291032856154f1caf5ffb5694cdc3"..., 4096) = 33
close(4)                                = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 99) = 23
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app/.config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 4095) = 23
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/tmp/pulse-fGUY2mELUnDa/pid", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EBADF (Bad file descriptor)
fcntl(4, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
fstat(4, {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
read(4, "32349\n", 19)                  = 6
read(4, "", 13)                         = 0
open("/proc/32349/stat", O_RDONLY|O_CLOEXEC) = 5
fcntl(5, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(5, "32349 (pulseaudio) S 1 32349 323"..., 1024) = 315
close(5)                                = 0
kill(32349, SIGUSR2)                    = 0
fcntl(4, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
close(4)                                = 0
nanosleep({0, 300000000}, NULL)         = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/pulse-fGUY2mELUnDa/cli"}, 110) = -1 ECONNREFUSED (Connection refused)
stat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getuid()                                = 1000
access("/home/app/.pulse", F_OK)        = -1 ENOENT (No such file or directory)
umask(077)                              = 02
mkdir("/home/app/.config/pulse", 0700)  = -1 EEXIST (File exists)
umask(02)                               = 077
open("/home/app/.config/pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
getgid()                                = 1001
close(4)                                = 0
open("/opt/myapp-abc-1.0/etc/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/var/lib/dbus/machine-id", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/machine-id", O_RDONLY|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(4, {st_mode=S_IFREG|0444, st_size=33, ...}) = 0
read(4, "5b4291032856154f1caf5ffb5694cdc3"..., 4096) = 33
close(4)                                = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 99) = 23
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid()                                = 1000
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/app/.config", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0
readlink("/home/app/.config/pulse/5b4291032856154f1caf5ffb5694cdc3-runtime", "/tmp/pulse-fGUY2mELUnDa", 4095) = 23
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
lstat("/tmp/pulse-fGUY2mELUnDa", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/tmp/pulse-fGUY2mELUnDa/pid", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fcntl(4, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EBADF (Bad file descriptor)
fcntl(4, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
fstat(4, {st_mode=S_IFREG|0600, st_size=6, ...}) = 0
read(4, "32349\n", 19)                  = 6
read(4, "", 13)                         = 0
open("/proc/32349/stat", O_RDONLY|O_CLOEXEC) = 5
fcntl(5, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(5, "32349 (pulseaudio) S 1 32349 323"..., 1024) = 315
close(5)                                = 0
kill(32349, SIGUSR2)                    = 0
fcntl(4, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
close(4)                                = 0
nanosleep({0, 300000000}, NULL)         = 0
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2995, ...}) = 0
read(4, "# Locale name alias data base.\n#"..., 4096) = 2995
read(4, "", 4096)                       = 0
close(4)                                = 0
open("/opt/myapp-abc-1.0/share/locale/en_US.UTF-8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/share/locale/en_US.utf8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/share/locale/en_US/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/share/locale/en.UTF-8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/share/locale/en.utf8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/myapp-abc-1.0/share/locale/en/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/pulseaudio.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
readlink("/proc/self/exe", "/opt/myapp-abc-1.0/bin/pa"..., 99) = 35
open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=26258, ...}) = 0
mmap(NULL, 26258, PROT_READ, MAP_SHARED, 4, 0) = 0x7fb310755000
close(4)                                = 0
futex(0x7fb30fe508c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "Daemon not responding.\n", 23Daemon not responding.
) = 23
close(3)                                = 0
exit_group(1)                           = ?
+++ exited with 1 +++


It does not react to the signals, calling kill (PID) does nothing.


Here's a stack trace:


(gdb) thread apply all bt

Thread 7 (Thread 0x7fe3e7739700 (LWP 32509)):
#0  0x00007fe3f0ac4f51 in __GI_ppoll (fds=0xe38b20, nfds=2, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fe3f18bb767 in ppoll (__ss=0x0, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0xe38cd0) at pulsecore/rtpoll.c:314
#3  0x00007fe3ea34fd89 in thread_func (userdata=0xe33170) at modules/module-null-sink.c:229
#4  0x00007fe3f14106b8 in internal_thread_func (userdata=0xe3f8b0) at pulsecore/thread-posix.c:81
#5  0x00007fe3f0f9e6fa in start_thread (arg=0x7fe3e7739700) at pthread_create.c:333
#6  0x00007fe3f0ad0b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fe3e7f3a700 (LWP 32503)):
#0  0x00007fe3f0ac4f51 in __GI_ppoll (fds=0xe2af10, nfds=2, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fe3f18bb767 in ppoll (__ss=0x0, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0xe26970) at pulsecore/rtpoll.c:314
#3  0x00007fe3ea34fd89 in thread_func (userdata=0xe2ae90) at modules/module-null-sink.c:229
#4  0x00007fe3f14106b8 in internal_thread_func (userdata=0xe35490) at pulsecore/thread-posix.c:81
#5  0x00007fe3f0f9e6fa in start_thread (arg=0x7fe3e7f3a700) at pthread_create.c:333
#6  0x00007fe3f0ad0b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fe3e873b700 (LWP 32497)):
#0  0x00007fe3f0ac4f51 in __GI_ppoll (fds=0xe20b00, nfds=2, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fe3f18bb767 in ppoll (__ss=0x0, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0xe1c400) at pulsecore/rtpoll.c:314
#3  0x00007fe3ea34fd89 in thread_func (userdata=0xe20a80) at modules/module-null-sink.c:229
#4  0x00007fe3f14106b8 in internal_thread_func (userdata=0xe2b030) at pulsecore/thread-posix.c:81
#5  0x00007fe3f0f9e6fa in start_thread (arg=0x7fe3e873b700) at pthread_create.c:333
#6  0x00007fe3f0ad0b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fe3e8f3c700 (LWP 32491)):
#0  0x00007fe3f0ac4f51 in __GI_ppoll (fds=0xe16fa0, nfds=2, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fe3f18bb767 in ppoll (__ss=0x0, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0xe107c0) at pulsecore/rtpoll.c:314
#3  0x00007fe3ea34fd89 in thread_func (userdata=0xe10d20) at modules/module-null-sink.c:229
#4  0x00007fe3f14106b8 in internal_thread_func (userdata=0xe20c20) at pulsecore/thread-posix.c:81
#5  0x00007fe3f0f9e6fa in start_thread (arg=0x7fe3e8f3c700) at pthread_create.c:333
#6  0x00007fe3f0ad0b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fe3ea34d700 (LWP 32485)):
#0  0x00007fe3f0ac4f51 in __GI_ppoll (fds=0xd86280, nfds=2, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fe3f18bb767 in ppoll (__ss=0x0, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0xd80690) at pulsecore/rtpoll.c:314
#3  0x00007fe3ea34fd89 in thread_func (userdata=0xe09630) at modules/module-null-sink.c:229
#4  0x00007fe3f14106b8 in internal_thread_func (userdata=0xd86940) at pulsecore/thread-posix.c:81
#5  0x00007fe3f0f9e6fa in start_thread (arg=0x7fe3ea34d700) at pthread_create.c:333
#6  0x00007fe3f0ad0b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fe3e973d700 (LWP 32479)):
#0  0x00007fe3f0ac4f51 in __GI_ppoll (fds=0xe07030, nfds=2, timeout=<optimized out>, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fe3f18bb767 in ppoll (__ss=0x0, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0xe026d0) at pulsecore/rtpoll.c:314
#3  0x00007fe3ea34fd89 in thread_func (userdata=0xe02880) at modules/module-null-sink.c:229
#4  0x00007fe3f14106b8 in internal_thread_func (userdata=0xe0de80) at pulsecore/thread-posix.c:81
#5  0x00007fe3f0f9e6fa in start_thread (arg=0x7fe3e973d700) at pthread_create.c:333
#6  0x00007fe3f0ad0b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe3f1d36700 (LWP 32349)):
#0  0x00007fe3f0fa6867 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0xd82bd0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xd82bd0, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007fe3f0fa6914 in __new_sem_wait_slow (sem=0xd82bd0, abstime=0x0) at sem_waitcommon.c:181
#3  0x00007fe3f0fa69ba in __new_sem_wait (sem=sem@entry=0xd82bd0) at sem_wait.c:29
#4  0x00007fe3f1410912 in pa_semaphore_wait (s=0xd82bd0) at pulsecore/semaphore-posix.c:61
#5  0x00007fe3f189c9fb in pa_asyncmsgq_send (a=0xe39790, object=<optimized out>, code=code@entry=11, userdata=userdata@entry=0x1, offset=offset@entry=0, chunk=chunk@entry=0x0) at pulsecore/asyncmsgq.c:163
#6  0x00007fe3f18ccbcb in sink_set_state (s=s@entry=0xe45e70, state=state@entry=PA_SINK_IDLE) at pulsecore/sink.c:422
#7  0x00007fe3f18d2297 in pa_sink_put (s=0xe45e70) at pulsecore/sink.c:659
#8  0x00007fe3ea35061d in module_null_sink_LTX_pa__init (m=0xe3f640) at modules/module-null-sink.c:316
#9  0x00007fe3f18b1ff8 in pa_module_load (c=0xd6b9e0, name=name@entry=0xe07a93 "module-null-sink", argument=argument@entry=0xe07aa5 "sink_name=Media.Input.File.RadioKit.Vault-0433e19e-790b-4e19-9255-b3f7358ffb10") at pulsecore/module.c:180
#10 0x00007fe3ea96b718 in command_load_module (pd=<optimized out>, command=<optimized out>, tag=3, t=<optimized out>, userdata=<optimized out>) at pulsecore/protocol-native.c:4623
#11 0x00007fe3f13fae22 in pa_pdispatch_run (pd=0xe3b790, packet=packet@entry=0xe07a70, ancil_data=ancil_data@entry=0xe396d8, userdata=userdata@entry=0xdd9460) at pulsecore/pdispatch.c:346
#12 0x00007fe3ea971ec5 in pstream_packet_callback (p=0xe39440, packet=0xe07a70, ancil_data=0xe396d8, userdata=0xdd9460) at pulsecore/protocol-native.c:4989
#13 0x00007fe3f13fd947 in do_read (p=p@entry=0xe39440, re=re@entry=0xe395c0) at pulsecore/pstream.c:987
#14 0x00007fe3f1400704 in do_pstream_read_write (p=0xe39440) at pulsecore/pstream.c:227
#15 0x00007fe3f165a007 in dispatch_pollfds (m=0xd6a630) at pulse/mainloop.c:655
#16 pa_mainloop_dispatch (m=m@entry=0xd6a630) at pulse/mainloop.c:898
#17 0x00007fe3f165a40c in pa_mainloop_iterate (m=0xd6a630, block=<optimized out>, retval=0x7ffe04b72898) at pulse/mainloop.c:929
#18 0x00007fe3f165a4b0 in pa_mainloop_run (m=m@entry=0xd6a630, retval=retval@entry=0x7ffe04b72898) at pulse/mainloop.c:944
#19 0x00000000004059b4 in main (argc=<optimized out>, argv=<optimized out>) at daemon/main.c:1141
Comment 1 Tanu Kaskinen 2016-06-30 14:34:43 UTC
It might take a while before I have time to investigate this more deeply, but here's a quick comment: The main thread is creating a new null sink, and is stuck waiting for the new sink to process the PA_SINK_MESSAGE_SET_STATE message. All of the sink threads are idly polling, however, so it looks like the message passing system is somehow broken. Or maybe the new sink thread didn't get created properly due to some resource shortage (pa_thread_new() succeeded, though)? The mmap issues don't seem directly related.
Comment 2 GitLab Migration User 2018-07-30 09:54:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/118.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.