Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Probable bug: net/ftp and mysql thread problem

Reply
Thread Tools

Probable bug: net/ftp and mysql thread problem

 
 
Ronald Fischer
Guest
Posts: n/a
 
      06-18-2007
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.=20

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
--=20
Ronald Fischer <(E-Mail Removed)>
Phone: +49-89-452133-162
=20

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting a string to the most probable type Pierre Quentel Python 21 03-17-2008 01:22 AM
Wireless USB Adapters: A Probable List Of Supported Brands =?Utf-8?B?R2FsZW4=?= Windows 64bit 2 09-28-2005 07:45 AM
RE: Probable Pywin32 (win32com.client) bug?? Tim Golden Python 2 07-18-2004 11:54 PM
Probable Pywin32 (win32com.client) bug?? neblackcat Python 0 07-15-2004 09:46 AM
(probable) spyware highjack of IE 6.0 - help! systemtool Computer Support 6 03-01-2004 03:40 PM



Advertisments