Re: Why am I getting segmentation fault on this code
- Posted by Lnettnay Jul 15, 2017
- 1309 views
On Windows 8.1 compiled the statement doesn't cause a segfault but the program just dies. The debug print statement after it is not executed.
Lonny
PS: After I compiled it again with -debug turned on and then ran it with gdb it did show a segfault.
I'll try to look at some more this afternoon. Need to get some sleep so I can go to work.