[sr-dev] cfg_parse_selects crash

Miklos Tirpak miklos at iptel.org
Wed Oct 20 15:37:59 CEST 2010


Thanks for catching this! Should be fixed now.

Miklos

On 10/19/2010 05:32 PM, Juha Heinanen wrote:
> this call caused sr from master branch to crash at startup:
>
>      t_set_fr("@cfg_get.local.invite_timeout", "@cfg_get.local.gw_timeout");
>
> i had misspelled the name of the configuration variable when i set it at
> the top of the script.
>
> -- juha
>
> Oct 19 18:16:37 squeeze /usr/sbin/trunk-proxy[1738]: ERROR:<core>  [cfg/cfg_select.c:117]: ERROR: cfg_parse_selects(): unknown variable: local.gw_timeout
> Oct 19 18:16:37 squeeze /usr/sbin/trunk-proxy[1738]: :<core>  [main.c:1519]: could not initialize shared configuration
> Oct 19 18:16:37 squeeze kernel: [  338.729036] trunk-proxy[1738]: segfault at 10 ip 081638ad sp bf984d70 error 4 in trunk-proxy[8048000+184000]
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev



More information about the sr-dev mailing list