[SR-Dev] Config framework error for tm module

Miklos Tirpak miklos at iptel.org
Tue May 19 11:12:46 CEST 2009


Hi Nils,

unfortunately I do not have access to a 64 bit machine now. Could you 
help me with some gdb info?

Break at cfg.c:132 when the config group "tm" is declared. Verify that

- "p &default_tm_cfg.ruri_matching" and "p &default_tm_cfg" return the 
same address.

- p (char*)&default_tm_cfg.fr_inv_timeout_next - 
(char*)&default_tm_cfg.ruri_matching
and
p mapping[30].offset
return the same value.

If not, then could you check which offset is wrong with decreasing the 
index and checking each variable of the default_tm_cfg structure, like:

p (char*)&default_tm_cfg.reparse_on_dns_failover - 
(char*)&default_tm_cfg.ruri_matching
p mapping[29].offset

Thanks,
Miklos

On 05/19/2009 02:24 AM, Nils Ohlmeier wrote:
> Hello,
> 
> when I try to start SER with the ser-basic.cfg it fails with the
> following error message:
> 
> 0(13147) ERROR: <core> [cfg/cfg.c:135]: ERROR: register_cfg_def(): the
> specified size (152) of the config structure does not equal with the
> calculated size (148), check whether the variable types are correctly
> defined!
> 
> Note: I added the size informations to this error message just a minute
> ago so that the error message is hopefully more meaningful.
> 
> Does anybody know what is wrong here?
> I'm using Gentoo Linux with 64bit, maybe that is the reason for this
> failure?!
> 
> Thanks
>   Nils
> 
> _______________________________________________
> 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