KXStudio handles resume poorly

Bug #666084 reported by Greg M
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
jackit
Fix Released
Unknown
jackd2 (Debian)
Fix Released
Unknown

Bug Description

Related to https://bugs.launchpad.net/kxstudio/+bug/619014

After resume, jackdbus hogs CPU and jackdbus file grows at a rate of about 5 MBps until kill or shutdown. As of this post, everything is up-to-date.

tail --retry --follow=name -n 100 ~/.log/jack/jackdbus.log
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:35:44 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:35:44 2010: ERROR: ALSA: channel flush for playback failed (File descriptor in bad state)
Sun Oct 24 16:35:44 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:36:22 2010: ------------------
Sun Oct 24 16:36:22 2010: Controller activated. Version 1.9.6 (unknown) built on Wed Dec 31 16:00:00 1969
Sun Oct 24 16:36:22 2010: Loading settings from "/home/matt/.config/jack/conf.xml" using expat_2.0.1 ...
Sun Oct 24 16:36:22 2010: setting engine option "driver" to value "alsa"
Sun Oct 24 16:36:22 2010: driver "alsa" selected
Sun Oct 24 16:36:22 2010: setting engine option "realtime" to value "true"
Sun Oct 24 16:36:22 2010: setting for driver "alsa" found
Sun Oct 24 16:36:22 2010: setting driver option "rate" to value "44100"
Sun Oct 24 16:36:22 2010: setting driver option "nperiods" to value "3"
Sun Oct 24 16:36:22 2010: Listening for D-Bus messages
Sun Oct 24 16:36:24 2010: Starting jack server...
Sun Oct 24 16:36:24 2010: JACK server starting in realtime mode with priority 10
Sun Oct 24 16:36:24 2010: Acquired audio card Audio0
Sun Oct 24 16:36:24 2010: creating alsa driver ... hw:0|hw:0|1024|3|44100|0|0|nomon|swmeter|-|32bit
Sun Oct 24 16:36:24 2010: Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0x50320000 irq 22
Sun Oct 24 16:36:24 2010: configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods
Sun Oct 24 16:36:24 2010: ALSA: final selected sample format for capture: 32bit integer little-endian
Sun Oct 24 16:36:24 2010: ALSA: use 3 periods for capture
Sun Oct 24 16:36:24 2010: ALSA: final selected sample format for playback: 32bit integer little-endian
Sun Oct 24 16:36:24 2010: ALSA: use 3 periods for playback
Sun Oct 24 16:36:24 2010: graph reorder: new port 'system:capture_1'
Sun Oct 24 16:36:24 2010: New client 'system' with PID 0
Sun Oct 24 16:36:24 2010: graph reorder: new port 'system:capture_2'
Sun Oct 24 16:36:24 2010: graph reorder: new port 'system:playback_1'
Sun Oct 24 16:36:24 2010: graph reorder: new port 'system:playback_2'
Sun Oct 24 16:36:24 2010: graph reorder: new port 'system:playback_3'
Sun Oct 24 16:36:24 2010: graph reorder: new port 'system:playback_4'
Sun Oct 24 16:36:24 2010: graph reorder: new port 'system:playback_5'
Sun Oct 24 16:36:24 2010: graph reorder: new port 'system:playback_6'
Sun Oct 24 16:36:24 2010: New client 'PulseAudio JACK Sink' with PID 1501
Sun Oct 24 16:36:24 2010: Connecting 'PulseAudio JACK Sink:front-left' to 'system:playback_1'
Sun Oct 24 16:36:24 2010: Connecting 'PulseAudio JACK Sink:front-right' to 'system:playback_2'
Sun Oct 24 16:36:24 2010: Connecting 'PulseAudio JACK Sink:rear-left' to 'system:playback_3'
Sun Oct 24 16:36:24 2010: Connecting 'PulseAudio JACK Sink:rear-right' to 'system:playback_4'
Sun Oct 24 16:36:24 2010: Connecting 'PulseAudio JACK Sink:front-center' to 'system:playback_5'
Sun Oct 24 16:36:24 2010: Connecting 'PulseAudio JACK Sink:lfe' to 'system:playback_6'
Sun Oct 24 16:36:24 2010: New client 'PulseAudio JACK Source' with PID 1501
Sun Oct 24 16:36:24 2010: Connecting 'system:capture_1' to 'PulseAudio JACK Source:front-left'
Sun Oct 24 16:36:24 2010: Connecting 'system:capture_2' to 'PulseAudio JACK Source:front-right'
Sun Oct 24 16:36:26 2010: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not run: state = 1
Sun Oct 24 16:36:26 2010: ERROR: JackAudioDriver::ProcessAsync Process error
Sun Oct 24 16:36:26 2010: ERROR: JackPosixMutex::Unlock res = 1
Sun Oct 24 16:36:26 2010: ERROR: JackPosixMutex::Unlock res = 1
Sun Oct 24 16:36:26 2010: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not run: state = 1
Sun Oct 24 16:36:26 2010: ERROR: JackAudioDriver::ProcessAsync Process error
Sun Oct 24 16:36:26 2010: ERROR: JackAudioDriver::ProcessAsync Process error
Sun Oct 24 16:36:26 2010: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not run: state = 1
Sun Oct 24 16:36:26 2010: ERROR: JackAudioDriver::ProcessAsync Process error
Sun Oct 24 16:36:26 2010: ERROR: JackPosixMutex::Unlock res = 1
Sun Oct 24 16:36:26 2010: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not run: state = 1
Sun Oct 24 16:36:26 2010: ERROR: JackAudioDriver::ProcessAsync Process error
Sun Oct 24 16:36:26 2010: ERROR: JackPosixMutex::Unlock res = 1
Sun Oct 24 16:36:33 2010: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not run: state = 1
Sun Oct 24 16:36:33 2010: ERROR: JackAudioDriver::ProcessAsync Process error
Sun Oct 24 16:36:33 2010: ERROR: JackPosixMutex::Unlock res = 1
Sun Oct 24 16:36:33 2010: ERROR: JackPosixMutex::Unlock res = 1
Sun Oct 24 16:36:33 2010: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not run: state = 1
Sun Oct 24 16:36:33 2010: ERROR: JackAudioDriver::ProcessAsync Process error
Sun Oct 24 16:36:33 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:36:33 2010: ERROR: JackPosixMutex::Unlock res = 1
Sun Oct 24 16:36:33 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle
Sun Oct 24 16:36:35 2010: ERROR: alsa_driver_xrun_recovery
Sun Oct 24 16:36:35 2010: ERROR: JackPosixMutex::Unlock res = 1
Sun Oct 24 16:36:35 2010: ERROR: JackAudioDriver::ProcessAsync: read error, skip cycle

Changed in jackit:
status: Unknown → New
Changed in jackd2 (Debian):
status: Unknown → Confirmed
Changed in jackit:
status: New → Fix Released
Revision history for this message
falkTX (Old) (falk-t-j) wrote :

fixed in KXStudio by backporting the git commit that fixes this issue (and also the dummy-driver fix)

Changed in kxstudio:
status: New → Fix Released
Changed in jackd2 (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.