On Thu, Mar 5, 2009 at 1:57 PM, Richard Thomas <[email protected]> wrote:
> > I am experiencing a very weird bug. My interpreter keeps segfaulting > when I do any serious amount of GL. It almost always happens but not > after a consistent amount of time. I have a simple lap timer program I > wrote and to keep it from being boring I put a little expanding > circles effect in the background. Now if I disable the label that's > displaying the time or the circles then it'll run seemingly forever > without crashing, if I do both at once it crashes within a minute or > so. > > I've exhausted almost every possibility I can think of. I ran memtest > for half a dozen passes in cases I had a hardware fault. Pyglet's GL > wrapper is simple enough that I can't really see ctypes being the > problem or foreign function libraries would be giving up all over the > place. Besides which nobody else I've tried has had this problem. > > Is there anyone who's experienced anything like this? > > Sometimes I get a bus error instead of a seg fault. What Mac hardware are you running? If you have the Intel integrated X3100 GPU, present in 2008 MacBooks and iMacs, and possibly some Mac Minis, then any attempt to mix immediate mode OpenGL with VBOs can cause both segfaults and bus errors. There are a couple of posts on my blog (in signature) related to this issue. -- Tristam MacDonald http://swiftcoder.wordpress.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
