[sr-dev] crash while parsing uri

Juha Heinanen jh at tutpro.com
Thu Dec 16 19:30:13 CET 2010

Juha Heinanen writes:

> sr master crashes while parsing uri.  looks like it is related to db
> acc_extra, but don't know which uri it was. actually, when i look at my
> db_extra var, it contains $ru and the rest are avps.  so perhaps the
> crash came while parsing request-uri.

i analyzed this a bit more and crash happens when script calls drop in
branch route due to the method not being supported by that particular

that causes t_relay() to fail and script then calls next_gw() again and
tries to find some other gw that would support the method.  there is none
and the script replies 503 and calls exit.

the crash happens when that failed call is being accounted.  acc and acc
missed flags are set before t_relay is called for the first time.

-- juha

More information about the sr-dev mailing list