09-11-2003, 11:07 AM | #1 (permalink) |
Fast'n'Bulbous
Location: Australia, Perth
|
Segmentation fault
AHHHHHHHHHHHHHHHHHHHHHHHHHH!
What's your worst/most annoying programming bug/error? the one that pisses me off the ost is the segmentation fault, only cause i've gotten it so many times today and you have to put damn print statments everywhere to find when the bastard stuff up. Debugging is a killer............. i think i am gonna cut my loses and try for bed now |
09-11-2003, 05:44 PM | #3 (permalink) |
Junkie
Location: RI
|
If you're doin it in linux, I can talk you thru simple use of gdb if ya aren't already doin that.
Heck of a lot easier doin that then putting something in every function. For me, it was somethin that was happening on my mud with certain muds just screwin it totally up for half a minute. I think I fixed most of it though. |
09-12-2003, 02:04 PM | #5 (permalink) |
Junkie
Location: North Hollywood
|
yeah even post debugging with gdb and a core file will help you out, if anything segmentation faults are the easiest to debug, since its generally a hardware trap, since its nearly always you attempting to do something the computer can't
the worst are firmware errors on java based embedded devices you can't debug or trace on |
Tags |
fault, segmentation |
|
|