Forum: Ruby on Rails ROR - Random [BUG] Segmentation faults

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D5f943601f71a908e2df8180f59691e7?d=identicon&s=25 Beatty (Guest)
on 2009-03-05 20:09
(Received via mailing list)
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:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
    <title>The T-Shirt Company</title>
</head>
<body>
</body>
</html>

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.
This topic is locked and can not be replied to.