NPW: null pointer write

An NPW message indicates that your program is about to write to address zero (store to a NULL pointer). An SEGV signal will result.

image\npw.gif

One common cause of an NPW error is failure to check return status for a function expected to return a pointer to a string or an object. If the function returns NULL on failure, use of the NULL pointer leads to an NPW error.