segmentation fault. please help!

Apr 23, 2013 at 12:18am
segmentation fault. please help!
Last edited on Apr 26, 2013 at 9:20pm
Apr 23, 2013 at 12:31am
When I used to run linux, I got seg faults when I ran out of memory. This may be whats happening here.
Apr 23, 2013 at 5:13am
I just did this same project the other week. If you are on unix you can use GDB to debug exactly where the seg fault is happening. If you don't know about GDB a simple google search will help you a lot. The command backtrace within GDB will show you what you need to know. Also compile with -g to show line numbers
Apr 23, 2013 at 8:13pm
I'm not on a unix.
Apr 23, 2013 at 8:35pm
Use another debugger than. What IDE are you using? It might have a built-in debugger you can employ.
Topic archived. No new replies allowed.