Kamailio crashed after 5 minutes, version kamailio-5.4.0-dev1
```
[logs every 2s the following error]
Nov 18 21:26:28 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR:
statsc [statsc_mod.c:151]: statsc_svalue(): statistic free_size not found
Nov 18 21:26:28 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR:
statsc [statsc_mod.c:151]: statsc_svalue(): statistic used_size not found
Nov 18 21:26:28 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR:
statsc [statsc_mod.c:151]: statsc_svalue(): statistic real_used_size not found
Nov 18 21:26:28 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR:
statsc [statsc_mod.c:151]: statsc_svalue(): statistic rcv_requests not found
Nov 18 21:26:30 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR:
statsc [statsc_mod.c:151]: statsc_svalue(): statistic free_size not found
Nov 18 21:26:30 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR:
statsc [statsc_mod.c:151]: statsc_svalue(): statistic used_size not found
Nov 18 21:26:30 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR:
statsc [statsc_mod.c:151]: statsc_svalue(): statistic real_used_size not found
Nov 18 21:26:30 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24200]: ERROR:
statsc [statsc_mod.c:151]: statsc_svalue(): statistic rcv_requests not found
Nov 18 21:26:32 customer-1-nbg1-1 kernel: [626011.807865] kamailio[24200]: segfault at
5dd2fe78 ip 00005623b1b9487e sp 00007ffcb3a908e0 error 4 in kamailio[5623b1b61000+39c000]
Nov 18 21:26:32 customer-1-nbg1-1 kernel: [626011.816407] Code: c7 e8 59 fb ff ff 90 c9 c3
55 48 89 e5 41 54 53 48 89 7d d8 89 75 d4 bb 00 00 00 00 48 8b 45 d8 48 89 45 e8 eb 58 48
8b 45 e8 <0f> b6 00 0f be c0 c1 e0 18 89 c2 48 8b 45 e8 48 83 c0 01 0f b6 00
Nov 18 21:26:32 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24189]: ALERT:
<core> [main.c:767]: handle_sigs(): child process 24200 exited by a signal 11
Nov 18 21:26:32 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24189]: ALERT:
<core> [main.c:770]: handle_sigs(): core was generated
Nov 18 21:26:32 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24189]: INFO:
<core> [main.c:793]: handle_sigs(): terminating due to SIGCHLD
Nov 18 21:26:32 customer-1-nbg1-1 /usr/local/kamailio-devel/sbin/kamailio[24198]: INFO:
<core> [main.c:848]: sig_usr(): signal 15 received
```
```
Core was generated by `/usr/local/kamailio-devel/sbin/kamailio -f
/etc/kamailio/kamailio.cfg -L /usr/l'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00005623b1b9487e in get_hash1_raw (s=0x5dd2fe78 <error: Cannot access memory at
address 0x5dd2fe78>, len=9) at core/hashes.h:109
109 hash_update_str(s, s+len, p, v, h);
(gdb) bt
#0 0x00005623b1b9487e in get_hash1_raw (s=0x5dd2fe78 <error: Cannot access memory at
address 0x5dd2fe78>, len=9) at core/hashes.h:109
#1 0x00005623b1b94e2b in str_hash_get (ht=0x5623b20050e0 <cnts_hash_table>,
key=0x5dd2fe78 <error: Cannot access memory at address 0x5dd2fe78>, len=9) at
core/str_hash.h:96
#2 0x00005623b1b96bb3 in cnt_hash_lookup (group=0x7ffcb3a909d0, name=0x7f032f7aab80) at
core/counters.c:430
#3 0x00005623b1b9748d in counter_lookup_str (handle=0x7ffcb3a909ee, group=0x7ffcb3a909d0,
name=0x7f032f7aab80) at core/counters.c:551
#4 0x00007f033417b247 in get_stat (name=0x7f032f7aab80) at ../../core/counters.h:197
#5 0x00007f033417bf57 in statsc_svalue (name=0x7f032f7aab80, res=0x7f032f7aaf4b) at
statsc_mod.c:149
#6 0x00007f033417dd5c in statsc_timer (ticks=81421045, param=0x0) at statsc_mod.c:278
#7 0x00005623b1d76a27 in sr_wtimer_exec (ticks=81421045, param=0x0) at
core/timer_proc.c:433
#8 0x00005623b1d75b3a in fork_sync_timer (child_id=-1, desc=0x5623b1f674c1
"secondary timer", make_sock=1, f=0x5623b1d766df <sr_wtimer_exec>,
param=0x0, interval=1000)
at core/timer_proc.c:267
#9 0x00005623b1d76da1 in sr_wtimer_start () at core/timer_proc.c:459
#10 0x00005623b1b703ff in main_loop () at main.c:1746
#11 0x00005623b1b78ac2 in main (argc=5, argv=0x7ffcb3a91258) at main.c:2804
```
--
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/issues/2101#issuecomment-555201030