Forum: Ruby Probable bug: net/ftp and mysql thread problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
C667185722eaecf12461cb423dc8b410?d=identicon&s=25 Ronald Fischer (Guest)
on 2007-06-18 11:50
(Received via mailing list)
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)'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 line

This topic is locked and can not be replied to.