This error has something to do with the way I was creating Q entries.
See thread http://e2e.ti.com/support/embedded/tirtos/f/355/p/312851/1088228.aspx#1088228 for details.
The way this was working is that I had one object on the Q that was linking to itself. I changed the code so that each Q entry is a dynamically allocated object and this error went away.