[sr-dev] segfault when mod_init fails
Juha Heinanen
jh at tutpro.com
Mon Jun 22 10:58:37 CEST 2009
while testing new lcr module, i saw also this kind of segfault:
Jun 22 11:39:49 localhost /usr/sbin/sip-router[17180]: ERROR: lcr [lcr_mod.c:525]: AVP defunct_gw_avp has not been defined
Jun 22 11:39:49 localhost /usr/sbin/sip-router[17180]: ERROR: <core> [sr_module.c:873]: init_mod(): Error while initializing module lcr
Jun 22 11:39:49 localhost kernel: [14513.650230] sip-router[17180]: segfault at 0 ip b7ab2a5f sp bfeb3470 error 4 in lcr.so[b7aad000+14000]
mod_init code leading to it is:
} else {
LM_ERR("AVP defunct_gw_avp has not been defined\n");
return -1;
}
any idea why the segfault?
-- juha
More information about the sr-dev
mailing list