I have the same issue described on this stackexchange item: http://stackoverflow.com/questions/24380302/convex-hull-heap-corruption-with-opencv.
Due to a memory corruption with convexHull(Mat(points), hull, true); The fix on stackexchange resizes the hull before convexing it. Is this a bug or a specific error caused by my setup.
Setup: Windows 7 64-bit Microsoft Visual Studio 2013