Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Setting the environment variable, ESRIAIMSTHREADSTACKSIZE to 1, willl allow threads to have a minimun stack size of 1mb. This will allow the Metadata service creation enough stack allocation to complete an SDE connection.