NO traffic, just starting Kamailio and letting it run for a while with a lot of modules loaded.
git head.
(gdb) bt full
#0 0x00007fff8a92e866 in __pthread_kill ()
No symbol table info available.
#1 0x00007fff86b1235c in pthread_kill ()
No symbol table info available.
#2 0x00007fff869e9b1a in abort ()
No symbol table info available.
#3 0x00000001081ebc67 in fm_free (qm=0x10a78a000, p=0x5c, file=0x109ee9295 "permissions: hash.c", func=0x109eea05c "free_subnet_table", line=845) at mem/f_malloc.c:588
f = (struct fm_frag *) 0x10aa0a698
#4 0x0000000109eb9990 in free_subnet_table (table=0x10aa0c340) at hash.c:845
i = 0
#5 0x0000000109ea8cfc in clean_addresses () at address.c:442
No locals.
#6 0x0000000109ec5c7e in mod_exit () at permissions.c:682
i = 1
#7 0x00000001080fc089 in destroy_modules () at sr_module.c:788
t = (struct sr_module *) 0x108553540
foo = (struct sr_module *) 0x1085531b8
#8 0x0000000107f533cb in cleanup (show_status=1) at main.c:512
memlog = 0
#9 0x0000000107f5ad2b in shutdown_children (sig=15, show_status=1) at main.c:654
No locals.
#10 0x0000000107f56394 in handle_sigs () at main.c:684
chld = 0
chld_status = 0
memlog = 0
#11 0x0000000107f5adb7 in sig_usr (signo=2) at main.c:781
memlog = 0
#12 <signal handler called>
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/41
Just loading pike (with a lot of other modules) running without any traffic. git head.
(gdb) bt full
#0 0x000000010b83e045 in clean_routine (ticks=10264832, param=0x0) at pike_funcs.c:175
mask = '\0' <repeats 31 times>
head = {
next = 0x62642e6f696c6961,
prev = 0x0
}
ll = (struct list_link *) 0x6d616b2f62642f73
dad = (struct ip_node *) 0x0
node = (struct ip_node *) 0x0
i = 1936026741
#1 0x0000000109aedc61 in compat_old_handler (ti=164237316, tl=0x10c365db8, data=0x10c365db8) at timer.c:996
t = (struct sr_timer *) 0x10c365db8
#2 0x0000000109aee43f in slow_timer_main () at timer.c:1130
n = 0
ret = 4294967295
tl = (struct timer_ln *) 0x10c365db8
i = 0
sig = 31
#3 0x000000010989af00 in main_loop () at main.c:1336
i = 166504192
pid = 0
si = (struct socket_info *) 0x109e9dff8
si_desc = "\b\000\000\0000\000\000\000??EV?\000\000\000\000\000\000\000\000\000\000???\t\001\000\000\000\001", '\0' <repeats 47 times>, "?EV?\000\000?\024?\t\001\000\000\000\020j?\t\001\000\000\000\000\000\000\000\006\000\000\000?9?\t\001\000\000\000\001\000\000\000\000\000\000"
nrprocs = 1
#4 0x00000001098a722d in main (argc=8, argv=0x7fff5645ba88) at main.c:2508
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/39
Module: kamailio
Branch: master
Commit: c87a75c5fb7aa5d940093fbbca8d9557cc9a0239
URL: https://github.com/kamailio/kamailio/commit/c87a75c5fb7aa5d940093fbbca8d955…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-23T10:55:15+01:00
pike: check that timer var is initialized before accessing the fields
- safe start with empty config, reported by Olle E. Johansson, GH#39
---
Modified: modules/pike/pike_funcs.c
---
Diff: https://github.com/kamailio/kamailio/commit/c87a75c5fb7aa5d940093fbbca8d955…
Patch: https://github.com/kamailio/kamailio/commit/c87a75c5fb7aa5d940093fbbca8d955…
---
diff --git a/modules/pike/pike_funcs.c b/modules/pike/pike_funcs.c
index 83b565a..a0b964f 100644
--- a/modules/pike/pike_funcs.c
+++ b/modules/pike/pike_funcs.c
@@ -172,7 +172,7 @@ void clean_routine(unsigned int ticks , void *param)
/* LM_DBG("entering (%d)\n",ticks); */
/* before locking check first if the list is not empty and if can
* be at least one element removed */
- if ( is_list_empty( timer )) return; /* quick exit */
+ if (timer==0 || is_list_empty( timer )) return; /* quick exit */
/* get the expired elements */
lock_get( timer_lock );
The jsonrpc-c module doesn't compile on OS/X
CC (gcc) [M jsonrpc-c.so] jsonrpc_io.o
jsonrpc_io.c:31:10: fatal error: 'sys/timerfd.h' file not found
#include <sys/timerfd.h>
^
1 error generated.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/33
Module: kamailio
Branch: master
Commit: 6ba1d8ad7f1fb8139202f12a4269c6f4f1e000b7
URL: https://github.com/kamailio/kamailio/commit/6ba1d8ad7f1fb8139202f12a4269c6f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-23T09:51:07+01:00
acc: rebuilt of readme
---
Modified: modules/acc/README
---
Diff: https://github.com/kamailio/kamailio/commit/6ba1d8ad7f1fb8139202f12a4269c6f…
Patch: https://github.com/kamailio/kamailio/commit/6ba1d8ad7f1fb8139202f12a4269c6f…
---
diff --git a/modules/acc/README b/modules/acc/README
index bbf84fe..59d9b33 100644
--- a/modules/acc/README
+++ b/modules/acc/README
@@ -564,11 +564,6 @@ Note
information given will not be stored in the CDR as they cannot be
accessed by the end of the call when the CDR is logged.
- Note that CDR generation does not involve any kind of database storage
- (yet). In order to persist the CDRs into a database you will have to
- set up an exterior process (i.e., a script living outside of Kamailio)
- and implement the storage task yourself.
-
Sometimes, dialogs expire because the UA has a problem and a final
message is never transmitted. You can toggle on/off the generation of
CDR-based logging in such cases with only the dlg_vars showing by using
Module: kamailio
Branch: master
Commit: 75db07b5d7794b0f67d5798917d1833a21382bb7
URL: https://github.com/kamailio/kamailio/commit/75db07b5d7794b0f67d5798917d1833…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-23T09:50:17+01:00
acc: removed note in the docs about no-db support for cdrs
---
Modified: modules/acc/doc/acc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/75db07b5d7794b0f67d5798917d1833…
Patch: https://github.com/kamailio/kamailio/commit/75db07b5d7794b0f67d5798917d1833…
---
diff --git a/modules/acc/doc/acc_admin.xml b/modules/acc/doc/acc_admin.xml
index 9d0403c..eb7acdc 100644
--- a/modules/acc/doc/acc_admin.xml
+++ b/modules/acc/doc/acc_admin.xml
@@ -352,12 +352,6 @@ if (uri=~"sip:+40") /* calls to Romania */ {
</para>
<para>
- Note that CDR generation does not involve any kind of database storage (yet). In order
- to persist the CDRs into a database you will have to set up an exterior process (i.e.,
- a script living outside of &kamailio;) and implement the storage task yourself.
- </para>
-
- <para>
Sometimes, dialogs expire because the UA has a problem and a final message is never
transmitted. You can toggle on/off the generation of CDR-based logging in such cases
with only the dlg_vars showing by using the cdr_expired_dlg_enable parameter