Bugs item #4135, was opened at 2006-04-17 14:16
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=4135&group_id=426

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Adam Carheden (acarheden)
Assigned to: Nobody (None)
Summary: Windows DEP causes crash

Initial Comment:
I have a Ruby on Rails application running on Windows/IIS that every once in a while crashes. When I log on to with Windows box again, I get Microsoft's Data Execution Prevention (DEP) dialog telling me it had to close the Ruby interpreter. I haven't been able to reproduce it reliably, but below is some info that might be helpful.

Ruby Version: ruby 1.8.2 (2004-12-25) [i386-mswin32]
Rails Version per Gem: 1.1.0

The stack trace reported from Rails on the most recent crash:
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/connection_adapters/mysql_adapter.rb:293:in `columns'
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:696:in `columns'
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/calculations.rb:212:in `column_for'
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/calculations.rb:135:in `calculate'
C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/calculations.rb:64:in `count'
#{RAILS_ROOT}/app/controllers/datafile_controller.rb:96:in `getstats'
#{RAILS_ROOT}/app/controllers/datafile_controller.rb:94:in `each'
#{RAILS_ROOT}/app/controllers/datafile_controller.rb:94:in `getstats'
#{RAILS_ROOT}/app/controllers/datafile_controller.rb:13:in `search'

----------------------------------------------------------------------

Comment By: Roger Pack (rogerdpack)
Date: 2007-05-03 03:26

Message:
seems to be a mysql problem -- try updating everything and try again?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=4135&group_id=426