JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-6613

special characters like umlauts make Kramdown hang (works with MRI Rubies)

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.7.0.pre1
    • Fix Version/s: JRuby 1.7.0.pre2
    • Component/s: Interpreter
    • Labels:
      None
    • Environment:
      It happens with jruby-1.6.7 final and also with the current jruby-head, on Linux.
    • Number of attachments :
      0

      Description

      Hi,

      I hope this is the right place for this issue (and not in the Kramdown issues list)

      Reproducing it is simple:
      install the current kramdown gem with jruby and run

      > require 'kramdown'
      > puts Kramdown::Document.new('ab').to_html

      with irb.

      It will run in an endless loop whenever there are special chars like or or in the string.
      With Ruby 1.9.3 it works fine.
      Currently I'm not able to get more information by looking at the JVM's stacktrace.

      Maybe this relates to https://github.com/rtomayko/rdiscount/pull/58 where Charly said: "and rdiscount_test.rb appears to hang (possibly a JRuby bug)."

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Heiko Seebach
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: