6.5   Troubleshooting

Problems with shared-memory objects can be due to a number of causes. This section discusses the most common problems and a number of troubleshooting tools. Often, you can locate the problem by rechecking your hardware and software configurations.

6.5.1   Configuration Problems

Refer to the following list to confirm that your system is properly configured:

6.5.2   Troubleshooting Techniques

Use the following techniques to troubleshoot any problems you encounter:

Thus, if the shared-memory anchor were located at 0x800000:

[VxWorks Boot]: d 0x800000 
800000: 8765 4321 0000 0001 0000 0000 0000 002c *.eC!...........,* 
800010: 0000 0000 0000 0170 0000 0000 0000 0000 *...p............* 
800020: 0000 0000 0000 0000 0000 0000 0000 0000 *................*
The offset to the shared-memory object header is 0x170. To view the shared-memory object header display 0x800170:

[VxWorks Boot]: d 0x800170 
800170: 0000 0050 0000 0000 0000 0bfc 0000 0350 *...P...........P*
In the preceding example, the value of the shared-memory heartbeat is 0x50. Display this location again to ensure that the heartbeat is alive; if its value has changed, shared-memory objects are initialized.