Summary: | dev-ruby/haml segmentation fault (triggered by dev-ruby/sinatra tests) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Flags: | graaff:
Bugday+
|
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2010-01-11 00:09:38 UTC
Created attachment 216043 [details]
Build log
I'm seeing the same thing: /usr/lib64/ruby/1.8/erb.rb:535: [BUG] rb_gc_mark(): unknown data type 0x18(0x12f2a40) non object ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] Reproducer: ruby -Ilib -rubygems /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb test/haml_test.rb The segmentation fault happens deep in the garbage_collect code triggered by an eval. The following code is enough to cause the segmentation fault: require File.dirname(__FILE__) + '/helper' require 'haml' class HAMLTest < Test::Unit::TestCase def haml_app(&block) end end Not fixed yet in haml-3.0.16. This appears to be fixed with haml 3.1.1. |