I am still having the same core dumps every day. I think it has something to do with my Presence config in my script. I am running the latest stable version of OpenSIPS 1.6.3 from the download page. I have reinstalled but that doesn't help. My Debian version is 2.6.35.4-rscloud since I run it on a rackspace VM server.
More info from the backtrace shows the following (gdb) frame 8 #8 main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1388 1388 ret=main_loop(); (gdb) frame 7 #7 0x000000000042ce8b in main_loop (argc=<value optimized out>, argv=<value optimized out>) at main.c:867 867 if (start_timer_processes()!=0) { (gdb) frame 6 #6 start_timer_processes () at timer.c:475 475 run_timer_process( tpl ); (gdb) frame 5 #5 run_timer_process () at timer.c:395 395 timer_ticker(tpl->timer_list); (gdb) frame 4 #4 0x00000000004a90b6 in timer_ticker () at timer.c:325 325 t->u.timer_f(*jiffies, t->t_param); (gdb) frame 3 #3 0x00007f176c25ba7a in msg_watchers_clean (ticks=<value optimized out>, param=<value optimized out>) at subscribe.c:484 484 if (pa_dbf.delete(pa_db, db_keys, db_ops, db_vals, 2) < 0) (gdb) frame 2 #2 0x00007f176faf8f22 in db_mysql_delete (_h=0x812f20, _k=0x7fff61728980, _o=0x7fff61728960, _v=0x7fff61728900, _n=2) at dbase.c:893 893 ret = db_mysql_do_prepared_query(_h, &query_holder, _v, _n, NULL, 0); (gdb) frame 1 #1 0x00007f176faf6b06 in db_mysql_do_prepared_query (conn=0x812f20, v=0x7fff61728900, n=2, uv=<value optimized out>, un=<value optimized out>, query=<value optimized out>) at dbase.c:443 443 if (db_mysql_val2bind( v+i , mysql_bind, i)<0 ) { (gdb) frame 0 #0 0x00007f176fafca93 in db_mysql_val2bind (v=0x7fff61728920, binds=0x813690, i=<value optimized out>) at val.c:274 274 *(binds[i].is_null) = 0; So am I leaving some value in my OpenSIPS config NULL and this is causing this segfault? A lot of the time my OpenSIPS process core dumps during the night when nothing is being used (its a test box). So really the only thing that should be going on are phones re-registering and presence requests. And just from trying to look through the .c files listed in the backtrace it has something to do with cleaning up watcher subscriptions. If anyone has any info on where I could look it would be helpful. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/db-mysql-core-dump-tp5739251p5756547.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users