log messages from before the crash: ``` ERROR: <core> [core/parser/msg_parser.c:96]: get_hdr_field(): bad header ERROR: <core> [core/parser/msg_parser.c:330]: parse_headers(): bad header field [a=sendrecv#015#012] ERROR: dialog [dlg_handlers.c:190]: populate_leg_info(): failed to parse headers ERROR: dialog [dlg_handlers.c:495]: dlg_onreply(): could not add further info to the dialog ``` so that `bind_addr` from callee leg isn't set: [dlg_handlers.c](https://github.com/kamailio/kamailio/blob/5.0/src/modules/dialog/dlg_handler...) ``` if(parse_headers(msg,HDR_EOH_F,0)<0){ LM_ERR("failed to parse headers\n"); goto error0; }
dlg->bind_addr[leg] = msg->rcv.bind_address; ```