Probable bug: net/ftp and mysql thread problem

Discussion in 'Ruby' started by Ronald Fischer, Jun 18, 2007.

  1. 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 <>
    Phone: +49-89-452133-162
    =20
    Ronald Fischer, Jun 18, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. neblackcat
    Replies:
    0
    Views:
    391
    neblackcat
    Jul 15, 2004
  2. Tim Golden
    Replies:
    2
    Views:
    689
    Mark Hammond
    Jul 19, 2004
  3. Pierre Quentel
    Replies:
    21
    Views:
    666
  4. D. Buck
    Replies:
    2
    Views:
    483
    D. Buck
    Jun 29, 2004
  5. Rudra Banerjee

    Alternative and probable better way to printf

    Rudra Banerjee, May 3, 2013, in forum: C Programming
    Replies:
    8
    Views:
    272
    Siri Cruise
    May 3, 2013
Loading...

Share This Page