Segmentation fault using thin on Windows 7
|ruby -v:||ruby 1.9.3p194 (2012-04-20) [i386-mingw32]||Backport:|
After cloning the git project git.js from https://github.com/danlucraft/git.js and executing rake demo, I receive a Segmentation fault. The output from stderr is attached as well as the output to the console.
I am using Windows 7, 64 Bit. I installed Ruby using the RubyInstaller 1.9.3-p194 from http://rubyinstaller.org . I have attached a list of gems I have installed. I installed those directly via gem from the server repository except eventmachine. I used the procedure described in http://snippets.aktagon.com/snippets/289-How-to-install-thin-rack-and-eventmachine-on-Windows-Cygwin to install eventmachine:
git clone git://github.com/eventmachine/eventmachine.git
gem install eventmachine-1.0.0.beta.4
#1 Updated by Hiroshi Shirosaki over 3 years ago
Please see this issue.
You will solve it by commenting out line 85 of ext\project.h: #define FD_SETSIZE 1024.