To reproduce, run with valgrind on pretty much any pair of OCaml sources. Note that the bug almost never caused an actual crash, but I got lucky. :P
The function findOcamlTags() called computeModuleName() before initializing the stack, which is used by computeModuleName(). Also, initStack() did not reset stackIndex.
Log in to post a comment.