"record2.dot" is a small example from graphviz tarball. It fails with all examples.
$ dotty record2.dot
See output file...
Input file: b429.dot
Output file: b429.txt
Comments:
[erg] This is probably another case of the user's shell doing something
it is not supposed to (see, e.g., 549) or the dotty script being broken,
so that bash is used rather than dot.
Owner: erg
Status: Fixed