Welcome, Guest. Please login or register.

Author Topic: Find what is causing GURU 8000003  (Read 7751 times)

Description:

0 Members and 4 Guests are viewing this topic.

Offline billyfish

  • Jr. Member
  • **
  • Join Date: Oct 2005
  • Posts: 51
    • Show all replies
Re: Find what is causing GURU 8000003
« on: March 07, 2012, 11:56:38 AM »
Quote

What are my options for tracking this down? I know there is Enforcer (and I'll switch to UAE or my A1200/060) but I'm not even sure if that the right tool to use. Or maybe somebody knows of a few common things to check for?


Enforcer is good. In terms of memory bugs, since you're using SAS, try linking against MemLib which is in its extras folder. I found I had to rebuild MemLib to get it to work ok on my WinUAE but you might be ok. I also seem to recall having similar gurus when I had my PARAMS option in scopts set to "BOTH" rather than "STACK" but that may have been due to specifics in the project I was working on.

Good luck!

billy
 

Offline billyfish

  • Jr. Member
  • **
  • Join Date: Oct 2005
  • Posts: 51
    • Show all replies
Re: Find what is causing GURU 8000003
« Reply #1 on: March 08, 2012, 11:27:01 PM »
Quote from: bbond007;682987
More interestingly it was able to detect this condition as "trailer trashed". see the "* DisplayBPP" in the AllocVec... I know thats wrong, i just find it strange that it would trash memory. I'd think its simply a waste of memory (MAX_POLY_VERT was already way more than needed) . unless displayBPP was a floating point between 0 and 1... which its not...

   if(areaBuffer = AllocVec(MAX_POLY_VERT * DisplayBPP, MEMF_CLEAR))
   {
      InitArea(&areaInfo, areaBuffer, MAX_POLY_VERT);


This one has stung me in the past, areaBuffer needs to be 5 times bigger than the number of max number of points, take a look at

http://amiga.sourceforge.net/amigadevhelp/phpwebdev.php?keyword=InitArea&funcgroup=AmigaOS&action=Search

So that could give you the trashed trailer. You can confirm this by looking at the memory directly after the areaBuffer where MemLib will put

"\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"

If you keep watching that address in CodeProbe, you should see it change.


Quote

I'll use Memlib in the future as it beats my previous method of trying to remember what the chip and fast were before I ran the app.


It's saved a lot of my hair! :-)

billy