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

Anthony Cosgrove acosgrov at gmail.com
Tue Dec 13 01:45:04 MSK 2011


Bummer... this odbc driver is already linked to the thread-safe mysqlclient driver. Guess I'll need to go postgresql or something.

NPX1601155 lib # ldd libmyodbc5-5.1.6.so 
	linux-vdso.so.1 =>  (0x00007fffbd9ff000)
	libmysqlclient_r.so.16 => /usr/lib64/mysql/libmysqlclient_r.so.16 (0x00007f56dafed000)
	libodbcinst.so.1 => /usr/lib64/libodbcinst.so.1 (0x00007f56dadd0000)
	libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f56dabc6000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f56da9a9000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f56da63d000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f56da3bb000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f56da1a3000)
	libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f56d9f45000)
	libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f56d9b94000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f56d9990000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f56db5c0000)

Versions used:

unixODBC - 2.30-r1
myodbc - 5.1.6
mysql Ver 14.14 Distrib 5.1.56, for pc-linux-gnu (x86_64) using readline 5.1

Thanks,

Anthony C

On Dec 12, 2011, at 3:54 PM, Anthony Minessale wrote:

> yes that is the one I was referring to
> 
> On Mon, Dec 12, 2011 at 1:15 PM, Anthony Cosgrove <acosgrov at gmail.com> wrote:
> 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
> 
> 
> _________________________________________________________________________
> 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/923c0e81/attachment.html 


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