[sr-dev] [kamailio/kamailio] presence: functions to keep presentity records in memory (f917318)

Emmanuel Schmidbauer notifications at github.com
Tue Apr 21 18:42:22 CEST 2020


here is a trace from the coredump:

```
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f12607da547 in atomic_cmpxchg_int (var=0x8, old=0, new_v=1) at ../../core/mem/../atomic/atomic_x86.h:224
224	ATOMIC_FUNC_CMPXCHG(cmpxchg, "cmpxchgl %2, %1", int , int)
(gdb) up
#1  0x00007f12607da57b in futex_get (lock=0x8) at ../../core/mem/../futexlock.h:99
99		v=atomic_cmpxchg(lock, 0, 1); /* lock if 0 */
(gdb)
#2  0x00007f12607fe0d0 in update_db_subs_timer_dbnone (no_lock=0) at subscribe.c:2079
2079				lock_get(&subs_htable[i].lock);
(gdb) up
#3  0x00007f1260802121 in timer_db_update (ticks=61825161, param=0x0) at subscribe.c:2441
2441				update_db_subs_timer_dbnone(no_lock);
(gdb) up
#4  0x00005568ade05b2e in sr_wtimer_exec (ticks=61825161, param=0x0) at core/timer_proc.c:433
433				wt->f(ticks, wt->param);
(gdb) up
#5  0x00005568ade04b58 in fork_sync_timer (child_id=-1, desc=0x5568ae01a3a1 "secondary timer", make_sock=1, f=0x5568ade057a8 <sr_wtimer_exec>, param=0x0, interval=1000) at core/timer_proc.c:267
267				f(TICKS_TO_S(ts1), param); /* ticks in sec for compatibility with old
(gdb) up
#6  0x00005568ade05ece in sr_wtimer_start () at core/timer_proc.c:459
459		if(fork_sync_timer(-1 /*PROC_TIMER*/, "secondary timer", 1,
(gdb) up
#7  0x00005568adc05e24 in main_loop () at main.c:1452
1452			if(sr_wtimer_start()<0) {
(gdb) up
#8  0x00005568adc123e7 in main (argc=9, argv=0x7ffd9501a8a8) at main.c:2845
2845		ret=main_loop();
(gdb) up
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/f917318c1e5fefa4106eaaf46123506d77dc02ba#commitcomment-38645006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200421/11352522/attachment.html>


More information about the sr-dev mailing list