Share
 
 

Understand Maya exit codes

Maya exit codes are often included in the message that displays when a crash occurs:
maya encountered a fatal error
 
Signal: 11 (Unknown Signal)
 
Result: /users/<username>/maya/projects/Test/scenes/Test1.ma
 
Fatal Error. Attempting to save in /usr/tmp/<username>.20120223.1655.ma
 
// Maya exited with status 139
We can use the following information to decipher exit codes:
  • An exit code between 1 and 127 is typically generated by the job itself.
  • An exit code between 129 and 255 represents a job terminated by a Unix signal.

    Each signal has a number, which is added to 128 to create the number used in the exit code. For example, signal 11 is used in exit code 139.

    Signals can arise from within the process itself, or they can be sent to the process by some external agent.

Tip: In many cases, you can send us details on how to reproduce the crash using the crash error reporting (CER) pop-up window. See http://www.autodesk.com/cer for more information.

When running Maya standalone on the Linux platform, if Maya exits with a 0 status when you try to end the Python process using kill -2 or kill -2 python-bin, you can set the environment variable MAYA_DEBUG_NO_SIGINT_HANDLING = 1 for Maya to exit with a non-zero status.

Was this information helpful?