[OpenSIPS-Users] presence/timer related crash

Juha Heinanen jh at tutpro.com
Fri Jul 23 10:38:43 CEST 2010


i have noticed a few times opensips 1.6 crashing while doing some timer
presence/related db operations.  below is gdb output of such crash.

-- juha

Program terminated with signal 11, Segmentation fault.
#0  0xb76d23e3 in db_mysql_val2bind (v=0xbf96715c, binds=0x8188a18, i=1)
    at val.c:274
274			*(binds[i].is_null) = 0;
(gdb) where
#0  0xb76d23e3 in db_mysql_val2bind (v=0xbf96715c, binds=0x8188a18, i=1)
    at val.c:274
#1  0xb76cd93e in db_mysql_do_prepared_query (conn=<value optimized out>, 
    v=<value optimized out>, n=2, uv=0x0, un=0, query=<value optimized out>)
    at dbase.c:443
#2  0xb76cf0d5 in db_mysql_delete (_h=0x8178e40, _k=0xbf967190, 
    _o=0xbf967184, _v=0xbf967148, _n=2) at dbase.c:893
#3  0xb737fec4 in msg_watchers_clean (ticks=3600, param=0x0)
    at subscribe.c:484
#4  0x080b59cf in timer_ticker () at timer.c:325
#5  run_timer_process () at timer.c:395
#6  start_timer_processes () at timer.c:475
#7  0x08069913 in main_loop (argc=16, argv=0xbf967354) at main.c:867
#8  main (argc=16, argv=0xbf967354) at main.c:1388



More information about the Users mailing list