Previous versions (3.5.x) of nxagent segfaulted when the Cairo test suite was run on it.
With nxagent 3.5.99.0, no more segfaults could be observed, when running the cairo test suite. However various test cases fail on nxagent. This does not mean that nxagent is broken, but it should be checked if tests failing with nxagent also fail with local X.org server or Xephyr.
Short howto for running Cairo test cases:
git clone git://anongit.freedesktop.org/git/cairo
cd cairo
./autogen.sh
./configure
make
make test
cd test/
./cairo-test-suite