Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Bug stories!

Name: Anonymous 2014-02-06 22:31

This is a thread where we tell our stories of bugs that we fixed or couldn't fix.

I'll start:
I'm making an OpenGL program in sepples and I was trying to glGetString(GL_VERSION) so I can see if everything is working on Windows.

Every time I even made a function call? My program would crash. I couldn't for the love of my life find this god damn bug and started shouting and planning to plant pipebombs at Microsoft.[1]

Turns out I made a global object which when instantiated would call that function from it's constructor. It seemed reasonably appropriate to place that function call there for the moment since I'd remove it later.

When you don't have an OpenGL context? Any OpenGL function calls you make result in undefined behavior; read: program crash.

Your turn.

[1] Not actually. Although I should make a 'pipebomb microsoft to hell' doom clone.

Name: Anonymous 2014-02-07 15:31

I once found a horrible timing bug where reducing the processing time in an ISR by a single cycle would cause another thread that was racing with the ISR to hang.

>>2
That kind of thing is obviously unacceptable in a library, but in all fairness how do you expect a program to deal with that? I'd probably use System.err in that situation but if the program is daemonized you'd never see that message, either.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List