jackd crashes on suspend

Bug #586209 reported by Teunis Peters
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
jackit
Invalid
Undecided
Unassigned
jack-audio-connection-kit (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

jackd crashes on suspend or restore. No recorded error message - could be by sound device being suspended. Sound sometimes hangs after restore (could be pulseaudio/jackd client hanging)
No error message, no log. Will happily help further - I'd like to switch to jackd as primary sound driver as it's good for pro audio test work - which pulseaudio is definitely not.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: jackd 0.118+svn3796-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Wed May 26 23:44:44 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.utf8
 SHELL=/bin/bash
SourcePackage: jack-audio-connection-kit

Revision history for this message
Teunis Peters (teunis) wrote :
Changed in jack-audio-connection-kit (Ubuntu):
status: New → Confirmed
Changed in jackit:
status: Unknown → New
Revision history for this message
James Haigh (james.r.haigh) wrote :

I can confirm this on Lucid.

On Natty, jackd does not crash on sleep (suspend-to-RAM). I just get about 150 xruns.

I'm not sure whether there was any official fix for this, or whether it now works for me due to some other reason.

I too will now be switching to Jack as my primary sound server. I will use PulseAudio for non-Jack programs using the method on these pages:
https://help.ubuntu.com/community/UbuntuStudioPreparation#Pulse%20Audio
https://wiki.archlinux.org/index.php/PulseAudio#Pulseaudio_through_JACK

Revision history for this message
James (morris-570) wrote :

I'm getting the same thing on Natty. Here's the message I get from qjackctl's messages pannel:

ALSA: poll time out, polled for 4353014 usecs
DRIVER NT: could not run driver cycle
21:37:56.930 JACK connection graph change.
jack main caught signal 12
no message buffer overruns
cannot read server event (Success)
cannot continue execution of the processing graph (Bad file descriptor)

The last line repeats about 100 times.

Revision history for this message
Vlad Alexandru Ionescu (vlad-alexandru-ionescu) wrote :

I managed to figure out a workaround. See my blog post here:

http://www.vladalexandruionescu.com/2013/01/using-your-guitar-or-other-instrument.html

(in particular the subheading "Some more hackery (fixing suspend)"). Though it's pretty specific to my setup.

But the idea is to have a script /etc/pm/sleep.d/00_restart-jack which stops Jack just before suspending (using 'jack_control stop')
and then starts it again (I do it via qjackctl) just after resuming.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Not sure if this is still a bug that was fixed in a later version of jack or not, but I'd find it generally a bad idea to allow a computer to sleep while jack is running. Marking as incomplete for now.

Changed in ubuntustudio:
status: New → Incomplete
Changed in jack-audio-connection-kit (Ubuntu):
status: Confirmed → Incomplete
Changed in ubuntustudio:
importance: Undecided → Low
Changed in ubuntustudio:
status: Incomplete → Invalid
Changed in jack-audio-connection-kit (Ubuntu):
status: Incomplete → Invalid
no longer affects: ubuntustudio
Changed in jackit:
importance: Unknown → Undecided
status: New → Invalid
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.