I have been troubleshooting an issue with a multi-threaded application port from Solaris X86 to Linux. It was randomly dumping core on "main" or other random parts of code. After hacking on the issue for about a week, I decided to write a little hello world program and compile it with the same options as my application. Lo-and-behold it cored in the same manner, randomly and confusingly. I then began to pare off flags and includes and libraries until, as if by magic, it began to work! It turned out that there is an existing issue all the way back to RH 7.2 with the compile option "-fstack-check" Here is my sample prog: int main() { printf ("Hello World\n"); return(0); } compile with: gcc -fstack-check -o test Run the output program up to 10 times. It should core dump at least once...Is this a bug in the kernel, compiler or standard libs? -- Sean Bruno Telecommunications Engineer Metro One Telecommunications Desk (503)524-1632 Cell (503)358-6832 _______________________________________________ Redhat-devel-list mailing list Redhat-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/redhat-devel-list