Skip navigation.
Home
The QNX Community Portal

View topic - Memory fault core dumped

Memory fault core dumped

For the old QNX2 and QNX4 RTOS

Memory fault core dumped

Postby pradeep » Tue Jan 10, 2012 6:59 am

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
pradeep
Active Member
 
Posts: 20
Joined: Tue Aug 09, 2011 7:17 am

Re: Memory fault core dumped

Postby Tim » Tue Jan 10, 2012 5:54 pm

Pradeep,

Can any one suggest how to eliminate this error


Fix your bug? :lol:

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.

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am


Return to QNX2 and QNX4

Who is online

Users browsing this forum: Bing [Bot] and 4 guests