Path: chuka.playstation.co.uk!news From: "Matt Verran" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: GsDrawOT hanging... HELP! Date: Fri, 10 Sep 1999 17:32:43 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 36 Message-ID: <7rbbu2$mac9@chuka.playstation.co.uk> References: <7r92mn$mac4@chuka.playstation.co.uk> <86puzr4pxp.fsf@foo.mel.cybec.com.au> NNTP-Posting-Host: modem-108.neon.dialup.pol.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Toby (or anyone else), Could you go into more detail about this? I did find once that making some of my local variables into global ones stopped the hang. I also found that making sure variables are specifically set to 0 helped. The same problem keeps resurfaceing though. Should I change ALL my locals to static types? what consequences will this have? Thanks for replying Matt Toby Hutton wrote in message news:86puzr4pxp.fsf@foo.mel.cybec.com.au... > "Matt Verran" writes: > > > I am getting a weird error and have no idea how to fix it: basically > > GsDrawOT is hanging at the end of the loop for no apparent reason, It only > > happens sometimes and I can change TOTALLY unrelated things and it stops > > happening???? It *may* only be happening when my execution loop is > > taking over one frame to execute. I know this is a problem with a hires > > screen but i'm only using 320x256??? whats going on???? > > > > This has been driving me CRAAAAAAZZZZY-BONKERS for sooo long now and it's > > really holding up my project, PLEASE can someone help me. > > Whenever I get weird errors (and totally unrelated things seem to > affect it) I look at my stack space. Crazy behaviour can often be > caused by a corrupt stack, and fixed easily by making more locals > static. I reckon this should be emphasized more in the FAQ :) > -- > Toby.