Hi,
I am running RSSScraper and get segfault on both 1.8.2 and 1.9.1
built from CVS under cygwin
···
-----
% ruby scrape_server.rb
[2005-01-09 18:59:25] INFO WEBrick 1.3.1
[2005-01-09 18:59:25] INFO ruby 1.8.2 (2005-01-09) [i386-cygwin]
[2005-01-09 18:59:25] INFO WEBrick::HTTPServer#start: pid=2012 port=4049
localhost - - [09/Jan/2005:19:00:43 GMT-8:00] "GET /RubyGardenWiki
HTTP/1.1" 200 121337
...
[...snip]
...
/usr/local/lib/ruby/1.8/timeout.rb:40: [BUG] Segmentation fault
ruby 1.8.2 (2005-01-09) [i386-cygwin]
zsh: 2012 abort (core dumped) ruby scrape_server.rb
-----
This problem does not happen if I run scraper_server using
% /cygdrive/c/ruby/bin/ruby.exe -v
ruby 1.8.2 (2004-12-25) [i386-mswin32]
One other difference I've noted is that the Log output above does not
get displayed when running under i386-mswin32 version.
Help?
-Erlend Oye
I am seeing this on 2 different machines with fresh install. Compiling Ruby with
-ggdb -g3 -O0
prints something more useful but still fails all over.
/usr/local/lib/ruby/1.8/timeout.rb:40: [BUG] rb_gc_mark() called for broken object
ruby 1.8.2 (2005-01-10) [i386-cygwin]
zsh: 13060 abort (core dumped) ruby scrape_server.rb
···
-------
/usr/local/lib/ruby/1.8/rexml/text.rb:295: [BUG] Segmentation fault
ruby 1.8.2 (2005-01-10) [i386-cygwin]
zsh: 22780 abort (core dumped) ruby scrape_server.rb
--------
/usr/local/lib/ruby/1.8/timeout.rb:40: [BUG] rb_gc_mark(): unknown data type 0x2e(0x1037d178) non object
ruby 1.8.2 (2005-01-10) [i386-cygwin]
zsh: 5032 abort (core dumped) ruby -d scrape_server.rb
--------
Very frustrated
Erlen Oye
Erlend Oye wrote:
Hi,
I am running RSSScraper and get segfault on both 1.8.2 and 1.9.1
built from CVS under cygwin
-----
% ruby scrape_server.rb
[2005-01-09 18:59:25] INFO WEBrick 1.3.1
[2005-01-09 18:59:25] INFO ruby 1.8.2 (2005-01-09) [i386-cygwin]
[2005-01-09 18:59:25] INFO WEBrick::HTTPServer#start: pid=2012 port=4049
localhost - - [09/Jan/2005:19:00:43 GMT-8:00] "GET /RubyGardenWiki
HTTP/1.1" 200 121337
...
[...snip]
...
/usr/local/lib/ruby/1.8/timeout.rb:40: [BUG] Segmentation fault
ruby 1.8.2 (2005-01-09) [i386-cygwin]
zsh: 2012 abort (core dumped) ruby scrape_server.rb
-----
This problem does not happen if I run scraper_server using
% /cygdrive/c/ruby/bin/ruby.exe -v
ruby 1.8.2 (2004-12-25) [i386-mswin32]
One other difference I've noted is that the Log output above does not
get displayed when running under i386-mswin32 version.
Help?
-Erlend Oye
Erlend Oye wrote:
/usr/local/lib/ruby/1.8/timeout.rb:40: [BUG] rb_gc_mark() called for broken object
ruby 1.8.2 (2005-01-10) [i386-cygwin]
[...]
zsh: 22780 abort (core dumped) ruby scrape_server.rb
--------
/usr/local/lib/ruby/1.8/timeout.rb:40: [BUG] rb_gc_mark(): unknown data type 0x2e(0x1037d178) non object
ruby 1.8.2 (2005-01-10) [i386-cygwin]
Any other libraries that it's using? YAML used to do something similar.