---
title: EXC_CRASH (SIGSYS)
framework: xcode
role: article
role_heading: Article
path: xcode/sigsys
---

# EXC_CRASH (SIGSYS)

A bad argument to a system call terminated the process.

## Overview

Overview System calls are low-level interfaces that ask the operating system to perform an action. This signal indicates that the requested system call doesn’t exist. For example, the code below uses system call number 12345, which isn’t valid and produces a SIGSYS signal. #include <unistd.h>

int main(int argc, char **argv) {     syscall(12345);     return 0; } For a list of valid system calls, see the syscall.h header file.

## See Also

### Exceptions

- [EXC_ARITHMETIC](xcode/exc_arithmetic.md)
- [EXC_BAD_ACCESS](xcode/exc_bad_access.md)
- [EXC_BAD_ACCESS (SIGBUS)](xcode/sigbus.md)
- [EXC_BAD_ACCESS (SIGSEGV)](xcode/sigsegv.md)
- [EXC_BREAKPOINT (SIGTRAP) and EXC_BAD_INSTRUCTION (SIGILL)](xcode/sigtrap_sigill.md)
- [EXC_CRASH](xcode/exc_crash.md)
- [EXC_CRASH (SIGABRT)](xcode/sigabrt.md)
- [EXC_CRASH (SIGKILL)](xcode/sigkill.md)
- [EXC_CRASH (SIGQUIT)](xcode/sigquit.md)
- [EXC_CRASH (SIGTERM)](xcode/sigterm.md)
- [EXC_GUARD](xcode/exc_guard.md)
- [EXC_RESOURCE](xcode/exc_resource.md)
