Minh,
   This is not likely a code problem but more likely a subsystem problem on
your computer.

Try disabling sound and see if you still get crashes, that's the quickest
way to verify the source.

One common fix for sound-looping-system hangs is to decrease the directx
sound acceleration level to "basic" (lower then that isn't recommended).
You can do this via dxdiag, with from start > run > dxdiag <enter> or I have
a little toolkit with a lot of useful system tools and links including a
button to run dxdiag:

http://qsextreme.com/qs_toolkit

Having two sound cards/ chips on your system can also cause this, if you
have an add-on sound card be sure to uninstall the old mobo soundchip
drivers and disable the onboard sound chip in the BIOS.

Creative sound cards have also been known to cause this if they are in the
farthest PCI slot away from the video card slot.

KevinO


----- Original Message -----
From: "Minh" <minh_le at telus.net>
To: <[email protected]>
Sent: Wednesday, October 31, 2007 4:37 PM
Subject: [hlcoders] tracking down infinite loops


I've been playtesting my mod lately and every so often it will hang (with
looping sound) Resulting in no minidumps.
I'm guessing this is due to an infinite loop in my code somewhere. Does
anyone know a good method of debugging this sort of bug ? (ie. infinite
loops). The fact that they dont spit out any minidumps makes tracking them
impossible for me..



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to