From: Lee Date: 2004-10-26T04:34:08+09:00 Subject: Re: ruby-htmltools on cygwin - SystemStackError On Tue, 26 Oct 2004 04:01:14 +0900, Markus wrote: [snip some very helpful advice and observations] > Have you checked to see if this is a known issue, or platform > specific, etc.? > Hi Markus, Thanks for the keen observations, it would be interesting to uncomment that debugging puts and follow the stack trace -- I did also file a bug report at the rubyforge page for ruby-htmltools. However, in my particular case, the problem was averted (I don't say solved since it remains unexplained!) by installing the pre-packaged ruby binaries that cygwin makes available (it is version 1.8.1, rather than the 1.8.2 that I had downloaded from the ruby download site). Perhaps there is some internal change in ruby's stackframe handling between 1.8.1 and 1.8.2 that does not play nicely with cygwin? I wish I had time on my hands to investigate this, but alas, I do not. Thanks for the helpful answer, Lee PS As an ironic end to this particular saga, it turns out that the HTML returned by the site that I wish to parse is so absurdly malformed that I cannot find a single automated tool that does not choke on it, and so I have fallen back to using (sigh) regular expressions to "parse" it as best I can.