Issue #4573 has been updated by Rares Miron.


Hi Luis,

Many thanks,

The issue is solved now.
I've copied the libmysql.dll from another Windows machine with mysql 5.0 instaled version into the Ruby bin directory and this fixed the problem.

I appreciate the effort for helping me solve this issue.
----------------------------------------
Bug #4573: [BUG] Segmentation fault - Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has stopped working
http://redmine.ruby-lang.org/issues/4573

Author: Rares Miron
Status: Feedback
Priority: Normal
Assignee: Luis Lavena
Category: core
Target version: 1.9.2
ruby -v: ruby 1.9.2p180 (2011-02-18) [i386-mingw32]


Scenario : run existing ROR application on windows 7 with Service Pack 1 installed (all windows updates were done)
(this same application works fine on xp and ubuntu)
Note: I have installed on my machine mysql 5.1

Steps followed by us:
1. Installed latest ruby (rubyinstaller-1.9.2-p180.exe) for windows on windows 7 machine with Path option checked. (c:\Ruby192)
	[Command] ruby -v 
	[Output]: ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
2. started ruby console with admin rights to upgrade all the gems(followed instructions from Apress.Beginning.Rails.3.Sep.2010.pdf):
	gem update --system 
	gem sources -a http://gemcutter.org 
	gem install rails 
	rails -v
	[Output]: Rails 3.0.6
3. download latest devkit(DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe) and run all the requested install comands (c:\DevKit\)
	ruby dk.rb init
	ruby dk.rb install
	gem install rdiscount --platform=ruby #used to verify it installed correctly
4. In application directory (path doesn't contains spaces) run the following commands
	bundle install
	rails s

The last command is returning the following error:
> rails s
 Booting WEBrick
 Rails 3.0.6 application starting in development on http://0.0.0.0:3000
 Call with -d to detach
 Ctrl-C to shutdown server
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.6/lib/active_support/core_ext/module/introspection.rb:79: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18) [i386-mingw32].......I've attached all the command output in a file.


-- 
http://redmine.ruby-lang.org