[OpenSIPS-Users] ratelimit bug?
Brett Nemeroff
brett at nemeroff.com
Wed Sep 23 06:44:29 CEST 2009
All,I'm doing a rl_check("$avp(s:accountid)")
where the avp isn't a valid pipe. Looks like this is throwing a segfault.
Here's the BT:
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid -m
3072'.
Program terminated with signal 11, Segmentation fault.
[New process 5388]
#0 0x00002b85c78690fb in rl_check (msg=0x7a1768, forced_pipe=19) at
ratelimit.c:806
806 (*pipes[id].counter)++;
(gdb)
Is there a way to "dynamically" create the pipes? ie if pipe #19 doesn't
exist, then use pipe #0. Then use the fifo to create pipe #19.
-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090922/7ebce573/attachment.htm
More information about the Users
mailing list