Hi,
I''ve been using the rassmalog static blogging engine and have
encountered a stack overflow inside the redcloth regexp matcher. I
don''t seem to suffer this error on my Ubuntu (Feisty Fawn) box (with
Ruby 1.8.4??), but I do get it on my Gentoo system. Running the
following line will generate it (I''ve attached the YAML/redcloth file
to this message).
$ ruby -ryaml -rubygems -e "require ''redcloth''; f
YAML.load_file(''regexp-stack-overflow.yaml''); puts
RedCloth.new(f[''text'']).to_html"
My system is:
$ uname -a
Linux godspeed 2.6.18-gentoo-r6 #1 PREEMPT Sun Dec 31 13:52:07 GMT
2006 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
$ ruby -version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
(I have also tried with Gentoo''s Ruby 1.8.5_p2 - which generated the
same error)
$ gem list redcloth
*** LOCAL GEMS ***
RedCloth (3.0.4)
RedCloth is a module for using Textile and Markdown in Ruby. Textile
and Markdown are text formats. A very simple text format. Another
stab at making readable text that can be converted to HTML.
--
Rick
rick.moynihan at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regexp-stack-overflow.yaml
Type: application/octet-stream
Size: 2296 bytes
Desc: not available
Url :
http://rubyforge.org/pipermail/redcloth-upwards/attachments/20070425/b8cea0cc/attachment.obj