I dunno if this happens with later versions, but thought I'd mention it. This code will crash 2.3.3 every time: ns_return blah ns_set update [ns_conn outputheaders] blah blah I think I remember testing this about 6 mos ago and even a read-reference to outputheaders causes a crash.