here is more info about the crash at startup on debian squeeze.
in the config.cfg below, if i remove any one of the modules from
loadmodule list, sip router starts fine. the config as such results in
crash:
# /usr/sbin/sip-proxy -f /etc/sip-proxy/sip-proxy.cfg -P /var/run/sip-proxy/sip-proxy.pid
-m 32 -M 4 -u root -g root -w /var/run/sip-proxy -n 4
loading modules under /usr/lib/sip-proxy/modules
loading modules under /usr/lib/sip-proxy/modules_k
sip-proxy: malloc.c:4636: _int_malloc: Assertion `victim->fd_nextsize->bk_nextsize
== victim' failed.
Aborted
-- juha
# --- Core params
debug=2
listen=192.98.102.10:5060
fork=yes
log_stderror=no
log_facility=LOG_LOCAL0
check_via=no
dns=no
rev_dns=no
dns_try_ipv6=no
dns_try_naptr=on
dns_udp_pref=1
dns_tcp_pref=1
dns_sctp_pref=1
dns_tls_pref=1
dns_retr_time=5
dns_retr_no=1
dns_use_search_list=no
use_dns_cache=on
use_dns_failover=on
dns_srv_loadbalancing=on
use_dst_blacklist=on
sip_warning=no
tcp_accept_aliases=no
tcp_connect_timeout=5
tcp_send_timeout=5
tcp_connection_lifetime=3610
auto_aliases=no
exit_timeout=1800
syn_branch=0
enable_sctp=0
enable_tls=no
stun_allow_stun=0
# --- Modules
loadpath "/usr/lib/sip-proxy/modules"
loadmodule "db_mysql"
loadmodule "avpops"
loadmodule "dialplan"
loadmodule "enum"
loadmodule "geoip"
loadmodule "lcr"
loadmodule "mi_rpc"
loadmodule "mtree"
loadmodule "sl"
loadmodule "utils"
loadpath "/usr/lib/sip-proxy/modules_k"
loadmodule "tmx"
loadmodule "cfgutils"
loadmodule "sqlops"
loadmodule "pv"
# ---- Module parameters
# -- generic module parameters
modparam("dialplan|lcr|mtree", "db_url",
"mysql://foo:bar@localhost/ser")
# -- geoip params
modparam("geoip", "path", "/usr/share/GeoIP/GeoIPCity.dat")
# ---- Request routing logic
route {
exit;
}