Question about stream.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Benny Prijono wrote:
> On 1/27/08, Benny Prijono <bennylp at pjsip.org> wrote:
>   
>> On 1/27/08, Benny Prijono <bennylp at pjsip.org> wrote:
>>     
>>>> 4. Thread B, still trying to lock stream->jb_mutex, segfaults because
>>>> thread A deallocated stream->jb_mutex and zeroed out the pointer.
>>>>
>>>>
>>>> I have been trying to follow the code and it almost looks like this is
>>>> possible. Can anyone confirm or disprove this?
>>>>
>>>>         
>>> Hi Michael,
>>>
>>> I've got to say that the scenario looks valid, rather unfortunately. I
>>> haven't had idea on how to solve it though.
>>>
>>>       
>> Forgot one thing. I just registered your report in the ticket list for
>> now: http://trac.pjsip.org/repos/ticket/460
>>
>>     
>
> Just to let you know that I think I've got this fixed now. Please see
> ticket #460 URL above for more information. Thanks for the report!
>   

Looks better than my solutions.

As far as the DTMF callback is concerned, I think that the timeout in 
the acquire_call function should be enough to cover our butts. Agreed?

Thanks Benny,

-- 
Michael Broughton, Advanis

Unintended Recipient & Unauthorized Use of E-Mail:
This message and attachments may contain confidential or privileged
information that is intended only for the named recipient of this
e-mail. Any unauthorized use or distribution is not permitted. If you
have received this e-mail in error, deleting the e-mail and notifying
the sender would be appreciated. Thank you.




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux