Issue #4573 has been updated by Luis Lavena.


In relation to MySQL 5.1 or 5.5, did you place libmysql.dll from MySQL 5.0?

As I mentioned, the binary of the gem really requires the exact version of MySQL library:

http://blog.mmediasys.com/2009/08/21/mysqlruby-2-8-1-released/

Please place libmysql.dll from a 5.0 version of MySQL in the Ruby bin directory just to discard any possible issues with it.

As for the source code, can you provide me at least a list of gems that compose the project bundle (Gemfile)? Something to take a look and work with.

This is important for me for trying to reproduce the 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