Projects

Ticket #3 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

"broken US-ASCII string" during RI generation

Reported by: lsansonetti@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.2
Component: MacRuby Keywords:
Cc:

Description

Sometimes, `make install' fails with the following error.

Generating RI...
/Users/jkh/Src/MacRuby/lib/rdoc/markup/lines.rb:47:in `gsub!': broken US-ASCII string (ArgumentError)
from /Users/jkh/Src/MacRuby/lib/rdoc/markup/lines.rb:47:in `initialize'
from /Users/jkh/Src/MacRuby/lib/rdoc/markup.rb:237:in `new'
from /Users/jkh/Src/MacRuby/lib/rdoc/markup.rb:237:in `block in convert'
from /Users/jkh/Src/MacRuby/lib/rdoc/markup.rb:237:in `map'
from /Users/jkh/Src/MacRuby/lib/rdoc/markup.rb:237:in `convert'
from /Users/jkh/Src/MacRuby/lib/rdoc/generator/ri.rb:181:in `markup'
from /Users/jkh/Src/MacRuby/lib/rdoc/generator/ri.rb:110:in `generate_method_info'

It's most probably a GC problem, maybe a missing write barrier.

Change History

Changed 4 years ago by demisone@…

I have this problem too. Maybe the wiki should be updated until this is fixed...

Changed 4 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from MacRuby 1.0 to MacRuby 0.2

With the recent fixes in trunk, `make install' (and especially the RI generation) should now pass without any problem.

Note: See TracTickets for help on using tickets.