"Stack Collision" Error Message

Questions or discussions about the Titan and classic consoles and software.

Moderator: Moderators

iain1@rogers.com

"Stack Collision" Error Message

Postby iain1@rogers.com » 17 Mar 2004, 19:57

Can anyone tell me what the error message "STACK COLLISION" means just before a Pearl crashes and refuses to take part in any more of the show.? Iain
Chris Steel
Posts: 6
Joined: 04 Mar 2004, 15:59

stack collision

Postby Chris Steel » 18 Mar 2004, 13:45

Which software version are you running?
And at what point in time does it happen?
What are you doing at the time.
User avatar
Olie
Site Admin
Posts: 456
Joined: 11 Feb 2004, 15:24
Location: London
Contact:

Postby Olie » 25 Mar 2004, 17:28

Hi Iain

Well you asked what a “Stack Collision” error is so here goes.

The stack is a section of memory that stores all the function calls within the pearl code. Every time a new function is called it is added to the stack. Ideally the stack would be infinitely large so that you can call as many functions as you like and there would be no problem. However as the stack is a section of memory it has to be limited to a certain size. This means that if too many nested function calls occur the stack can become too large and a stack collision will occur.

When we write the code for the Pearl we try to ensure that this can never happen. So a much more likely cause of a “Stack Collision” is that memory is being corrupted and this is interpreted as a stack collision. If you go to the system menu and select Service\Display Bus Errors this will tell you if there is a hardware fault in the desk which could cause corrupted memory. Let me know if you get any bus errors and what those errors are.

Look forward to hearing from you!

Olie
Avolites Software Team

Who is online

Users browsing this forum: No registered users and 33 guests