hpricot segfault?
Posted
by AP257
on Stack Overflow
See other posts from Stack Overflow
or by AP257
Published on 2010-06-15T21:50:41Z
Indexed on
2010/06/15
21:52 UTC
Read the original article
Hit count: 560
Any idea why hpricot might segfault on this page?
trial_url = 'http://www.controlled-trials.com/ISRCTN56071145/'
doc = Hpricot(open(trial_url))
produces:
/Users/ap257/.gem/ruby/1.8/gems/hpricot-0.8.2/lib/hpricot/parse.rb:33: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0]
Abort trap
Please could anyone advise on how I could get around this, or whether it's a bug in hpricot that I should report somewhere?
Thanks!
© Stack Overflow or respective owner