![]() |
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 :( |
Object reference is not set to an instance of an object.
|
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. |
Casting errors are my most hated, especially with multi-dimensional char pointers/arrays.
That, and forgetting to convert things to Unicode strings when working with some Unicode-specific Windows API. D'oh! |
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 |
The worst is programming in a linux console exclusively for the first time in your life...
|
I hate errors in multidimensional arrays (using all pointers).. I just get buried and it takes a while to figure out my wrror.
|
All times are GMT -8. The time now is 12:52 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project