THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#60 - kamailio 3.0.x: segfault in carrierroute
User who did this - marius zbihlei (marius.zbihlei)
----------
Hello
Indeed the error messages are misleading. I will replace a.s.a.p. those strings with something that makes more sense in the carrierroute context.
Cheers
Marius
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=60#comment76
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#60 - kamailio 3.0.x: segfault in carrierroute
User who did this - marius zbihlei (marius.zbihlei)
----------
Hello Ovidiu,
I have done a couple of tests and I get the following results:
1. The crash happens only in kamailio-3.0 branch (not it ser or kamailio 1.5)
2. The crash happens only when I use an string value for the avp
As it seems the handling of the name of the avp in case of an error is wrong, because the code always behaves like the avp name is AVP_VAL_STR which is not the case in smth like $avp(i:707)
I have commited a patch on the kamailio_3.0 branch that fixes the bug by checking the type of avp name. (http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5604e51…) As I side note I still can't figure it out why in ser or kamailio 1.5 it doesn't crash. If anyone can shed more light on the subject, I would be very thankful.
Marius
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=60#comment75
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: master
Commit: accf0388ffaf208fd9f0f31a2618fe1a429b3cc6
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=accf038…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Apr 8 23:21:53 2010 +0200
tm: notes about avp parameters format
- they can be either PV style $avp(name) for K compat mode or just the
name of avp for S compat mode
(cherry picked from commit 2bbb798da2e332f5558646e6faa285e6377286bd)
---
modules/tm/README | 101 ++++++++++++++++++++++++++------------------
modules/tm/doc/params.xml | 25 +++++++++++
2 files changed, 85 insertions(+), 41 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=acc…
Module: sip-router
Branch: kamailio_3.0
Commit: 2bbb798da2e332f5558646e6faa285e6377286bd
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2bbb798…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Apr 8 23:21:53 2010 +0200
tm: notes about avp parameters format
- they can be either PV style $avp(name) for K compat mode or just the
name of avp for S compat mode
---
modules/tm/README | 101 ++++++++++++++++++++++++++------------------
modules/tm/doc/params.xml | 25 +++++++++++
2 files changed, 85 insertions(+), 41 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=2bb…
Hi, using kamailio 1.5.4.
By error I filled the 'address' table as follows:
+------+-----------------+------+------+
| grp | ip_addr | mask | port |
+------+-----------------+------+------+
| 1000 | 2.2.2.23 | 31 | 0 |
| 1001 | DELETEME | 32 | 0 |
+------+-----------------+------+------+
When starting kamailio I get this error:
ERROR:permissions:reload_address_table: database problem
CRITICAL:permissions:init_addresses: reload of address table failed
ERROR:permissions:init_addresses: no more shm memory
ERROR:permissions:mod_init: failed to initialize the allow_address function
ERROR:core:init_mod: failed to initialize module permissions
"no more shm memory"? :)
--
Iñaki Baz Castillo
<ibc(a)aliax.net>