[OpenSER-Users] carrierroute seg fault

Henning Westerholt henning.westerholt at 1und1.de
Thu Apr 17 11:51:02 CEST 2008


On Thursday 17 April 2008, Helmut Kuper wrote:
> I have "seg-fault" with carrierroute module:
>
> openser: svnrevision: 2:4013M
> on a 64 bit machine running CENTOS5

Hi Helmut,

thank you for the report.

> openser console:
>
> [...]
> Apr 17 10:54:50 [27937] INFO:carrierroute:carrier_fixup: carrier tree
> default has id 1
> Apr 17 10:54:50 [27937] ERROR:core:pv_parse_spec: bad parameters
> [...]

The error quoted above is "normal", its produced from the pseudovariable 
parsing. Should be fixed, as its misleading, i know..

> The seg-fault:
>
> Apr 17 10:57:20 [28437] DBG:carrierroute:get_route_tree_by_id: searching
> in carrier default, id 1
> Apr 17 10:57:20 [28437] DBG:carrierroute:get_route_tree_by_id: tree
> default, domain 0 : 0
> Segmentation fault (core dumped)
>
>
> Number in $rU was "+49441234"

Did the module crashes during the first execution of the cr_route? Or does the 
segfault occur only after some time/ traffic? If you have a core dump of the 
crash it would be great if you could send me the backtrace from gdb.

Cheers,

Henning




More information about the sr-users mailing list