3102

Stack overflow

ABB · Application Error ABB Motion Drives Error trouble shoo

What does 3102 mean?

This is a 'fatal' synchronous error indicating that the program's call stack has exceeded its allocated memory space. This typically occurs in complex or deeply nested Mint programs where too many function calls or recursive operations are active simultaneously. This error will terminate the Mint program immediately and will not call the ONERROR event.

Common Causes

  • Excessive recursion in the Mint program that does not terminate properly.
  • Deeply nested function calls consuming too much stack memory.
  • Large local variables or data structures being allocated on the stack within functions.
  • Infinite loops within functions that continuously push return addresses onto the stack.

Repair Steps & Checklist

Click steps to track your progress.

  1. 1

    Review the Mint program code for any recursive functions and ensure they have a proper termination condition.

  2. 2

    Analyze function call chains for excessive depth and consider refactoring to reduce nesting levels.

  3. 3

    Optimize variable usage, especially within functions, to reduce stack memory consumption.

  4. 4

    Test sections of code that involve complex logic or many function calls independently to pinpoint the source of stack overuse.

  5. 5

    Increase the allocated stack size if configurable, although this should be a last resort after code optimization.

Browse all codes in this manual (58)
Verified technical data. Last updated: March 2026

Related Faults

Source: Application Error ABB Motion Drives Error trouble shoo