[OpenSIPS-Devel] SF.net SVN: opensips:[7502] trunk/modules/presence/subscribe.c

Anca Vamanu anca at opensips.org
Fri Dec 10 17:23:22 CET 2010


On 12/10/2010 06:20 PM, Juha Heinanen wrote:
> Anca Vamanu writes:
>
>    
>> Log Message:
>> -----------
>> - fixed crash in prepare statements (thanks to Duane Larson for help with debugging)
>>
>> Modified Paths:
>> --------------
>>      trunk/modules/presence/subscribe.c
>>      
> anca,
>
> hopefully this is the same that i have reported.  once you backport to 1.6,
> i'll give it a try.  i got the crash also today.
>    
Yes, it's the same. I suppose you also had rls module loaded? Because 
this is when I think it showed.

Anca

> -- juha
>
> gdb) where
> #0  0xb74ec3e3 in db_mysql_val2bind (v=0xbfcd7a9c, binds=0x81990e0, i=1)
>      at val.c:274
> #1  0xb74e793e 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  0xb74e90dd in db_mysql_delete (_h=0x818d158, _k=0xbfcd7ad0,
>      _o=0xbfcd7ac4, _v=0xbfcd7a88, _n=2) at dbase.c:893
> #3  0xb71af094 in msg_watchers_clean (ticks=3600, param=0x0)
>      at subscribe.c:484
> #4  0x080b8e1f in timer_ticker () at timer.c:325
> #5  run_timer_process () at timer.c:395
> #6  start_timer_processes () at timer.c:475
> #7  0x0806c32c in main_loop (argc=16, argv=0xbfcd7c94) at main.c:867
> #8  main (argc=16, argv=0xbfcd7c94) at main.c:1388
>    




More information about the Devel mailing list