Hello,
can you upgrade to latest 3.2.x? Because there were many fixes since
first release in that series (3.2.0).
If the issue persists, would be good to get a backtrace.
Not using sql_result_free() should not be a problem.
Cheers,
Daniel
On 05/01/14 13:30, Uri Shacked wrote:
And one more thing....
I am not using "sql_result_free(result)"
Is it related to the problem? after all, there is no result if the DB
was down....
On Sun, Jan 5, 2014 at 2:19 PM, Uri Shacked <ushacked(a)gmail.com
<mailto:ushacked@gmail.com>> wrote:
Hi
kamailio version 3.2.0
16M configured has private memory
and 4G as shared memory.
using sqlops to query the DB.
the DB was down and kamailio crashed after some time with the
following log under
1. /var/log/messages
"kernel: kamailio[PID]: segfault at 5 ip 00007fdacc65e175 sp
00007fff85897810 error 4 in tm.so[7fdacc630000+79000]"
2./var/log/kamailio
" /usr/local/sbin/kamailio[12033]: ERROR: <core> [db_query.c:156]:
error while submitting query
/usr/local/sbin/kamailio[12033]: ERROR: sqlops [sql_api.c:580]:
cannot do the query
/usr/local/sbin/kamailio[12055]: : <core> [pass_fd.c:293]: ERROR:
receive_fd: EOF on 14
/usr/local/sbin/kamailio[11966]: ALERT: <core> [main.c:785]: child
process 12034 exited by a signal 11
/usr/local/sbin/kamailio[11966]: ALERT: <core> [main.c:788]: core
was generated"
(core was not generated due to lack of permissions on linux.....
but now it is ok)
So, anyone has an idea where to start?
BR,
Uri
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda