<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Yup so I landed up switching to postgresql 9.1 on my gentoo box. Been about 10 minutes and haven't seen the error message.</div><div><br></div><div>I don't see an entry for postgres in the wiki so I shall "do the needful" and pay the tax :)</div><div><br></div><div>Thanks Anthony</div><div><br></div><div><br></div><div><br></div><div><br></div><div>AC</div><br><div><div>On Dec 12, 2011, at 5:45 PM, Anthony Cosgrove wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Bummer... this odbc driver is already linked to the thread-safe mysqlclient driver. Guess I'll need to go postgresql or something.<div><br></div><div><div>NPX1601155 lib # ldd libmyodbc5-5.1.6.so </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>linux-vdso.so.1 => (0x00007fffbd9ff000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libmysqlclient_r.so.16 => /usr/lib64/mysql/libmysqlclient_r.so.16 (0x00007f56dafed000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libodbcinst.so.1 => /usr/lib64/libodbcinst.so.1 (0x00007f56dadd0000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f56dabc6000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f56da9a9000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libc.so.6 => /lib64/libc.so.6 (0x00007f56da63d000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libm.so.6 => /lib64/libm.so.6 (0x00007f56da3bb000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libz.so.1 => /lib64/libz.so.1 (0x00007f56da1a3000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f56d9f45000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f56d9b94000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libdl.so.2 => /lib64/libdl.so.2 (0x00007f56d9990000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/lib64/ld-linux-x86-64.so.2 (0x00007f56db5c0000)</div><div><br></div><div>Versions used:</div><div><br></div><div>unixODBC - 2.30-r1</div><div>myodbc - 5.1.6</div><div>mysql Ver 14.14 Distrib 5.1.56, for pc-linux-gnu (x86_64) using readline 5.1</div><div><br></div><div>Thanks,</div><div><br></div><div>Anthony C</div><div><br></div><div><div>On Dec 12, 2011, at 3:54 PM, Anthony Minessale wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">yes that is the one I was referring to<br><br><div class="gmail_quote">On Mon, Dec 12, 2011 at 1:15 PM, Anthony Cosgrove <span dir="ltr"><<a href="mailto:acosgrov@gmail.com">acosgrov@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"><div>Hmm... I don't see an _r version of the odbc driver. There is an _r version for the libmysqlclient driver. </div><div><br></div><div><div>NPX1601155 unixODBC # cat odbcinst.ini </div>
<div>[myodbc-5.1]</div><div>Description=MySQL ODBC myodbc-5.1.6 Driver</div><div>Driver=/usr/lib/libmyodbc5.so</div><div>UsageCount=1</div></div><div><br></div><div><div>NPX1601155 unixODBC # ls /usr/lib/libmy* -lah</div>
<div>-rwxr-xr-x 1 root root 297K Dec 10 08:48 /usr/lib/<a href="http://libmyodbc5-5.1.6.so/" target="_blank">libmyodbc5-5.1.6.so</a></div><div>-rw-r--r-- 1 root root 465K Dec 10 08:48 /usr/lib/libmyodbc5.a</div><div>-rw-r--r-- 1 root root 1.1K Dec 10 08:48 /usr/lib/<a href="http://libmyodbc5.la/" target="_blank">libmyodbc5.la</a></div>
<div>lrwxrwxrwx 1 root root 19 Dec 10 08:48 /usr/lib/libmyodbc5.so -> <a href="http://libmyodbc5-5.1.6.so/" target="_blank">libmyodbc5-5.1.6.so</a></div><div>lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient -> mysql/libmysqlclient.so.16.0.0</div>
<div>lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient.so -> mysql/libmysqlclient.so.16.0.0</div><div>lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16 -> mysql/libmysqlclient.so.16.0.0</div>
<div>lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16.0 -> mysql/libmysqlclient.so.16.0.0</div><div>lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16.0.0 -> mysql/libmysqlclient.so.16.0.0</div>
<div>lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r -> mysql/libmysqlclient_r.so.16.0.0</div><div>lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so -> mysql/libmysqlclient_r.so.16.0.0</div>
<div>lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16 -> mysql/libmysqlclient_r.so.16.0.0</div><div>lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16.0 -> mysql/libmysqlclient_r.so.16.0.0</div>
<div>lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16.0.0 -> mysql/libmysqlclient_r.so.16.0.0</div><div><br></div></div><div>Anthony C</div><div><div></div><div class="h5"><br><div><div>On Dec 12, 2011, at 11:48 AM, Anthony Minessale wrote:</div>
<br><blockquote type="cite">this is a mysql thing.<div>make sure your odbc driver points at the _r version of the driver in odbcinst.ini</div><div><br><br><div class="gmail_quote">On Mon, Dec 12, 2011 at 7:26 AM, Anthony Cosgrove <span dir="ltr"><<a href="mailto:acosgrov@gmail.com" target="_blank">acosgrov@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"><div>Hey folks,</div><div><br></div>So I'm using Lua to process fax calls but I've noticed that after the call has ended and things have settled down I get the following message on the console: Error in my_thread_global_end(): nn threads didn't exit<div>
<br></div><div>From the testing I've been doing it seems to happen when I use the ODBC functions of freeswitch.Dbh() -- I've posted my debug output on pastebin but it didn't reveal much if anything.</div><div>
<br></div><div>Log output @ <a href="http://pastebin.freeswitch.org/17995" target="_blank">http://pastebin.freeswitch.org/17995</a></div><div>Lua code being used @ <a href="http://pastebin.freeswitch.org/17997" target="_blank">http://pastebin.freeswitch.org/17997</a></div>
<div><br></div><div>Has anyone else gotten this message with their ODBC functions? Threads not exiting = menos buenos</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Anthony (zorprime)</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
</div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net/">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></blockquote></div><br></body></html>