From: Jan Bernhardt Date: 2003-05-15T07:28:51+09:00 Subject: Re: Embedding/GC/heap corruption problem On Thu, 15 May 2003 00:06:07 +0200, Simon Strandgaard wrote: > On Thu, 15 May 2003 00:45:00 +0200, Jan Bernhardt wrote: >> >> Unfortunately, this didn't help also. And by looking at how the >> Global_List and its related function are implemented I would have been >> very surprised if that did the trick... Maybe the problem lies somewhere >> completely different. But I'm pretty sure that the other code is correct. > > Is it a multithreaded application you are embedding ruby into ? > > If it is then you should consider semaphore protect all access to ruby, > because ruby is not thread-safe. Such errors can be hard to solve. > > > If not.. then we will have to dig deeper into the problem ;-) > > -- > Simon Strandgaard Half-Life uses a single threaded model and I was afraid that you'd say that. - Jan.