[OpenSIPS-Users] Crash and a bug with mod auth_db
Razvan Crainea
razvan at opensips.org
Tue Apr 17 10:36:14 CEST 2012
Hello, Moe!
I have just committed a fix on svn. Can you please update your sources
and try again? Let me know if the problem is not solved.
Regards,
--
Ra(zvan Crainea
OpenSIPS Developer
http://www.opensips-solutions.com
On 04/14/2012 12:57 PM, Moe Navid wrote:
> 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 <mailto: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.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120417/755ac661/attachment.htm>
More information about the Users
mailing list