Memory fault core dumped

Dear all,

In my code i have created processes which use shared memory to perform IPC. But when running the code i am getting Memory Fault Core dumped error.

Can any one suggest how to eliminate this error


Fix your bug? :laughing:

We need a lot more to go on to help you eliminate the problem. Things such as

  1. Which process dies, the one that creates the shared memory region or the reader?
  2. Does the Memory fault happen immediately or after some time?
  3. Have you tried running with the debugger? If the crash takes time, you can still run a debug version of your code with the dumper process running and then example the core file in /var/dumps to see exactly where it crashed.