Bug #6406
closedRuby crashes with Segmentation fault
Description
Ruby consistently crashes with Segmentation fault. Gem newrelic in development mode has a link "List Threads", every time I click the link - Ruby crashes.
Steps to reproduce:
- generate rails app
- add gem 'newrelic' to Gemfile
- run bundler
- start application
- go to localhost:3000/newrelic and click on "List Threads"
Files
Updated by shmeltex (Shmel de Tex) almost 12 years ago
Tried with ruby 1.9.3p203 (2012-05-04 revision 35536) [x86_64-darwin11.3.0] and got the same result.
Updated by naruse (Yui NARUSE) almost 12 years ago
- Status changed from Open to Feedback
Please write procedure in commands, like
- rails g foo
- cd foo
- echo 'gem "newrelic"' >> Gemfile
And I failed the produce in "run bundler" as following:
% bundle
Fetching gem metadata from https://rubygems.org/.........
Could not find gem 'newrelic (>= 0) ruby' in the gems available on this machine.
Updated by shmeltex (Shmel de Tex) almost 12 years ago
- File newrelic.yml newrelic.yml added
Sorry, made mistake in gem name, should be newrelic_rpm.
Updated step by step instruction assuming rails 3.2.x:
- rails new foo
- cd foo
- echo 'gem "newrelic_rpm"' >> Gemfile
- bundle install
- printf "development:\n monitor_mode: false\n developer_mode: true\n" > config/newrelic.yml
- script/rails s
- navigate to http://localhost:3000/newrelic
- click on "List Threads"
Updated by naruse (Yui NARUSE) almost 12 years ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r35555.
Shmel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- ext/bigdecimal/bigdecimal.c (Init_bigdecimal): define IDs before
they are used. [ruby-core:44900] [Bug #6406]