From: Eero Saynatkari Date: 2006-01-29T06:20:35+09:00 Subject: Re: Having trouble embedding ruby. On 2006.01.29 04:34, Mikko Lehtonen wrote: > > Hi Matt, > > > > >I'm doing very similar work with an XCode project embedding Ruby 1.8.4 > >via libruby-static.a. > > > >Based on previous [BUG] Bus Error my first thought would be about how > >you compiled Ruby and the extension you are trying to use. Were they > >both compiled with the same version of GCC? > > Yes. > > > > >I don't pretend to understand it, but I believe I have seen something > >similar when Ruby compiled with GCC3 attemtped to use an extension > >compiled with GCC4. > > Could be, but I'm pretty sure both were compiled with the same > version. I also tried compiling all with gcc 3.3, with the same > results. Can you get anything out of a debugger, either from the process or the core file? The BSD-family seems to sometimes use the bus error signal instead of SIGSEGV. > >Regards, > > > >Matt > > Thanks, > Mikko E