[BUG] cross-thread violation on rb_gc()

A friend of mine, new to Ruby, gets this error when he runs a program I
gave him. He's running 1.8.6 (2009-03-31) [x86_64-linux]. I can't
reproduce the problem with any of the versions of Ruby I have installed
on 32-bit Ubuntu and OS X.

The program makes heavy use of Ruby's memory allocation routines
(xmalloc, etc.).

Google shows a lot of hits involving Merb, which is not in use here.

Any ideas about the problem and what he can do to fix it?

···

--
Posted via http://www.ruby-forum.com/.

He could start by posting a backtrace.

···

On Jun 19, 2009, at 05:24, Tim Hunter wrote:

A friend of mine, new to Ruby, gets this error when he runs a program I
gave him. He's running 1.8.6 (2009-03-31) [x86_64-linux]. I can't
reproduce the problem with any of the versions of Ruby I have installed
on 32-bit Ubuntu and OS X.

The program makes heavy use of Ruby's memory allocation routines
(xmalloc, etc.).

Google shows a lot of hits involving Merb, which is not in use here.

Any ideas about the problem and what he can do to fix it?