# ROR - Random \[BUG\] Segmentation faults

**URL:** <https://www.ruby-forum.com/t/ror-random-bug-segmentation-faults/162108>\
**Category:** Rails\
**Created:** [March 5, 2009, 8:09pm UTC](https://www.ruby-forum.com/t/ror-random-bug-segmentation-faults/162108 "2009-03-05T20:09:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beatty](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b19c9b/32.png) [@Beatty](https://www.ruby-forum.com/u/Beatty)\
**Post date:** [March 5, 2009, 8:09pm UTC](https://www.ruby-forum.com/t/ror-random-bug-segmentation-faults/162108/1 "2009-03-05T20:09:05Z")

</div>

I’m new to ruby and webdev in general and am having a really hard time  
getting my first project kickin. I can install and get the initial  
server page up and running. I’ve updated the gems and installed the  
mysql one along with mongrel.

But once I setup my controller and view, I begin getting the error  
below. It’ll occur after I load it 4 or 5 times. If I include more  
html in the middle, it’ll fail after the second time loading it in  
Internet Explorer. (never the first). Also, sometimes it’s the  
abstract\_adapter, sometimes the mysql adapter. They are very  
random…

c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active\_record/  
connection\_a  
dapters/abstract\_adapter.rb:38: [BUG] Segmentation fault  
ruby 1.8.6 (2007-03-13) [i386-mswin32]

This application has requested the Runtime to terminate it in an  
unusual way.  
Please contact the application’s support team for more information.

I’m running on a windows XP SP 3 with Dual Core and 2gb ram. I  
initially installed mysql 5.1, but after reading a post about the  
adapter not working, I installed mysql 5.0.77 which is what is  
currently running. But I’m not even doing any db calls…

Below is my view. My controller and action are basically empty:

 The T-Shirt Company

Below is my database.yml.  
development:  
adapter: mysql  
encoding: utf8  
database: tshirt

# pool: 5

username: tshirt  
password: tshirt  
host: localhost

Any help would be appreciated.
