All,<div><br></div><div>I ran into an interesting crash in my test env today. </div><div><br></div><div>I took a very large acc table and reindexed it with a complicated index.. while this was going on I placed calls and got the following errors:</div>
<div><div>Jun 17 01:47:40 voicefox-dev /usr/local/sbin/opensips[25170]: ERROR:db_mysql:db_mysql_do_prepared_query: mysql_stmt_bind_param() failed: Using unsupported buffer type: 744972660 (parameter: 14)</div><div>Jun 17 01:47:40 voicefox-dev /usr/local/sbin/opensips[25170]: ERROR:siptrace:trace_sl_onreply_out: error storing trace</div>
<div><br></div><div>and then opensips segfaulted.</div><div><br></div><div>here's the bt:</div><div><div>Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid -m 2048'.</div><div>Program terminated with signal 11, Segmentation fault.</div>
<div>[New process 25156]</div><div>#0 0x00000034c1a7b733 in memcpy () from /lib64/libc.so.6</div><div>(gdb) bt</div><div>#0 0x00000034c1a7b733 in memcpy () from /lib64/libc.so.6</div><div>#1 0x0000003c28a25a49 in mysql_stmt_bind_param () from /usr/lib64/mysql/libmysqlclient.so.15</div>
<div>#2 0x00002b621bb194de in db_mysql_do_prepared_query (conn=0x79a5f8, query=0x2b621bd31730, v=0x7fff8efa1890, n=10, uv=0x0, un=0) at dbase.c:497</div><div>#3 0x00002b621bb1b7c4 in db_mysql_insert (_h=0x79a5f8, _k=0x7fff8efa19d0, _v=0x7fff8efa1890, _n=10) at dbase.c:929</div>
<div>#4 0x00002b621da6ee96 in sip_trace (msg=0x79d3d0) at siptrace.c:629</div><div>#5 0x00002b621da70740 in trace_dialog (msg=0x79d3d0) at siptrace.c:461</div><div>#6 0x000000000040dcfc in do_action (a=0x77e3c8, msg=0x79d3d0) at action.c:962</div>
<div>#7 0x000000000041079e in run_action_list (a=<value optimized out>, msg=0x79d3d0) at action.c:139</div><div>#8 0x000000000040eb40 in do_action (a=0x77e498, msg=0x79d3d0) at action.c:706</div><div>#9 0x000000000041079e in run_action_list (a=<value optimized out>, msg=0x79d3d0) at action.c:139</div>
<div>#10 0x000000000040eb40 in do_action (a=0x7833e8, msg=0x79d3d0) at action.c:706</div><div>#11 0x000000000041079e in run_action_list (a=<value optimized out>, msg=0x79d3d0) at action.c:139</div><div>#12 0x0000000000410af9 in run_top_route (a=0x770778, msg=0x79d3d0) at action.c:119</div>
<div>#13 0x000000000044f3df in receive_msg (</div><div><br></div></div></div>