[OpenSIPS-Users] Crash and a bug with mod auth_db
Moe Navid
manavid at gmail.com
Sat Apr 14 11:57:29 CEST 2012
Regarding the second one, I had something really really stupid going on,
not a bug, but the first report is still valid.
Thanks,
Moe.
On Sat, Apr 14, 2012 at 1:30 AM, Mohammad Amin Navid <manavid at gmail.com>wrote:
> Hello,
>
> I filed the crash with source forge, but I don't know if it got submitted
> or not. I'm facing the following problems with auth_db:
>
> *1) The crash:* When setting load_credentials with only the column, it
> causes openSIPS to crash
> modparam("auth_db", "load_credentials", "email_address")
>
> here is the backtrace:
>
> #0 0x00000000004cf85d in tsl (lock=0x0) at evi/../fastlock.h:88
> #1 get_lock (lock=0x0) at evi/../fastlock.h:178
> #2 0x00000000004d11fd in lookup_avp_alias_str (name=0x7f46abfc06e8,
> avp_name=0x7fff1b26c69c, extra=1) at usr_avp.c:505
> #3 parse_avp_spec_aux (name=0x7f46abfc06e8, avp_name=0x7fff1b26c69c,
> extra=1)
> at usr_avp.c:566
> #4 0x00000000004d1403 in get_avp_id (name=0x0) at usr_avp.c:587
> #5 0x00007f46a7996a4a in parse_aaa_avps () at aaa_avps.h:145
> #6 mod_init () at authdb_mod.c:209
> #7 0x000000000049e034 in init_mod (m=0x7f46abfc1b30) at sr_module.c:458
> #8 0x000000000049dfcc in init_mod (m=0x7f46abfc1c00) at sr_module.c:453
> #9 0x000000000049dfcc in init_mod (m=0x7f46abfc1cd0) at sr_module.c:453
> #10 0x000000000049dfcc in init_mod (m=0x7f46abfc2078) at sr_module.c:453
> #11 0x000000000049dfcc in init_mod (m=0x7f46abfc2148) at sr_module.c:453
> #12 0x000000000049dfcc in init_mod (m=0x7f46abfc2218) at sr_module.c:453
> #13 0x000000000049dfcc in init_mod (m=0x7f46abfc22e8) at sr_module.c:453
> #14 0x000000000049dfcc in init_mod (m=0x7f46abfc23b8) at sr_module.c:453
> #15 0x000000000049dfcc in init_mod (m=0x7f46abfc2488) at sr_module.c:453
> #16 0x000000000049dfcc in init_mod (m=0x7f46abfc2558) at sr_module.c:453
> #17 0x000000000049dfcc in init_mod (m=0x7f46abfc2628) at sr_module.c:453
> #18 0x000000000049dfcc in init_mod (m=0x7f46abfc2be0) at sr_module.c:453
> #19 0x0000000000431c37 in main (argc=<value optimized out>,
> argv=<value optimized out>) at main.c:1466
>
> *2) The bug:* The named AVPs for load_credentials works just fine with a
> MySQL backend however, the AVPs for load_credentials are not accessible
> when using PostgreSQL as a db backend. When using PostgreSQL as backend, I
> can see in logs that it's querying correctly and I can even see the values
> from DB but somehow they are not being accessible through the AVP.
>
> Thank you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120414/58770524/attachment-0001.htm>
More information about the Users
mailing list