Project

General

Profile

Actions

Bug #6406

closed

Ruby crashes with Segmentation fault

Added by shmeltex (Shmel de Tex) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]
Backport:
[ruby-core:44900]

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

ruby_2012-05-05-190111_shmeltex-mac.crash (19.6 KB) ruby_2012-05-05-190111_shmeltex-mac.crash shmeltex (Shmel de Tex), 05/06/2012 11:35 AM
crash_details.txt (128 KB) crash_details.txt shmeltex (Shmel de Tex), 05/06/2012 11:35 AM
newrelic.yml (456 Bytes) newrelic.yml shmeltex (Shmel de Tex), 05/07/2012 02:23 AM

Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #5647: Possible use of uninitialized value in Init_bigdecimalClosedmrkn (Kenta Murata)11/18/2011Actions

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

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"
Actions #4

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]
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0