[icecast] Icecast deadlock with 1.3.12 (fixed)

Ned Wolpert ned.wolpert at knowledgenet.com
Tue Jul 8 08:54:40 PDT 2003



That works for me.  As long as I don't have to hold on to them. :-)

Brendan Cully wrote:
> This is in CVS, FWIW (that is, not much since the odds of 1.3.13 being
> released are epsilon close to nil).
> 
> On Wednesday, 02 July 2003 at 11:38, Ned Wolpert wrote:
> 
>>Folks,
>>    I email abit ago about using 1.3.12 in my environment, and fixing a 
>>dead-lock problem.  Since 1.3.12 is 'obsolete', not supported, and GPL 
>>I'm provided a patch to the mailing list of my changes to the the 
>>src/soruce.c distributed file.  (Its small but significant, as it allows 
>>for transparent relays to work)
>>
>>I need to use icecast 1 until icecast2 is a) released and b) supports 
>>transparent relaying like icecast1 does for the time being.  If anyone 
>>else is in the same boat, the following diff fixes problems with 1.3.12.
>>
>>[wolpert at memeplex] src> diff icecast-1.3.12/src/source.c 
>>old/icecast-1.3.12/src/source.c
>>686,692d685
>><                       thread_mutex_unlock (&info.mount_mutex);
>><                       thread_mutex_unlock (&info.source_mutex);
>><                       thread_mutex_unlock (&info.double_mutex);
>><             sourcecon = relay_pull_stream (req, &err);
>><                       thread_mutex_lock (&info.double_mutex);
>><                       thread_mutex_lock (&info.mount_mutex);
>><                       thread_mutex_lock (&info.source_mutex);
>>694c687
>><               if (sourcecon)
>>
>>>              if ((sourcecon = relay_pull_stream (req, &err)))
>>
>>Enjoy
>>
> 
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
> 


-- 

Virtually,
Ned Wolpert <ned.wolpert at knowledgenet.com>

D08C2F45:  28E7 56CB 58AC C622 5A51  3C42 8B2B 2739 D08C 2F45

      "An idea is something you have; an ideology is
       something that has you."          --Morris Berman

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Icecast mailing list