[pulseaudio-discuss] pulsaudio 0.9.5 aborts on arm big endian gentoo

Andrzej Wasowski wasowski at data.pl
Wed Nov 22 11:31:43 PST 2006


Hello,

I am trying to run pulseaudio daemon on my NSLU2 under Gentoo:

 	Linux wolin 2.6.16 #1 PREEMPT Fri Jun 9 07:34:31 PDT 2006 armv5teb
 	XScale-IXP42x Family rev 1 (v5b) Linksys NSLU2 GNU/Linux


This is a glibc based system.

When I execute it, I get:

 	wasowski at wolin ~ $ pulseaudio -nC
 	main.c: WARNING: called SUID root, but not in group 'pulse-rt'.
 	Aborted

Not very helpful.  In fact the current user is in pulse-rt:

 	wasowski at sancy ~ $ groups
 	tty lp wheel floppy cron audio cdrom video games cdrw users wasowski cvs
 	vmware backup wasowski-smb wasowski-scope wasowski-iioa wasowski-psr
 	wasowski-test wasowski-eclipse wasowski-fevo pulse-access pulse-rt

and I have a feeling that the "abort" has nothing to do with the warning (but
I might be wrong).

Below is the strace output (I cannot understand out of it why the thing
fails).  Does anybody here have any hints?

Andrzej

execve("/usr/bin/pulseaudio", ["pulseaudio", "-nC"], [/* 26 vars */]) = 0
brk(0)                                  = 0x18000
uname({sys="Linux", node="wolin", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=23437, ...}) = 0
mmap2(NULL, 23437, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3)                                = 0
open("/usr/lib/libpulsecore.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\205\354"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=212076, ...}) = 0
mmap2(NULL, 241372, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40024000
mprotect(0x40057000, 28672, PROT_NONE)  = 0
mmap2(0x4005e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x32) = 0x4005e000
close(3)                                = 0
open("/usr/lib/libltdl.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\22\234"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=23012, ...}) = 0
mmap2(NULL, 54508, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4005f000
mprotect(0x40065000, 28672, PROT_NONE)  = 0
mmap2(0x4006c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0x4006c000
close(3)                                = 0
open("/usr/lib/libsamplerate.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\10\364"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=119196, ...}) = 0
mmap2(NULL, 150536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4006d000
mprotect(0x4008a000, 28672, PROT_NONE)  = 0
mmap2(0x40091000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c) = 0x40091000
close(3)                                = 0
open("/usr/lib/libsndfile.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\34\264"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=327576, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40092000
mmap2(NULL, 374396, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40093000
mprotect(0x400e2000, 28672, PROT_NONE)  = 0
mmap2(0x400e9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4e) = 0x400e9000
mmap2(0x400eb000, 13948, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400eb000
close(3)                                = 0
open("/usr/lib/liboil-0.3.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\304$"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=270104, ...}) = 0
mmap2(NULL, 308292, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400ef000
mprotect(0x40128000, 28672, PROT_NONE)  = 0
mmap2(0x4012f000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38) = 0x4012f000
mmap2(0x40138000, 9284, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40138000
close(3)                                = 0
open("/lib/librt.so.1", O_RDONLY)       = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\32\220"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=27896, ...}) = 0
mmap2(NULL, 57848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4013b000
mprotect(0x40141000, 28672, PROT_NONE)  = 0
mmap2(0x40148000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0x40148000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\v\324"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10196, ...}) = 0
mmap2(NULL, 41136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4014a000
mprotect(0x4014c000, 28672, PROT_NONE)  = 0
mmap2(0x40153000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40153000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0002\224"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=685432, ...}) = 0
mmap2(NULL, 704676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40155000
mprotect(0x401f9000, 28672, PROT_NONE)  = 0
mmap2(0x40200000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa3) = 0x40200000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\1T\324"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1141748, ...}) = 0
mmap2(NULL, 1102608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40202000
mmap2(0x4030a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x108) = 0x4030a000
mmap2(0x4030d000, 8976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4030d000
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0K\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=112542, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40310000
mmap2(NULL, 107028, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40311000
mprotect(0x40321000, 28672, PROT_NONE)  = 0
mmap2(0x40328000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0x40328000
mmap2(0x4032a000, 4628, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4032a000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4032c000
syscall_983045(0x4032c440, 0x4032c440, 0x6ec, 0x4032caf8, 0x40023000, 0x40023000, 0, 0x50, 0xffff55b0, 0x40023000, 0x40022fb0, 0xbef9a404, 0, 0xbef9a0e8, 0x8, 0x40002080, 0x20000010, 0x4032c440, 0xbf5c, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
mprotect(0x40328000, 4096, PROT_READ)   = 0
mprotect(0x4030a000, 4096, PROT_READ)   = 0
mprotect(0x40200000, 4096, PROT_READ)   = 0
mprotect(0x40153000, 4096, PROT_READ)   = 0
mprotect(0x40148000, 4096, PROT_READ)   = 0
mprotect(0x40022000, 4096, PROT_READ)   = 0
munmap(0x4001c000, 23437)               = 0
epoll_wait(0x4032c048, 0x4032c440, 0xbef9a6e0, 0x4031510c) = 9084
rt_sigaction(SIGRTMIN, {0x40315664, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x40315550, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbef9a3cc, 38, (nil), 0}) = 0
getuid32()                              = 1001
geteuid32()                             = 1001
brk(0)                                  = 0x18000
brk(0x39000)                            = 0x39000
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 3
read(3, "\207\34\346G", 4)              = 4
close(3)                                = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25428, ...}) = 0
mmap2(NULL, 25428, PROT_READ, MAP_SHARED, 3, 0) = 0x4032d000
close(3)                                = 0
futex(0x4030cbb4, FUTEX_WAKE, 2147483647) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=23437, ...}) = 0
mmap2(NULL, 23437, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3)                                = 0
open("/usr/lib/gcc/armeb-softfloat-linux-gnu/4.1.1/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\34\30"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=45928, ...}) = 0
mmap2(NULL, 75216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40334000
mprotect(0x4033f000, 28672, PROT_NONE)  = 0
mmap2(0x40346000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x40346000
close(3)                                = 0
munmap(0x4001c000, 23437)               = 0
futex(0x403465c4, FUTEX_WAKE, 2147483647) = 0
open("/home/wasowski//.pulse//default.pa", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/pulse/default.pa", O_RDONLY|O_LARGEFILE) = 3
close(3)                                = 0
open("/home/wasowski//.pulse//daemon.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/pulse/daemon.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3733, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001c000
read(3, "# $Id: daemon.conf.in 1287 2006-"..., 4096) = 3733
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x4001c000, 4096)                = 0
getuid32()                              = 1001
geteuid32()                             = 1001
chdir("/")                              = 0
umask(022)                              = 022
umask(037777777077)                     = 022
mkdir("/tmp/pulse-wasowski", 0700)      = -1 EEXIST (File exists)
umask(022)                              = 077
getuid32()                              = 1001
getgid32()                              = 1001
chown32("/tmp/pulse-wasowski", 1001, 1001) = 0
chmod("/tmp/pulse-wasowski", 0700)      = 0
lstat64("/tmp/pulse-wasowski", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
open("/tmp/pulse-wasowski/pid", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 3
fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}, 0xbef98550) = 0
fstat64(3, {st_mode=S_IFREG|0600, st_size=5, ...}) = 0
read(3, "9082\n", 19)                   = 5
read(3, "", 14)                         = 0
kill(9082, SIG_0)                       = -1 ESRCH (No such process)
time(NULL)                              = 1164143221
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2225, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2225, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001c000
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0"..., 4096) = 2225
close(4)                                = 0
munmap(0x4001c000, 4096)                = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2225, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2225, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2225, ...}) = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
connect(4, {sa_family=AF_FILE, path="/dev/log"}, 112) = -1 EPROTOTYPE (Protocol wrong type for socket)
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
connect(4, {sa_family=AF_FILE, path="/dev/log"}, 112) = 0
send(4, "<11>Nov 21 22:07:01 pulseaudio[9"..., 74, MSG_NOSIGNAL) = 74
close(4)                                = 0
_llseek(3, 0, [0], SEEK_SET)            = 0
ftruncate64(3, 0)                       = 0
send(3, "9084\n", 5, MSG_NOSIGNAL)      = -1 ENOTSOCK (Socket operation on non-socket)
write(3, "9084\n", 5)                   = 5
fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbef985d0) = 0
close(3)                                = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=200, rlim_max=200}) = 0
setrlimit(RLIMIT_MEMLOCK, {rlim_cur=0, rlim_max=0}) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
pipe([3, 4])                            = 0
fcntl64(3, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
fcntl64(4, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
mmap2(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40347000
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 5
read(5, "\24\377\23\362", 4)            = 4
close(5)                                = 0
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_IGN}, 8) = 0
pipe([5, 6])                            = 0
fcntl64(5, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(6, F_GETFL)                     = 0x1 (flags O_WRONLY)
fcntl64(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(5, F_GETFD)                     = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
rt_sigaction(SIGINT, {0x4002f30c, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x4002f30c, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR1, {0x4002f30c, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR2, {0x4002f30c, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x4002f30c, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
gettimeofday({1164143222, 73345}, NULL) = 0
rt_sigaction(SIGILL, {0x400fc1d0, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
--- SIGILL (Illegal instruction) @ 0 (0) ---
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
statfs64(umovestr: Input/output error
0x237c, 9084, {???})           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Process 9084 detached



More information about the pulseaudio-discuss mailing list