[SR-Users] kamailio crash after sqlops failures

Uri Shacked ushacked at gmail.com
Sun Jan 5 13:30:43 CET 2014


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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140105/ecbbb288/attachment.html>


More information about the sr-users mailing list