From: Luis Lavena Date: 2007-11-13T01:45:02+09:00 Subject: Re: MySQL Module - Segmentation Fault - Windows On Nov 12, 11:35 am, Venks wrote: > Hi, > > I am getting "segmentation fault" when I try to run the following > piece of ruby code. > > 1) I installed the latest version of MySQL version for Windows 5.1.22 > 2) I installed the MySQL module using "gem install mysql" and chose > option 1 (mysql 2.7.3. win32) > > I don't have this problem on Linux running Fedora. Unfortunately I > really need to make this work on my laptop running windows where most > of the development will be done. > Did you run the same MySQL version under Fedora? I didn't updated to latest beta (5.1) of MySQL, this is my result: D:\Users\Developer\Desktop>ruby -w db_test.rb Client Info: 5.0.45 Error in my_thread_global_end(): 1 threads didn't exit 5.1 is flagged as Release Candidate / Development Release. Maybe the mysql-ruby bindings need to be tweaked for making this compatible. Since mswin32 extensions need VC6, do you have the compiler available to build from source?