Running a piece of C code from inside Netbeans 6.8 causes a Segmentation Fault. But the problem doesn't appear when running in debugging mode or from shell. Tried both in external terminal and output window of Netbeans.
The process is threaded, and uses an itimer that sends a signal, which I am masking with pthread_sigmask for threads that are irrelevant.
I saw some things about bugs hiding in debugging mode, but why could they also be hidden when running in shell?