Hi Sergio,
Can you get from the corefile the line of crash in prebuild_string() ?
Regards,
Bogdan
Sergio Gutierrez wrote:
Hello all users.
When enabling the CDR generation (cdr flag of acc module) OpenSIPS
fails and generates core when receiving the BYE.
This is the backtrace:
Core was generated by `/dsa/1.6.4/sbin/opensips -D -ddd -E -f
/dsa/1.6.4/etc/opensips/mvno.cfg'.
Program terminated with signal 10, Bus error.
[New process 86541 ]
#0 0xffffffff7be0acfc in prebuild_string () from
/dsa/1.6.4/lib64/opensips/modules/acc.so
(gdb) bt
#0 0xffffffff7be0acfc in prebuild_string () from
/dsa/1.6.4/lib64/opensips/modules/acc.so
#1 0xffffffff7be049d0 in acc_log_cdrs_request () from
/dsa/1.6.4/lib64/opensips/modules/acc.so
#2 0xffffffff7be0e2ac in acc_dlg_callback () from
/dsa/1.6.4/lib64/opensips/modules/acc.so
#3 0xffffffff7b80f9a8 in run_dlg_callbacks () from
/dsa/1.6.4/lib64/opensips/modules/dialog.so
#4 0xffffffff7b819d28 in dlg_onroute () from
/dsa/1.6.4/lib64/opensips/modules/dialog.so
#5 0xffffffff7c60d5dc in run_rr_callbacks () from
/dsa/1.6.4/lib64/opensips/modules/rr.so
#6 0xffffffff7c608430 in after_loose () from
/dsa/1.6.4/lib64/opensips/modules/rr.so
#7 0xffffffff7c603c90 in loose_route () from
/dsa/1.6.4/lib64/opensips/modules/rr.so
#8 0x0000000100014280 in do_action ()
#9 0x000000010000ceb0 in run_action_list ()
#10 0x0000000100084d64 in eval_elem ()
#11 0x000000010008d67c in eval_expr ()
#12 0x000000010008d764 in eval_expr ()
#13 0x0000000100011538 in do_action ()
#14 0x000000010000ceb0 in run_action_list ()
#15 0x0000000100011714 in do_action ()
#16 0x000000010000ceb0 in run_action_list ()
#17 0x000000010000d5a0 in run_top_route ()
#18 0x0000000100075f0c in receive_msg ()
#19 0x00000001000e0640 in udp_rcv_loop ()
#20 0x00000001000316bc in main_loop ()
#21 0x0000000100037440 in main ()
I am doing the setflag related to modparam at INVITE processing.
Please let me know whether more information is needed.
Best regards.
--
Sergio GutiƩrrez
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami, USA
OpenSIPS solutions and "know-how"
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users