I'm sorry, attachment forgotten... ciao francesco
On Tue, Apr 12, 2011 at 5:30 PM, Francesco Castellano <[email protected]> wrote: > Hi Daniel, > > thank you for the kind reply. > > On Tue, Apr 12, 2011 at 10:43 AM, Daniel-Constantin Mierla > <[email protected]> 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 >
0(1276) DEBUG: <core> [cfg.y:1639]: loading module acc 0(1276) DEBUG: <core> [sr_module.c:515]: load_module: trying to load </usr/local/lib64/kamailio/modules_k/acc.so> 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <early_media> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <early_media> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <failed_transaction_flag> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <failed_transaction_flag> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <report_ack> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <report_ack> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <report_cancels> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <report_cancels> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <detect_direction> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <detect_direction> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <multi_leg_info> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <multi_leg_info> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <log_flag> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <log_flag> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <log_level> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <log_level> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <log_facility> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <log_facility> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:96]: set_mod_param_regex: 'acc' matches module 'acc' 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <log_extra> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <log_extra> in module acc [/usr/local/lib64/kamailio/modules_k/acc.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module usrloc [/usr/local/lib64/kamailio/modules_k/usrloc.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module usrloc [/usr/local/lib64/kamailio/modules_k/usrloc.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module auth_db [/usr/local/lib64/kamailio/modules_k/auth_db.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module auth_db [/usr/local/lib64/kamailio/modules_k/auth_db.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module permissions [/usr/local/lib64/kamailio/modules_k/permissions.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module permissions [/usr/local/lib64/kamailio/modules_k/permissions.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module domain [/usr/local/lib64/kamailio/modules_k/domain.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module domain [/usr/local/lib64/kamailio/modules_k/domain.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module htable [/usr/local/lib64/kamailio/modules_k/htable.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module htable [/usr/local/lib64/kamailio/modules_k/htable.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module alias_db [/usr/local/lib64/kamailio/modules_k/alias_db.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module alias_db [/usr/local/lib64/kamailio/modules_k/alias_db.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module speeddial [/usr/local/lib64/kamailio/modules_k/speeddial.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module speeddial [/usr/local/lib64/kamailio/modules_k/speeddial.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module pdt [/usr/local/lib64/kamailio/modules_k/pdt.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module pdt [/usr/local/lib64/kamailio/modules_k/pdt.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module dialplan [/usr/local/lib64/kamailio/modules/dialplan.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module dialplan [/usr/local/lib64/kamailio/modules/dialplan.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module userblacklist [/usr/local/lib64/kamailio/modules_k/userblacklist.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module userblacklist [/usr/local/lib64/kamailio/modules_k/userblacklist.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module lcr [/usr/local/lib64/kamailio/modules/lcr.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module lcr [/usr/local/lib64/kamailio/modules/lcr.so] 0(1276) DEBUG: <core> [cfg.lex:1696]: ### returning define ID [DBURL] value ["mysql://kamailio:kamailiorw@localhost/kamailio"] 0(1276) DEBUG: <core> [sr_module.c:713]: find_param_export: found <db_url> in module pipelimit [/usr/local/lib64/kamailio/modules/pipelimit.so] 0(1276) DEBUG: <core> [modparam.c:112]: set_mod_param_regex: found <db_url> in module pipelimit [/usr/local/lib64/kamailio/modules/pipelimit.so]
_______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
