Discord OAuth Redirects
Find Process By Port
How to Access Ubuntu Server
Increase MySQL Idle Timeout
LEMN Stack Install
NGINX Upload Limits [413 Entity Too Large]
Transfer Files Between Servers
TypeError: Setting User Fix
Using Node Version Manager
Using Screen Sessions
Segmentation Fault Error
Weblutions Documentation > Knowledgebase > Segmentation Fault Error
Segmentation Fault Error
In some rare occurrences one of our products might crash with a segmentation fault error. This can be painful to diagnose as a multitude of things could be the cause of the issue. First lets know what a segmentation fault is.
What is a Segmentation Fault?
> A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to access a memory location in a way that is not allowed (for example, attempting to write to a read-only location, or to overwrite part of the operating system) - source.
The error
Segmentation fault (core dumped)
Possible Resolution
Generally, we can find a fix by performing a few steps. These might not fully resolve the issue but hopefully they do.
- Rebuild NPM by using
npm rebuild
in the product directory - Replace the product src files with a fresh copy of them - just in-case they corrupted somehow
- If the above fail, reinstall Node with NVM
If the above steps fail or you need help executing them, reach out to us and we'll be happy to help!
Weblutions is here to help when you need, contact us if you need or create a ticket in our official community Discord!
Related Articles
Review this page
segfault segmentation faults segmentation