> It seems to be happening when the box is destroyed in the line > dGeomDestroy( box[0] ); is the error happening within dGeomDestroy() or within main(). are you using an unaltered copy of test_buggy? russ. -- Russell Smith http://www.q12.org