[lug] C program freezing machine
Zan Lynx
zlynx at acm.org
Tue Apr 15 11:52:01 MDT 2008
On Tue, 2008-04-15 at 10:49 -0600, Lori Reed wrote:
> Recompile all code with the -g option to enable debugging info in the
> object code, then start the program with a good debugger (I like ddd)
> and start setting breakpoints.
>
> A good C coder should be able to find the issue within their own code in
> less than a day.
I don't think it's necessarily a problem with the programmer's code that
debugging can find. It could be using so much memory in such a random
pattern that the machine goes into a swap storm or it could be stressing
the system in such a way as to cause a hardware problem (overheat, not
enough power, CPU errata like the AMD TLB bug in Phenom, etc).
--
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20080415/dbc0dba1/attachment.pgp>
More information about the LUG
mailing list