I searched the mailing list and couldn't find anything related to this.
<br />
<br />For the last couple of nights OpenSIPS has died on me. Each time in Syslog I see
<br />
<br />Nov 13 02:54:25 Proxy01 kernel: [1750051.944109] opensips[6645]: segfault at 0 ip 00007f7fd431bafd sp 00007fff67048fc0 error 6 in db_mysql.so[7f7fd4311000+d
<br />000]
<br />Nov 13 02:54:25 Proxy01 ./opensips[6654]: CRITICAL:core:receive_fd: EOF on 24
<br />Nov 13 02:54:25 Proxy01 ./opensips[6631]: INFO:core:handle_sigs: child process 6645 exited by a signal 11
<br />Nov 13 02:54:25 Proxy01 ./opensips[6631]: INFO:core:handle_sigs: core was generated
<br />Nov 13 02:54:25 Proxy01 ./opensips[6631]: INFO:core:handle_sigs: terminating due to SIGCHLD
<br />
<br />
<br />The backtrace has the following
<br />
<br />Core was generated by `./opensips -f /usr/local/etc/opensips/opensips.cfg'.
<br />Program terminated with signal 11, Segmentation fault.
<br />#0 0x00007f7fd431bafd in db_mysql_val2bind (v=0x7fff67049120, binds=0x7ffd68, i=112) at val.c:274
<br />274 *(binds[i].is_null) = 0;
<br />(gdb) backtrace
<br />#0 0x00007f7fd431bafd in db_mysql_val2bind (v=0x7fff67049120, binds=0x7ffd68, i=112) at val.c:274
<br />#1 0x00007f7fd431607a in db_mysql_do_prepared_query (conn=0x7ff5f8, query=0x7f7fd452e6d0, v=0x7fff67049100, n=2, uv=0x0, un=0) at dbase.c:443
<br />#2 0x00007f7fd4318305 in db_mysql_delete (_h=0x7ff5f8, _k=0x7fff67049180, _o=0x7fff67049160, _v=0x7fff67049100, _n=2) at dbase.c:893
<br />#3 0x00007f7fd0a96b10 in msg_watchers_clean (ticks=<value optimized out>, param=<value optimized out>) at subscribe.c:484
<br />#4 0x000000000049e3da in timer_ticker () at timer.c:325
<br />#5 run_timer_process () at timer.c:395
<br />#6 start_timer_processes () at timer.c:475
<br />#7 0x000000000042be57 in main_loop (argc=<value optimized out>, argv=0x7fff67049378) at main.c:867
<br />#8 main (argc=<value optimized out>, argv=0x7fff67049378) at main.c:1388
<br />
<br />
<br />If need be I could also look in the MySQL logs and see what the last execution was. Any ideas?