Yes, the last value is a return value. My mistake.
Yes, I was using XLIB for the render method:
I will take another look at the code and see if I can figure something out.
The last parameter to glXChooseFBConfigSGIX is a return value. The
function sets config_count to the number of elements in the config
array which it returns. It doesn't use the value as a count.
If you were using XLIB the InitSGIX function should never have been
called. Are you sure you have set your <renderMethod> to xlib?
> I have run into a major problem while running Gazebo 0.6.0 on OS X
> v10.4.5. It also applies to Gazebo 0.5.2.
> When I run wxgazebo using 'example.world' (XLIB render method) I get
> the following error:
> Bus Error
> Here is what I found with gdb:
> GLContext::InitSGIX (this=0x1805008, shareList=0x0) at GLContext.cc:462
> 462 config = configs[i];
> After a little work I found that the error is actually on line 456 of
> Here is the original code:
> configs = glXChooseFBConfigSGIX(::display, 0, attrList, &config_count);
> Here is the modified code:
> configs = glXChooseFBConfigSGIX(::display, 0, attrList, &attrCount);
> Basically the wrong count is being passed to glXChooseFBConfigSGIX().
> Using the modified code fixes the problem for me.
> Mark Woehrer
> Doctoral Student
> Computer Science
> Oklahoma University
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> Playerstage-gazebo mailing list