The server crashes in domainpolicy mod_init while going through AVPs:
INFO:domainpolicy:mod_init: AVP
DBG:core:__search_avp_map: looking for [portoverride] avp - found -1
DBG:core:new_avp_alias: added alias portoverride with id 24
DBG:core:__search_avp_map: looking for [transportoverride] avp - found -1
DBG:core:new_avp_alias: added alias transportoverride with id 25
DBG:core:__search_avp_map: looking for [domainprefix] avp - found -1
DBG:core:new_avp_alias: added alias domainprefix with id 26
DBG:core:__search_avp_map: looking for [domainsuffix] avp - found -1
DBG:core:wait_status_code: read code 76 ? rc = 0, errno=Success
INFO:core:daemonize: pre-daemon process exiting with -1
Backtrace leads to the code for domain_suffix_avp which differs from the way how other AVPs are parsed, stack corruption follows in no time after calling get_avp_id(&domain_suffix_avp).
Proposed patch in the attachment just brings it line and seems to resolve the issue.
domainpolicy AVP parsing fix
Yaroslav, thanks for the patch - it was uploaded on SVN.
Regards,
Bogdan