OK, I think I found where this is happening. See
Bug 1492
Something is wrong with the way ad_conn is overloaded in the developer-support package. Disabling the developer-support package seems to fix it.
You can't link bug reports in this version of the SDM can you? I put a comment in bug 1425 pointing to 1492 since 1425 has test code.