[MacRuby] #1121: Assertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes)
#1121: Assertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes) ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- With r5182, assertion fails as following command. It works until r5178 without assertion. {{{ On MacRuby source directory: $ cd test/test-mri/ $ macruby -r require_relative.rb test/csv/test_encodings.rb ---------------------------------------- Loaded suite test/csv/test_encodings Started ...E.FFEE.....EAssertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes), function str_index_for_string_with_cache, file string.c, line 1151. zsh: abort macruby -r require_relative.rb test/csv/test_encodings.rb $ macruby -r require_relative.rb test/ruby/test_m17n.rb ---------------------------------------- Loaded suite test/ruby/test_m17n Started F..EFEFE.EFF..EEEE..F.FE.E...EE.FFFAssertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes), function str_index_for_string_with_cache, file string.c, line 1151. zsh: abort macruby -r require_relative.rb test/ruby/test_m17n.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1121> MacRuby <http://macruby.org/>
#1121: Assertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes) ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): OK, this code must be removed. It is simpler and even faster to return the character index from the search method instead of trying to guess it. -- Ticket URL: <http://www.macruby.org/trac/ticket/1121#comment:1> MacRuby <http://macruby.org/>
#1121: Assertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes) ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 1.0 Component: MacRuby | Keywords: 0.9-blocker ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * keywords: => 0.9-blocker * milestone: => MacRuby 1.0 Comment: Adding 0.9-blocker keyword. -- Ticket URL: <http://www.macruby.org/trac/ticket/1121#comment:2> MacRuby <http://macruby.org/>
#1121: Assertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes) ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 1.0 Component: MacRuby | Keywords: 0.9-blocker ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): We need to make sure #1116 is still fixed after fixing this ticket (in other words, making sure it's still as fast as before, if not faster). -- Ticket URL: <http://www.macruby.org/trac/ticket/1121#comment:3> MacRuby <http://macruby.org/>
#1121: Assertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes) ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 1.0 Component: MacRuby | Resolution: fixed Keywords: 0.9-blocker | ----------------------------------+----------------------------------------- Changes (by vincent.isambart@…): * status: new => closed * resolution: => fixed Comment: Should be fixed in r5200 -- Ticket URL: <http://www.macruby.org/trac/ticket/1121#comment:4> MacRuby <http://macruby.org/>
#1121: Assertion failed: (boundaries.start_offset_in_bytes <= offset_in_bytes) ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.9 Component: MacRuby | Resolution: fixed Keywords: 0.9-blocker | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * milestone: MacRuby 1.0 => MacRuby 0.9 -- Ticket URL: <http://www.macruby.org/trac/ticket/1121#comment:5> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby