Error map
filesystem_error terminate called after throwing an instance of 'std::filesystem::filesystem_error' what(): filesystem error: cannot ... No such file or directory
C/C++ · layer 4, Application & API
Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (12)
C++: terminate called after throwing an instance of 'std::bad_alloc' — what(): std::bad_alloc
`new` or a container could not get the memory requested — either the system is out of memory or the size was absurdly large (ofte…
C++: terminate called after throwing an instance of 'std::out_of_range' — what(): vector::_M_range_check
A C++ exception wasn’t caught anywhere, so std::terminate aborted the program. what() tells you the reason.
C++: terminate called without an active exception — std::thread destroyed while joinable
A `std::thread` object was destroyed (or reassigned) while its thread was still running, so the C++ runtime called `std::terminat…
macOS: mkdir: /data: Read-only file system / touch: /usr/bin/x: Read-only file system
Since Catalina the system volume is read-only and sealed; you can't create directories at `/` or modify system folders.
/dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options)
The filesystem needs a manual check.
terminate called after throwing 'std::system_error' what(): Resource temporarily unavailable / Operation not permitted
A thread could not be created or a mutex operation failed.
terminate called after throwing an instance of 'std::length_error' what(): basic_string::_M_create
A string was asked to hold more than its maximum size, usually from a garbage or negative length.
undefined reference to `std::filesystem::...' — link stdc++fs
GCC 8 and older need `-lstdc++fs` for ``.
terminate called after throwing 'std::logic_error' what(): basic_string::_M_construct null not valid
A std::string was constructed from a null `char*`.
terminate called after throwing 'std::bad_function_call' what(): bad_function_call
An empty `std::function` was invoked.
terminate called after throwing 'std::bad_variant_access' / 'std::bad_optional_access'
A variant or optional was accessed in the wrong state.
terminate called after throwing 'std::invalid_argument' what(): stoi
`std::stoi`/`stod` got text that is not a number.
Two steps away (23)
C/C++: free(): double free detected / double free or corruption (out) — Aborted (core dumped)
Memory was freed twice or the heap was corrupted (buffer overflow, freeing a non-heap pointer), so glibc aborted the program.
C/C++: Segmentation fault (core dumped) — SIGSEGV from a null, dangling or out-of-bounds pointer
The program touched memory it is not allowed to access — a null or dangling pointer, an out-of-range array index, or a stack over…
C/C++: Bus error (core dumped) — SIGBUS from misaligned access or a bad memory-mapped file
The CPU or OS rejected a memory access that is not a plain invalid address: misaligned data, or touching a memory-mapped file pag…
Segmentation fault (core dumped)
A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).
Fatal error: Unexpectedly found nil while unwrapping an Optional value
Swift force-unwrapped (`!`) an optional that was nil, crashing the app.
java.lang.IllegalArgumentException
A method rejected an argument value as invalid.
C++: error: call of overloaded 'f(int)' is ambiguous
Two or more overloads fit equally well, so the compiler refuses to guess which function you meant.
C++: error: cannot declare variable 'x' to be of abstract type 'Shape' (pure virtual functions)
You tried to create an object of a class that still has pure virtual functions; only a derived class that overrides all of them c…
C/C++: undefined reference to `pthread_create' — missing -pthread (also `dlopen`, `clock_gettime`)
Your program uses threads (or another system library) but the linker was not told to link it.
macOS: Operation not permitted — Terminal/app lacks Full Disk Access (TCC privacy protection)
macOS privacy protection (TCC) blocked access to protected folders (Desktop, Documents, Downloads, Mail, Photos, external volumes…
macOS: rm: /usr/bin/python: Operation not permitted — even with sudo
System Integrity Protection blocks changes to protected system locations, even for root.
Homebrew: Error: No available formula with the name "x". Did you mean ...?
Homebrew can't find a formula or cask with that name in the taps it knows.
Read-only file system (EROFS) — cannot write to disk
The filesystem is mounted read-only — often because the kernel remounted it after detecting disk errors.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
The kernel booted but couldn’t mount the root filesystem — usually a missing or broken initramfs after a kernel update.
error: unknown filesystem. Entering rescue mode... grub rescue>
GRUB can’t find or read the partition holding its files — common after resizing/deleting partitions or installing Windows alongsi…
ThreadSanitizer: data race
Two threads accessed the same memory without synchronisation and at least one wrote.
terminate called after throwing an instance of 'std::future_error' what(): std::future_error: No associated state
A `std::future` or `std::promise` was used after being moved or without a shared state.
terminate called after throwing an instance of 'std::bad_cast' what(): std::bad_cast
A `dynamic_cast` to a reference type failed because the object is not of that type.
terminate called after throwing an instance of 'std::ios_base::failure' what(): basic_ios::clear: iostream error
A stream with exceptions enabled hit a failed read or write.
C/C++: undefined reference to `function' — collect2: error: ld returned 1 exit status
The linker can’t find the definition of a function or variable that was declared and used.
C++: error: 'optional' in namespace 'std' does not name a template type — wrong -std standard
The standard-library feature you used needs a newer C++ standard than the compiler is currently set to.
/usr/bin/ld: cannot find -lssl: No such file or directory
The linker was told to link `-lfoo` but cannot find libfoo.so or libfoo.a in any search path.
terminate called after throwing an instance of 'std::regex_error' what(): regex_error / Unmatched ( or \(
The regular expression string passed to `std::regex` is invalid.