[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Probable bug: net/ftp and mysql thread problem

Ronald Fischer

6/18/2007 9:49:00 AM

I found a bug, which seems to appear in Ruby 1.8.5 and 1.8.6
under Windows, when net/ftp and the mysql 2.7.3 gem are used
in the same program.

The but can be demonstrated with the following program:



require 'mysql'
require 'net/ftp'
# (replace your host/user/pwd here)
Net::FTP.new('host','user','passwd')



If I run this program, I get the error message

Error in my_thread_global_end(): 1 threads didn't exit

The error disappears if I either

- comment out the require 'mysql' line
- comment out the Net::FTP.new(...) line

Ronald
--
Ronald Fischer <ronald.fischer@venyon.com>
Phone: +49-89-452133-162