[GLLUG] Debugging executables that act weird

Ben Pfaff blp@cs.stanford.edu
19 Feb 2002 13:57:52 -0800


Edward Glowacki <glowack2@msu.edu> writes:

> I'm trying to debug some software here and I've encountered an
> interesting phenomenon.  Everywhere else, the software works fine, but
> on every FreeBSD machine I have ever installed, it doesn't work
> correctly.  The executable runs fine (as in it actually runs, does not
> dump core, and exits normally), but apparently doesn't get any data back
> from some subroutine (judging by very limited access to the source
> code), so it spits out an error message and exits.  

Have you tried strace (or its FreeBSD equivalent)?  Have you
tried Electric Fence or other memory debuggers?  Have you tried
Google?