Bugs: Browse | Submit New | Admin

[#4135] Windows DEP causes crash

Date:
2006-04-17 14:16
Priority:
3
Submitted By:
Adam Carheden (acarheden)
Assigned To:
Shyouhei Urabe (shyouhei)
Category:
Language / Runtime / Core Libraries
State:
Open
Platform:
 
Summary:
Windows DEP causes crash

Detailed description
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'

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-04-07 16:10
Sender: Luis Lavena

Two things: move to a newer ruby installation (1.8.4 at least)
and install the latest mysql gem adapter.

DEP shouldn't crash on you even is enabled, that means something
nasty was done by some of the components, which I think is mysql.

Date: 2007-06-12 03:06
Sender: Ryan Davis

I'm not convinced this has anything to do with ruby.
Date: 2007-05-03 03:26
Sender: Roger Pack

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

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
assigned_tonone2007-06-12 03:22zenspider
category_idNone2007-06-12 03:06zenspider