[Freeswitch-users] A core dump problem
Yiftach Golan
yiftah at choochee.com
Wed Oct 24 03:03:31 MSD 2012
Hi Community,
We had seen core dumps that pointed to the following code :
./git/freeswitch/src/switch_core_rwlock.c
...
SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t
*session)
{
#endif
switch_thread_rwlock_unlock(session->rwlock);
}
...
We changed it to :
...
SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t
*session)
{
#endif
if(session)
{
switch_thread_rwlock_unlock(session->rwlock);
}
}
...
Anyone saw a similar problem?
Do you want us to add the code to the head?
Thanks,
Yiftach.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/f7fc41c2/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list