<br>Hello all users.<br><br>When enabling the CDR generation (cdr flag of acc module) OpenSIPS fails and generates core when receiving the BYE.<br><br>This is the backtrace:<br>Core was generated by `/dsa/1.6.4/sbin/opensips -D -ddd -E -f /dsa/1.6.4/etc/opensips/mvno.cfg'.<br>
Program terminated with signal 10, Bus error.<br>[New process 86541 ]<br>#0 0xffffffff7be0acfc in prebuild_string () from /dsa/1.6.4/lib64/opensips/modules/acc.so<br>(gdb) bt<br>#0 0xffffffff7be0acfc in prebuild_string () from /dsa/1.6.4/lib64/opensips/modules/acc.so<br>
#1 0xffffffff7be049d0 in acc_log_cdrs_request () from /dsa/1.6.4/lib64/opensips/modules/acc.so<br>#2 0xffffffff7be0e2ac in acc_dlg_callback () from /dsa/1.6.4/lib64/opensips/modules/acc.so<br>#3 0xffffffff7b80f9a8 in run_dlg_callbacks () from /dsa/1.6.4/lib64/opensips/modules/dialog.so<br>
#4 0xffffffff7b819d28 in dlg_onroute () from /dsa/1.6.4/lib64/opensips/modules/dialog.so<br>#5 0xffffffff7c60d5dc in run_rr_callbacks () from /dsa/1.6.4/lib64/opensips/modules/rr.so<br>#6 0xffffffff7c608430 in after_loose () from /dsa/1.6.4/lib64/opensips/modules/rr.so<br>
#7 0xffffffff7c603c90 in loose_route () from /dsa/1.6.4/lib64/opensips/modules/rr.so<br>#8 0x0000000100014280 in do_action ()<br>#9 0x000000010000ceb0 in run_action_list ()<br>#10 0x0000000100084d64 in eval_elem ()<br>
#11 0x000000010008d67c in eval_expr ()<br>#12 0x000000010008d764 in eval_expr ()<br>#13 0x0000000100011538 in do_action ()<br>#14 0x000000010000ceb0 in run_action_list ()<br>#15 0x0000000100011714 in do_action ()<br>#16 0x000000010000ceb0 in run_action_list ()<br>
#17 0x000000010000d5a0 in run_top_route ()<br>#18 0x0000000100075f0c in receive_msg ()<br>#19 0x00000001000e0640 in udp_rcv_loop ()<br>#20 0x00000001000316bc in main_loop ()<br>#21 0x0000000100037440 in main ()<br><br><br>
I am doing the setflag related to modparam at INVITE processing.<br><br>Please let me know whether more information is needed.<br><br><br>Best regards.<br><br clear="all"><br>-- <br>Sergio Gutiérrez<br>