I know this isn't the right place to report a bug, but anyone using naviserver 4.99.13, or 4.99.14 with OpenACS might experience the issue I had. The symptom is in trying to install packages, OpenACS fails and naviserver exits with:
Fatal: alloc: invalid block:
I tracked it down to a small change in ns_mktemp. Here's the diff in nsd/tclfile.c:
261c261
< char *buffer = strdup(templateString);
---
char *buffer = ns_strdup(templateString);
I'll post a bug report with the naviserver developers.