--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libarts: adding -f with nas causes segfault
- From: Ariel Shkedi <asdebian@dsgml.com>
- Date: Mon, 09 Dec 2002 20:29:38 -0500
- Message-id: <E18LZDO-0005wk-00@blueberry>
Package: libarts
Version: 4:2.2.2-13.woody.5
Severity: important
artsd -a nas -f
segfaults
but
artsd -a nas
works fine.
This may or may not be related to bug #146169. (In that case nas doesn't
work at all, here it works. But the strace segfaults in the exact same
place.)
>strace artsd -a nas -f
(a lot of lines...)
mkdir("/tmp/mcop-as", 0700) = -1 EEXIST (File exists)
lstat64("/tmp/mcop-as", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid32() = 1000
open("/home/as/.MCOP-random-seed", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0600, st_size=32, ...}) = 0
lseek(6, 0, SEEK_SET) = 0
read(6, "eb188567902e4e886d999d6ec64e00f0", 32) = 32
close(6) = 0
getpid() = 20926
lstat64("/home/as/.MCOP-random-seed", {st_mode=S_IFREG|0600, st_size=32, ...}) = 0
time(NULL) = 1039482308
gettimeofday({1039482308, 257727}, NULL) = 0
getpid() = 20926
uname({sys="Linux", node="blueberry", ...}) = 0
open("/dev/urandom", O_RDONLY) = 6
read(6, "2{e\245\260\26Ex\234\350_\207\307\245\231[", 16) = 16
close(6) = 0
mkdir("/tmp/mcop-as", 0700) = -1 EEXIST (File exists)
lstat64("/tmp/mcop-as", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid32() = 1000
open("/tmp/mcop-as/secret-cookie", O_WRONLY|O_CREAT|O_EXCL, 0600) = -1 EEXIST (File exists)
mkdir("/tmp/mcop-as", 0700) = -1 EEXIST (File exists)
lstat64("/tmp/mcop-as", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getuid32() = 1000
open("/tmp/mcop-as/secret-cookie", O_RDONLY) = 6
read(6, "8f17063b2506d977a733feb682eb2b21", 8192) = 32
close(6) = 0
rt_sigaction(SIGHUP, {0x40269970, [HUP], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x40269970, [INT], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x40269970, [TERM], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="blueberry", ...}) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 6
connect(6, {sin_family=AF_UNIX, path="/tmp/.sockets/audio0"}, 22) = 0
fcntl64(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
access("/home/as/.Xauthority", R_OK) = 0
open("/home/as/.Xauthority", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0600, st_size=12731, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(7, "\0\0\0\4\300\250\0\3\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 4096
close(7) = 0
munmap(0x40014000, 4096) = 0
writev(6, [{"l\0\2\0\2\0\22\0\20\0\1@", 12}, {"MIT-MAGIC-COOKIE-1", 18}, {"h;", 2}, {"\217Q\222Q\367\r\3035\257\241Q\205H\271\244+", 16}], 4) = 48
fcntl64(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
read(6, "\1\0\2\0\2\0K\0", 8) = 8
read(6, "\1\0\0\0\0\0@\0\377\377?\0\200\23\240\254*\0\377\377 \7"..., 300) = 300
ioctl(6, 0x541b, [0]) = 0
write(6, "\16&\2\0\0\0@\0\23\1\17\0\0\0@\0\2\0\0\0\0\0\21+\6\2\1"..., 84) = 84
ioctl(6, 0x541b, [32]) = 0
read(6, "\2\'\3\0\246F\371\5\0\0@\0\0\0\2\0\1\0\2\0\1\0\0\0\0p\0"..., 32) = 32
ioctl(6, 0x541b, [0]) = 0
ioctl(6, 0x541b, [0]) = 0
ioctl(6, 0x541b, [0]) = 0
write(6, "\30\0\4\0\0\0@\0\0\0\0\0\2\0@\0!\0\1\0", 20) = 20
read(6, "\1\0\5\0\0\0\0\0\250\267\7\10\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
close(6) = 0
uname({sys="Linux", node="blueberry", ...}) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 6
connect(6, {sin_family=AF_UNIX, path="/tmp/.sockets/audio0"}, 22) = 0
fcntl64(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
access("/home/as/.Xauthority", R_OK) = 0
open("/home/as/.Xauthority", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0600, st_size=12731, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(7, "\0\0\0\4\300\250\0\3\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 4096
close(7) = 0
munmap(0x40014000, 4096) = 0
writev(6, [{"l\372\2\0\2\0\22\0\20\0\7\10", 12}, {"MIT-MAGIC-COOKIE-1", 18}, {"\10\10", 2}, {"\217Q\222Q\367\r\3035\257\241Q\205H\271\244+", 16}], 4) = 48
fcntl64(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
read(6, "\1\0\2\0\2\0K\0", 8) = 8
read(6, "\1\0\0\0\0\0@\0\377\377?\0\200\23\240\254*\0\377\377 \7"..., 300) = 300
ioctl(6, 0x541b, [0]) = 0
write(6, "\16)\2\0\0\0@\0\23\1\17\0\0\0@\0\2\0\0\0\0\0\21+\6\2\1"..., 84) = 84
ioctl(6, 0x541b, [32]) = 0
read(6, "\2&\3\0\251F\371\5\0\0@\0\0\0\2\0\1\0\2\0\1\0\0\0\0p\0"..., 32) = 32
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux blueberry 2.4.19 #3 Sun Dec 8 14:05:43 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libarts depends on:
ii libaudio2 [nas-lib] 1.6-5 The Network Audio System (NAS). (s
ii libaudiofile0 0.2.3-4 The Audiofile Library
ii libc6 2.2.5-14.3 GNU C Library: Shared libraries an
ii libstdc++2.10-glibc2.2 1:2.95.4-7 The GNU stdc++ library
ii xlibs 4.1.0-16 X Window System client libraries
--- End Message ---