<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Razvan,<div><br></div><div>Thank you, the bug is fixed.</div><div><br></div><div>Best,</div><div><br></div><div>Moe</div><div><br><div><div>On Apr 17, 2012, at 1:36 AM, Razvan Crainea wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hello, Moe!<br>
<br>
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.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">--
Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
<br>
On 04/14/2012 12:57 PM, Moe Navid wrote:
<blockquote cite="mid:CACOMF+37E04J-woG+apeSh=f0rSZWe5zuz-M0A_gQa6bGOX0cQ@mail.gmail.com" type="cite">Regarding the second one, I had something really
really stupid going on, not a bug, but the first report is still
valid.
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Moe.<br>
<br>
<div class="gmail_quote">On Sat, Apr 14, 2012 at 1:30 AM,
Mohammad Amin Navid <span dir="ltr"><<a moz-do-not-send="true" href="mailto:manavid@gmail.com">manavid@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hello,
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div><b>1) The crash:</b> When setting load_credentials
with only the column, it causes openSIPS to crash</div>
<div>modparam("auth_db", "load_credentials",
"email_address")</div>
<div><br>
</div>
<div>here is the backtrace:</div>
<div><br>
</div>
<div>
<div><font face="Courier">#0 0x00000000004cf85d in tsl
(lock=0x0) at evi/../fastlock.h:88</font></div>
<div><font face="Courier">#1 get_lock (lock=0x0) at
evi/../fastlock.h:178</font></div>
<div><font face="Courier">#2 0x00000000004d11fd in
lookup_avp_alias_str (name=0x7f46abfc06e8, </font></div>
<div><font face="Courier"> avp_name=0x7fff1b26c69c,
extra=1) at usr_avp.c:505</font></div>
<div><font face="Courier">#3 parse_avp_spec_aux
(name=0x7f46abfc06e8, avp_name=0x7fff1b26c69c,
extra=1)</font></div>
<div><font face="Courier"> at usr_avp.c:566</font></div>
<div><font face="Courier">#4 0x00000000004d1403 in
get_avp_id (name=0x0) at usr_avp.c:587</font></div>
<div><font face="Courier">#5 0x00007f46a7996a4a in
parse_aaa_avps () at aaa_avps.h:145</font></div>
<div><font face="Courier">#6 mod_init () at
authdb_mod.c:209</font></div>
<div><font face="Courier">#7 0x000000000049e034 in
init_mod (m=0x7f46abfc1b30) at sr_module.c:458</font></div>
<div><font face="Courier">#8 0x000000000049dfcc in
init_mod (m=0x7f46abfc1c00) at sr_module.c:453</font></div>
<div><font face="Courier">#9 0x000000000049dfcc in
init_mod (m=0x7f46abfc1cd0) at sr_module.c:453</font></div>
<div><font face="Courier">#10 0x000000000049dfcc in
init_mod (m=0x7f46abfc2078) at sr_module.c:453</font></div>
<div><font face="Courier">#11 0x000000000049dfcc in
init_mod (m=0x7f46abfc2148) at sr_module.c:453</font></div>
<div><font face="Courier">#12 0x000000000049dfcc in
init_mod (m=0x7f46abfc2218) at sr_module.c:453</font></div>
<div><font face="Courier">#13 0x000000000049dfcc in
init_mod (m=0x7f46abfc22e8) at sr_module.c:453</font></div>
<div><font face="Courier">#14 0x000000000049dfcc in
init_mod (m=0x7f46abfc23b8) at sr_module.c:453</font></div>
<div><font face="Courier">#15 0x000000000049dfcc in
init_mod (m=0x7f46abfc2488) at sr_module.c:453</font></div>
<div><font face="Courier">#16 0x000000000049dfcc in
init_mod (m=0x7f46abfc2558) at sr_module.c:453</font></div>
<div><font face="Courier">#17 0x000000000049dfcc in
init_mod (m=0x7f46abfc2628) at sr_module.c:453</font></div>
<div><font face="Courier">#18 0x000000000049dfcc in
init_mod (m=0x7f46abfc2be0) at sr_module.c:453</font></div>
<div><font face="Courier">#19 0x0000000000431c37 in main
(argc=<value optimized out>, </font></div>
<div><font face="Courier"> argv=<value optimized
out>) at main.c:1466</font></div>
</div>
<div><br>
</div>
<div>
<b>2) The bug:</b> 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.</div>
<div><br>
</div>
<div>Thank you.</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></body></html>