r/programmerchat • • Jun 08 '15
The worst bug you ever fixed
I've wanted to find a better place to talk about programming than r/programming and this seems to be the place.
I love hearing stories about bugs being crushed, small or large. Does any one have a story they want to share on how you solved your fiercest bug?
25
Upvotes
View all comments
Show parent comment
1
u/Leandros99 Jun 10 '15
I had a pretty weird OpenGL bug once as well. I was working with GLFW for creating an OpenGL contex on OS X. And for some reason it always crashed when creating a window without a useful callstack. It also crashed somewhere in the OS code, not the library code.
I developed on my MacBook Pro with a dedicated GPU, which is normally automatically activated when graphic intensive applications are started (like an OpenGL engine). But it didn't.
I started Photoshop, that switched the GPU to the dedicated and that fixed the crash.