Bug#601008: jackd2: jackd gets stuck in infinite loop after laptop suspend/resume
Lars Luthman
lars.luthman at gmail.com
Fri Oct 22 12:52:29 UTC 2010
Package: jackd2
Version: 1.9.5~dfsg-19
Severity: normal
jackd starts and runs fine on my laptop, but after a suspend/resume
cycle jackd sometimes gets stuck in an infinite loop, using 100% of
one of the CPU cores. I would expect a couple of xruns or other audio
glitches, but not this type of complete lockup.
Steps to reproduce:
1. Run 'jackd -P70 -dalsa -p256 -n2 -r48000 -P'
2. Suspend the computer to RAM
3. Wake the computer back up
The output looks like this:
[ll at innsmouth ~]$ jackd -P70 -d alsa -p256 -n2 -r48000 -P
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 Grame.
jackdmp 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
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 70
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|-|256|2|48000|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at
0xf4300000 irq 22
configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 2
periods
ALSA: final selected sample format for playback: 32bit integer
little-endian
ALSA: use 2 periods for playback
<-- This is where I suspend and resume -->
ALSA: channel flush for playback failed (File descriptor in bad state)
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
ALSA: channel flush for playback failed (File descriptor in bad state)
JackAudioDriver::ProcessAsync: read error, skip cycle
<-- This is repeated, with the lines sometimes coming in different
orders and the alsa_driver_xrun_recovery line more common than others,
until I kill jackd -->
jack main caught signal 15
alsa_driver_xrun_recovery
ALSA: channel flush for playback failed (File descriptor in bad state)
JackAudioDriver::ProcessAsync: read error, skip cycle
alsa_driver_xrun_recovery
ALSA: channel flush for playback failed (File descriptor in bad state)
JackAudioDriver::ProcessAsync: read error, skip cycle
ALSA: channel flush for playback failed (File descriptor in bad state)
Cannot stop driver
Released audio card Audio0
audio_reservation_finish
WARNING: 21760843 message buffer overruns!
[ll at innsmouth ~]$
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.12-rt21-1-amd64 (SMP w/2 CPU cores; 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 jackd2 depends on:
ii coreutils 8.5-1 GNU core utilities
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii libasound2 1.0.23-2 shared library for ALSA applicatio
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libcelt0-0 0.7.1-1 The CELT codec runtime library
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libexpat1 2.0.1-7 XML parsing C library - runtime li
ii libgcc1 1:4.4.5-4 GCC support library
ii libjack-jackd2-0 1.9.5~dfsg-19 JACK Audio Connection Kit (librari
ii libncurses5 5.7+20100313-4 shared libraries for terminal hand
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
ii libstdc++6 4.4.5-4 The GNU Standard C++ Library v3
ii python 2.6.6-3 interactive high-level object-orie
Versions of packages jackd2 recommends:
ii jackd2-firewire 1.9.5~dfsg-19 JACK Audio Connection Kit (FFADO a
ii libpam-modules 1.1.1-6 Pluggable Authentication Modules f
ii qjackctl 0.3.6-1+b1 User interface for controlling the
Versions of packages jackd2 suggests:
pn jack-tools <none> (no description available)
pn libjackasyn0 <none> (no description available)
pn meterbridge <none> (no description available)
-- Configuration Files:
/etc/security/limits.d/audio.conf changed [not included]
-- debconf information:
* jackd/tweak_rt_limits: true
More information about the pkg-multimedia-maintainers
mailing list