From: FFADO <ffa...@ff...> - 2011-06-18 14:49:31
|
#306: jackd segfaults while terminating when using the Juju stack -----------------------+---------------------------------------------------- Reporter: koniu | Owner: Type: bug | Status: reopened Priority: major | Milestone: Component: generic | Version: FFADO 2.0.1 Resolution: | Keywords: Device_name: | -----------------------+---------------------------------------------------- Comment (by stefanr): Replying to [comment:18 adi]: > Just a random thought on this, maybe I find time today to give it a try. To triage the bug, how about adding the lock to libraw1394's handle structure. create_handle() will init the lock, destroy_handle() will only be effective if the lock isn't busy. Or while we are at it, create a modified libraw1394 which (a) serializes all its API calls per handle by a pthread_mutex, and (b) does so with mutex_trylock and errors out with a debug message if the lock can't be taken? And (c), poisons raw1394_handle memory before freeing it. -- Ticket URL: <http://subversion.ffado.org/ticket/306#comment:20> FFADO <http://subversion.ffado.org/index.fcgi> Free Firewire Audio Drivers |