[sr-dev] Crash - auth

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Oct 15 08:38:36 CEST 2010


On Oct 15, 2010 at 00:14, Alex Balashov <abalashov at evaristesys.com> wrote:
[...]
> 
> It worked fine with the initial 3.1.0 tarball from last week.  But
> it crashes with the tarball that is on the website right now:
> 
> Core was generated by `/usr/local/sbin/kamailio -P
> /var/run/kamailio/kamailio.pid -m 64 -u root -g roo'.
> Program terminated with signal 11, Segmentation fault.
> #0  atomic_and_int (id=2116215340, p=128 '\200')
>     at ../../atomic/atomic_x86.h:227
> 227	../../atomic/atomic_x86.h: No such file or directory.
> 	in ../../atomic/atomic_x86.h
> (gdb) where
> #0  atomic_and_int (id=2116215340, p=128 '\200')
>     at ../../atomic/atomic_x86.h:227
> #1  otn_new (id=2116215340, p=128 '\200') at ot_nonce.c:196

p=128 is very strange (either a no-debugging artifact or an obviously
wrong value, since the maximum pool number is 63).

Do you have both nonce_count and one_time_nonce enabled in the same
time? If so could you try with nonce_count disabled and see if you still
get this problem?

Could you send me all the auth modparam lines that you have in your
config? (nid_pool_no, nc_*, otn_in*)

Thanks,
Andrei



More information about the sr-dev mailing list