I tried running anope as administrator but that did not help. Perhaps Windows Server 2008 has some other feature/annoyance I am not aware of.
edit: Also I should note that the goal of the action always completes (so my module for example has the services message a channel, which they do when I execute the command.) However when the time comes to free();, it crashes.