Re: [MacRuby-devel] malloc error: GC operation on unregistered thread

2010-07-27 Thread Laurent Sansonetti
Looks like a bug in WebKit. Do you have a sample project that reproduces this problem? This way, I can test if it has already been fixed, and report the problem otherwise. Thanks! Laurent On Jul 27, 2010, at 1:11 PM, Michael Jackson wrote: > Hi Laurent, > > The only framework I'm using up to

Re: [MacRuby-devel] malloc error: GC operation on unregistered thread

2010-07-27 Thread Michael Jackson
Hi Laurent, The only framework I'm using up to this point is WebKit, and it appears that is the problem. Here's the result I get when I set the breakpoint: (gdb) bt #0 0x7fff881d6c64 in auto_zone_thread_registration_error () #1 0x7fff881d69aa in Auto::Zone::registered_thread () #2 0x00

Re: [MacRuby-devel] malloc error: GC operation on unregistered thread

2010-07-27 Thread Laurent Sansonetti
Hi Michael, It's likely not a problem in your code neither in MacRubyi (I hope!), but in a framework you use. This warning typically happen when a native thread makes use of the GC without being registered. Do you use any 3rd party framework in your app? In any case, try setting a breakpoint o

[MacRuby-devel] malloc error: GC operation on unregistered thread

2010-07-27 Thread Michael Jackson
Hi all, I'm getting a malloc error every time I run my app. Here's what I'm getting in the console: Running… Bottlefly(45475,0x116a2) malloc: *** auto malloc[45475]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to deb

Re: [MacRuby-devel] malloc error

2010-07-26 Thread Laurent Sansonetti
Hi Robert, On Jul 26, 2010, at 6:18 PM, Robert Rice wrote: > MacRuby 0.6 is working well for me but I recently started getting the > following malloc error while using the custom page size dialog in Page Setup: > > MacRuby 0.6 Release(774,0x7fff7045cc20) malloc: reference count underflow for >

Re: [MacRuby-devel] malloc error

2010-07-26 Thread Matt Massicotte
This may not be a bug. It can mean that something is being Garbage-collected that is not an object. I've run into this a fair bit when using MacRuby. I use MacRuby to access a ObjC library that otherwise does not run in a garbage-collected environment. I typically see this most often when us

[MacRuby-devel] malloc error

2010-07-26 Thread Robert Rice
MacRuby 0.6 is working well for me but I recently started getting the following malloc error while using the custom page size dialog in Page Setup: MacRuby 0.6 Release(774,0x7fff7045cc20) malloc: reference count underflow for 0x20275e080, break on auto_refcount_underflow_error to debug. MacRuby