I'm having an strange issue. I was trying to identify a problem with some customer and inserted a log on my failure route:
xlog("L_NOTICE", "-- Failure XXX - ($avp(s:numdest)) \n");
This was working fine then I inserted the reply code from on reply route, in the log like bellow:
xlog("L_NOTICE", "-- Failure XXX - ($avp(s:numdest)) Reply: $(<reply>rs) \n");
And Opensips started crashing on < 5 random minutes. Nothing on syslog, just the "Starting opensips" from the new thread…
On coredump, i can see:
Core was generated by `/sbin/opensips -P /var/run/opensips/opensips.pid -m 512 -u opensips -g opensips'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f3bc77f2538 in unref_dlg (dlg=0x7f3ba6c82b10, cnt=1) at dlg_hash.c:587
587 dlg_hash.c: No such file or directory.
Any idea? I solved removing the "Reply: $(<reply>rs)", but this wasn't suppose to happen.
could you do a "bt" in gdb go get the complete backtrace ?
Thanks and regards,
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.