I'm sorry, attachment forgotten...
ciao
francesco
On Tue, Apr 12, 2011 at 5:30 PM, Francesco Castellano
<francesco.castellano(a)gmail.com> wrote:
Hi Daniel,
thank you for the kind reply.
On Tue, Apr 12, 2011 at 10:43 AM, Daniel-Constantin Mierla
<miconda(a)gmail.com> wrote:
[...]
Finally,
and more importantly, do you have any idea about the reason
for which the config parser can see a default value for db_url (for
acc), different from the one in modules_k/acc/acc_mod.c (specifically,
it takes a valid db_url used by other modules)?
What operating system are you using? Normally should not be a symbol
conflict and the value of the db url in acc module should be the one set
locally - so far it was not reported any such conflict although the acc
module is very old.
Indeed I'm just use a plain linux debian squeeze x86_64. It is a
xen-hosted vm with not so much memory (256 MB + swap of 512 MB).
By the stderr of "kamailio -ddddc", it seems that no db_url parameter
is defined for acc.so (in attachment those lines with db_url or acc).
Just to provide more informations, I said that db_url was the valid
db_url used for other modules, because, after the segfault, I got the
corefile and, backtracing with gdb, at acc_onreply(), printing db_flag
I got 0, and printing db_url I got
"mysql://kamailio:kamailiorw@localhost/kamailio". Now I'm not really
an expert of gdb, so I'm not sure at all that the procedure followed
was the correct one to have printed the db_url value of acc.so. Please
correct me if I'm wrong.
Kind regards,
Francesco Castellano