[Serdev] Simultaneous parse_msg or parse_headers invocations?
Durgani, Prakash B.
PBDurgani at west.com
Tue Mar 29 15:24:51 UTC 2005
SER invokes parse_msg when it receives a SIP message from the network,
and does not call it for the next message until the current one is
processed. I have a custom module that invokes parse_msg and
parse_headers in a separate thread, and there is a possibility that
these functions may be by invoked my module and SER's core modules at
the same time. Can this cause problems?
Because I keep getting segmentation faults when one of these functions
call pkg_malloc after some time (different times for different
machines). I have gone through my module's code over and over again,
myself and colleagues to look for memory over-writes...and fixed
whatever we could potentially find.
Any ideas will be great! I am using ser-0.9.0 but the same problems
happens with ser-0.8.14
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.iptel.org/pipermail/serdev/attachments/20050329/b87b2ac5/attachment.htm
More information about the Serdev
mailing list