From: Matthew Rudy Date: 2007-07-13T03:41:01+09:00 Subject: Re: Segfault in JSON - windows VISTA I correct myself, that was with json 1.0.3. btw, I'm running this from command prompt - running it "as administrator" Matthew Rudy wrote: > ========================================================================== > the output from my irb running json 1.0.7 > ========================================================================== > c:\code\RubyOnRailsApps\MidasSubscriptions\trunk\main>irb > irb(main):001:0> require 'rubygems' > => false > irb(main):002:0> gem 'json' > => true > irb(main):003:0> require 'json' > => true > irb(main):004:0> exit > > c:\code\RubyOnRailsApps\MidasSubscriptions\trunk\main>irb > irb(main):001:0> require 'rubygems' > => false > irb(main):002:0> gem 'json' > => true > irb(main):003:0> require 'json' > => true > irb(main):004:0> JSON.parse(JSON.unparse(:stuff => "nuff")) > => {"stuff"=>"nuff"} > irb(main):005:0> exit > c:/ruby/bin/irb.bat:20: [BUG] Segmentation fault > ruby 1.8.4 (2006-04-14) [i386-mswin32] > > > This application has requested the Runtime to terminate it in an unusual > way. > Please contact the application's support team for more information. -- Posted via http://www.ruby-forum.com/.