[Freeswitch-users] Error in my_thread_global_end(): nn threads didn't exit

Anthony Cosgrove acosgrov at gmail.com
Mon Dec 12 22:15:21 MSK 2011


Hmm... I don't see an _r version of the odbc driver. There is an _r version for the libmysqlclient driver. 

NPX1601155 unixODBC # cat odbcinst.ini 
[myodbc-5.1]
Description=MySQL ODBC myodbc-5.1.6 Driver
Driver=/usr/lib/libmyodbc5.so
UsageCount=1

NPX1601155 unixODBC # ls /usr/lib/libmy* -lah
-rwxr-xr-x 1 root root 297K Dec 10 08:48 /usr/lib/libmyodbc5-5.1.6.so
-rw-r--r-- 1 root root 465K Dec 10 08:48 /usr/lib/libmyodbc5.a
-rw-r--r-- 1 root root 1.1K Dec 10 08:48 /usr/lib/libmyodbc5.la
lrwxrwxrwx 1 root root   19 Dec 10 08:48 /usr/lib/libmyodbc5.so -> libmyodbc5-5.1.6.so
lrwxrwxrwx 1 root root   30 Dec 10 08:21 /usr/lib/libmysqlclient -> mysql/libmysqlclient.so.16.0.0
lrwxrwxrwx 1 root root   30 Dec 10 08:21 /usr/lib/libmysqlclient.so -> mysql/libmysqlclient.so.16.0.0
lrwxrwxrwx 1 root root   30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16 -> mysql/libmysqlclient.so.16.0.0
lrwxrwxrwx 1 root root   30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16.0 -> mysql/libmysqlclient.so.16.0.0
lrwxrwxrwx 1 root root   30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16.0.0 -> mysql/libmysqlclient.so.16.0.0
lrwxrwxrwx 1 root root   32 Dec 10 08:21 /usr/lib/libmysqlclient_r -> mysql/libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root   32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so -> mysql/libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root   32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16 -> mysql/libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root   32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16.0 -> mysql/libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root   32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16.0.0 -> mysql/libmysqlclient_r.so.16.0.0

Anthony C

On Dec 12, 2011, at 11:48 AM, Anthony Minessale wrote:

> this is a mysql thing.
> make sure your odbc driver points at the _r version of the driver in odbcinst.ini
> 
> 
> On Mon, Dec 12, 2011 at 7:26 AM, Anthony Cosgrove <acosgrov at gmail.com> wrote:
> Hey folks,
> 
> 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
> 
> 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.
> 
> Log output @ http://pastebin.freeswitch.org/17995
> Lua code being used @ http://pastebin.freeswitch.org/17997
> 
> Has anyone else gotten this message with their ODBC functions? Threads not exiting = menos buenos
> 
> 
> Thanks,
> 
> Anthony (zorprime)
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 
> 
> 
> -- 
> Anthony Minessale II
> 
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
> 
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111212/3b800bf2/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list