kamailio 4.0.4
has anybody experience this using dialog module?

backtrace:
#0  0x000000000057af45 in qm_malloc ()
#1  0x00007f268ac0fe93 in set_dlg_variable_unsafe () from /usr/local/lib64/kamailio/modules/dialog.so
#2  0x00007f268ac123aa in pv_set_dlg_variable () from /usr/local/lib64/kamailio/modules/dialog.so
#3  0x000000000047be59 in lval_assign ()
#4  0x000000000041cf14 in do_action ()
#5  0x000000000041c5c5 in run_actions ()
#6  0x000000000041d92e in do_action ()
#7  0x000000000041c5c5 in run_actions ()
#8  0x0000000000425250 in run_top_route ()
#9  0x00000000004bfcce in receive_msg ()
#10 0x000000000056a2df in udp_rcv_loop ()
#11 0x0000000000481b43 in main_loop ()
#12 0x000000000041c081 in main ()

logfile:
DEBUG: <core> [parser/msg_parser.c:623]: parse_msg(): SIP Request:
DEBUG: <core> [parser/msg_parser.c:625]: parse_msg():  method:  <ACK>
DEBUG: <core> [parser/msg_parser.c:627]: parse_msg():  uri:     <sip:+1XX882XX111@2XX.XX1.X9.2X>
DEBUG: <core> [parser/msg_parser.c:629]: parse_msg():  version: <SIP/2.0>
DEBUG: <core> [parser/parse_via.c:1284]: parse_via_param(): Found param type 232, <branch> = <z9hG4bKe97b.5a4397f3.0>; state=16
DEBUG: <core> [parser/parse_via.c:2672]: parse_via(): end of header reached, state=5
DEBUG: <core> [parser/msg_parser.c:513]: parse_headers(): parse_headers: Via found, flags=2
DEBUG: <core> [parser/msg_parser.c:515]: parse_headers(): parse_headers: this is the first via
DEBUG: <core> [receive.c:151]: receive_msg(): After parse_msg...
DEBUG: <core> [receive.c:192]: receive_msg(): preparing to run routing scripts...
DEBUG: <core> [parser/parse_to.c:176]: parse_to_param(): DEBUG: add_param: tag=bbd932f8f9dbf9743f9b7cadcbf622ac.0dc7
DEBUG: <core> [parser/parse_to.c:799]: parse_to(): end of header reached, state=29
DEBUG: <core> [parser/msg_parser.c:190]: get_hdr_field(): DEBUG: get_hdr_field: <To> [74]; uri=[sip:+1XX882XX111@6X.X31.X.8X]
DEBUG: <core> [parser/msg_parser.c:192]: get_hdr_field(): DEBUG: to body [<sip:+1XX882XX111@6X.X31.X.8X>]
DEBUG: sl [sl_funcs.c:415]: sl_filter_ACK(): SL local ACK found -> dropping it!
DEBUG: <core> [usr_avp.c:644]: destroy_avp_list(): DEBUG:destroy_avp_list: destroying list (nil)
last message repeated 5 times
DEBUG: <core> [xavp.c:447]: xavp_destroy_list(): destroying xavp list (nil)
DEBUG: <core> [receive.c:295]: receive_msg(): receive_msg: cleaning up
segfault at 0 ip 000000000057af45 sp 00007fff30e44ac0 error 4 in kamailio[400000+27c000]

Kelvin Chua