Bug#612023: jackd1: Jack1/2 no longer run with Realtime permissions following update

Glen MacArthur info at bandshed.net
Fri Feb 4 20:19:58 UTC 2011


Package: jackd1
Version: 1:0.118+svn4104-1
Severity: grave
Tags: upstream
Justification: renders package unusable

A routine update on 20110204 renders both JACK1 and JACK2 unable to run with
Realtime permissions thus rendering both unuseable for low-latency audio
operations. Updated was performed on 2 different systems running different
Kernels and outcome was the same:

Error message:
15:17:26.065 Patchbay deactivated.
15:17:26.079 Statistics reset.
15:17:26.094 ALSA connection change.
15:17:26.141 ALSA connection graph change.
15:17:27.451 Startup script...
15:17:27.453 artsshell -q terminate
sh: artsshell: command not found
15:17:27.872 Startup script terminated with exit status=32512.
15:17:27.873 JACK is starting...
15:17:27.874 /usr/bin/jackd -dalsa -dhw:0 -r44100 -p1024 -n2
15:17:27.893 JACK was started with PID=7833.
jackd 0.120.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and
others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK is running in realtime mode, but you are not allowed to use realtime
scheduling.
After applying these changes, please re-login in order for them to take effect.
You don't appear to have a sane system configuration. It is very likely that
you
encounter xruns. Please apply all the above mentioned changes and start jack
again!
15:17:27.935 JACK was stopped with exit status=255.
15:17:27.935 Post-shutdown script...
15:17:27.936 killall jackd
jackd: no process found
15:17:28.369 Post-shutdown script terminated with exit status=256.
15:17:30.009 Could not connect to JACK server as client. - Overall operation
failed. - Unable to connect to server. Please check the messages window for
more info.

Output of jack strace:

execve("/usr/bin/jackd", ["/usr/bin/jackd", "-P80", "-dalsa", "-dhw:0",
"-r44100", "-p2048", "-n2"], [/* 31 vars */]) = 0
brk(0)                                  = 0x8df6000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7766000
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=100876, ...}) = 0
mmap2(NULL, 100876, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb774d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libjackserver.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200g\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=138440, ...}) = 0
mmap2(NULL, 170224, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7723000
mmap2(0xb7743000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20) = 0xb7743000
mmap2(0xb7745000, 30960, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7745000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/librt.so.1", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\30\0\0004\0\0\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=30684, ...}) = 0
mmap2(NULL, 33364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb771a000
mmap2(0xb7721000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7721000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`4\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=149392, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7719000
mmap2(NULL, 151680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb76f3000
mmap2(0xb7717000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7717000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20J\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=117367, ...}) = 0
mmap2(NULL, 98784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb76da000
mmap2(0xb76ef000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb76ef000
mmap2(0xb76f1000, 4576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76f1000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\n\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9736, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb76d6000
mmap2(0xb76d8000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb76d8000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320m\1\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1323460, ...}) = 0
mmap2(NULL, 1333608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7590000
mmap2(0xb76d0000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0xb76d0000
mmap2(0xb76d3000, 10600, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76d3000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb758f000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb758e000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb758e6c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
mprotect(0xb76d0000, 8192, PROT_READ)   = 0
mprotect(0xb76d8000, 4096, PROT_READ)   = 0
mprotect(0xb76ef000, 4096, PROT_READ)   = 0
mprotect(0xb7717000, 4096, PROT_READ)   = 0
mprotect(0xb7721000, 4096, PROT_READ)   = 0
mprotect(0xb7784000, 4096, PROT_READ)   = 0
munmap(0xb774d000, 100876)              = 0
set_tid_address(0xb758e728)             = 7871
set_robust_list(0xb758e730, 0xc)        = 0
futex(0xbfded5e0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbfded5e0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL,
bfded5f0) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xb76de410, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb76de8e0, [], SA_RESTART|SA_SIGINFO}, 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
uname({sys="Linux", node="av5devel", ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=5368, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7765000
write(1, "jackd 0.120.1\n", 14jackd 0.120.1
)         = 14
write(1, "Copyright 2001-2009 Paul Davis, "..., 85Copyright 2001-2009 Paul
Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
) = 85
write(1, "jackd comes with ABSOLUTELY NO W"..., 40jackd comes with ABSOLUTELY
NO WARRANTY
) = 40
write(1, "This is free software, and you a"..., 62This is free software, and
you are welcome to redistribute it
) = 62
write(1, "under certain conditions; see th"..., 59under certain conditions; see
the file COPYING for details
) = 59
write(1, "\n", 1
)                       = 1
sched_get_priority_min(SCHED_RR)        = 1
sched_setscheduler(0, SCHED_RR, { 1 })  = -1 EPERM (Operation not permitted)
write(2, "\nJACK is running in realtime mod"..., 87
JACK is running in realtime mode, but you are not allowed to use realtime
scheduling.
) = 87
rt_sigaction(SIGINT, {SIG_IGN, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD,
parent_tidptr=0xbfded1e4) = 7872
waitpid(7872, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 7872
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
brk(0)                                  = 0x8df6000
brk(0x8e17000)                          = 0x8e17000
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=513, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7764000
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 513
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7764000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=100876, ...}) = 0
mmap2(NULL, 100876, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7575000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libnss_compat.so.2", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\16\0\0004\0\0\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=30496, ...}) = 0
mmap2(NULL, 29268, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb775d000
mmap2(0xb7763000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7763000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2201\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=79676, ...}) = 0
mmap2(NULL, 92136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb755e000
mmap2(0xb7571000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7571000
mmap2(0xb7573000, 6120, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7573000
close(3)                                = 0
mprotect(0xb7571000, 4096, PROT_READ)   = 0
mprotect(0xb7763000, 4096, PROT_READ)   = 0
munmap(0xb7575000, 100876)              = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=100876, ...}) = 0
mmap2(NULL, 100876, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7575000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libnss_nis.so.2", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\31\0\0004\0\0\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=38504, ...}) = 0
mmap2(NULL, 37432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7753000
mmap2(0xb775b000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0xb775b000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \32\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=42572, ...}) = 0
mmap2(NULL, 45772, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7552000
mmap2(0xb755c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0xb755c000
close(3)                                = 0
mprotect(0xb755c000, 4096, PROT_READ)   = 0
mprotect(0xb775b000, 4096, PROT_READ)   = 0
munmap(0xb7575000, 100876)              = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 3
fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
open("/etc/default/nss", O_RDONLY)      = -1 ENOENT (No such file or directory)
futex(0xb75747e4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=925, ...}) = 0
mmap2(NULL, 925, PROT_READ, MAP_SHARED, 3, 0) = 0xb7752000
_llseek(3, 925, [925], SEEK_SET)        = 0
munmap(0xb7752000, 925)                 = 0
close(3)                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 3
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=925, ...}) = 0
mmap2(NULL, 925, PROT_READ, MAP_SHARED, 3, 0) = 0xb7752000
_llseek(3, 925, [925], SEEK_SET)        = 0
munmap(0xb7752000, 925)                 = 0
close(3)                                = 0
getgroups32(100, [20, 24, 25, 29, 44, 46, 111, 115, 1000]) = 9
getrlimit(RLIMIT_MEMLOCK, {rlim_cur=64*1024, rlim_max=64*1024}) = 0
getrlimit(RLIMIT_MEMLOCK, {rlim_cur=64*1024, rlim_max=64*1024}) = 0
write(2, "\nAfter applying these changes, p"..., 81
After applying these changes, please re-login in order for them to take effect.
) = 81
write(2, "\nYou don't appear to have a sane"..., 82
You don't appear to have a sane system configuration. It is very likely that
you
) = 82
write(2, "encounter xruns. Please apply al"..., 84encounter xruns. Please apply
all the above mentioned changes and start jack again!
) = 84
exit_group(-1)                          = ?



-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: i386 (i686)

Kernel: Linux 2.6.36-liquorix-2.6.36-3.dmz.2-avlinux-default (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages jackd1 depends on:
ii  coreutils              8.5-1             GNU core utilities
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libasound2             1.0.23-2.1        shared library for ALSA applicatio
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libcelt0-0             0.7.1-1           The CELT codec runtime library
ii  libjack0               1:0.118+svn4104-1 JACK Audio Connection Kit (librari
ii  libreadline6           6.1-3             GNU readline and history libraries
ii  libsamplerate0         0.1.7-3           Audio sample rate conversion libra
ii  libsndfile1            1.0.21-3          Library for reading/writing audio 

Versions of packages jackd1 recommends:
ii  jackd1-firewire        1:0.118+svn4104-1 JACK Audio Connection Kit (FFADO b
ii  libpam-modules         1.1.1-6.1         Pluggable Authentication Modules f
ii  qjackctl               0.3.7-1           User interface for controlling the

Versions of packages jackd1 suggests:
pn  jack-tools                    <none>     (no description available)
ii  meterbridge                   0.9.2-8+b1 A collection of Audio meters for t

-- debconf information:
* jackd/tweak_rt_limits: true





More information about the pkg-multimedia-maintainers mailing list