On 26 April 2011 11:58, Daniel-Constantin Mierla <miconda(a)gmail.com> wrote:
On 4/21/11 2:21 PM, Roman Yeryomin wrote:
On 21 April 2011 12:16, Daniel-Constantin Mierla<miconda(a)gmail.com>
wrote:
(gdb) bt full
#0 0xb7228e3a in parseurl (url=0xb7213230 "T�0\b#") at perlvdbfunc.c:60
No locals.
#1 0xb7228e7d in perlvdb_db_init (url=0x1<Address 0x1 out of
Seems that the db url is not passed properly.
While you are in gdb, do:
frame 2
p db_url
(gdb) frame 2
#2 0xb720df85 in child_init (rank=0) at authdb_mod.c:166
166 auth_db_handle = auth_dbf.init(&db_url);
(gdb) p db_url
$1 = {s = 0x830f554 "perlvdb:OpenSER::VDB::Adapter::Auth", len = 35}
the url value looks ok here, but what t gets to perlvdb_db_init() is
corrupted ...
Can you send also the log messages, i.e., output of:
kamailio -E -ddd
sure, see kam.log in attachment
and this is from syslog:
Apr 26 16:52:41 ubuntu kamailio: WARNING: <core> [sr_module.c:578]:
/usr/local/lib/kamailio/modules_k/perl.so: exports dlflags interface
is deprecated and it will notbe supported in newer versions; consider
using mod_register() instead
Apr 26 16:52:41 ubuntu kamailio: WARNING: <core> [sr_module.c:578]:
/usr/local/lib/kamailio/modules_k/perlvdb.so: exports dlflags
interface is deprecated and it will notbe supported in newer versions;
consider using mod_register() instead
Apr 26 16:52:41 ubuntu kamailio: WARNING: <core> [sr_module.c:578]:
/usr/local/lib/kamailio/modules/app_lua.so: exports dlflags interface
is deprecated and it will notbe supported in newer versions; consider
using mod_register() instead
Apr 26 16:52:41 ubuntu kamailio: DEBUG: <core> [route.c:2193]:
WARNING: the main routing table is empty
Apr 26 16:52:41 ubuntu kernel: [24500.303812] kamailio[3331]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.311439] kamailio[3330]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.318834] kamailio[3332]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.324009] kamailio[3333]: segfault
at 1 ip b72bce3a sp bfe08520 error 4
Apr 26 16:52:41 ubuntu kernel: [24500.330790] kamailio[3334]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.336431] in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.344042] kamailio[3337]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.365297] kamailio[3335]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.370611] kamailio[3339]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.370791] kamailio[3336]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Apr 26 16:52:41 ubuntu kernel: [24500.371033] kamailio[3338]: segfault
at 1 ip b72bce3a sp bfe08520 error 4 in perlvdb.so[b72b9000+6000]
Regards,
Roman