Project

General

Profile

Actions

Bug #10899

closed

ruby 2.2.0 darwin crash (in ripper?)

Added by moeffju (Matthias Bauer) about 9 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
[ruby-core:68285]

Description

I get a ruby crash when running metric_fu on a ~20k LOC ruby on rails app.
The crash happens in the rails_best_practices metric, but only when running multiple metrics (using metric_fu -r, which runs all).
It does not happen when running only a subset of metrics that includes rails_best_practices.
I have not been able to narrow it down further, but it seems that the crash originates in ext/ripper.

/Users/moeffju/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/code_analyzer-0.4.5/lib/code_analyzer/checking_visitor/default.rb:42: [BUG] Segmentation fault at 0x00000000037280
(snip)

Files

ruby_2015-02-24-163341_Sgian-Dubh.crash (16.3 KB) ruby_2015-02-24-163341_Sgian-Dubh.crash moeffju (Matthias Bauer), 02/24/2015 03:38 PM
bug-10899.log (92.3 KB) bug-10899.log nobu (Nobuyoshi Nakada), 02/25/2015 01:04 AM

Updated by nobu (Nobuyoshi Nakada) about 9 years ago

Could you compile with debugging options?
And, if possible, can it reproduce with the trunk?

Actions #2

Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0