Re: [MacRuby-devel] Fixing ext/json

2009-08-19 Thread dan sinclair
Ok, it crashes when typed into macirb but not when run as a script with macruby. dan On Aug 19, 2009, at 11:24 PM, dan sinclair wrote: I've simplified the crash to happen outside of the JSON extension. module Test class << self attr_accessor :foo end end Test.foo = "asdf" unknown: [

Re: [MacRuby-devel] Fixing ext/json

2009-08-19 Thread dan sinclair
I've simplified the crash to happen outside of the JSON extension. module Test class << self attr_accessor :foo end end Test.foo = "asdf" unknown: [BUG] destination 0x100fe3fb0 isn't in the auto zone MacRuby version 0.5 (ruby 1.9.0) [universal-darwin9.0, x86_64] dan On Aug 17, 2009,

[MacRuby-devel] Fixing ext/json

2009-08-17 Thread dan sinclair
Hello, I've been taking a poke at ext/json for the last few days attempting to get JSON support working again. I've got it compiling but have run into an issue with memory management and the garbage collector that I've been unable to get past. I've attached my current diff of changes to g