Error in Trace sampleing and traceplot

What platform are you on? Looks like either Mac or linux? Can you try running on a single core to see if that works (info here)?