Server crashes on creating/opening tables on Windows debug build

Description

See for example here:
http://buildbot.askmonty.org/buildbot/builders/win32-debug2/builds/6712/steps/build/logs/stdio

The table structure doesn't matter.
Win32/64 does not matter.
Reproducible outside the buildbot.

The problem appeared on 10.1 tree with these two revisions (it wouldn't compile at all after the first one, so they can't be easily separated for the test, but apparently the first one is too blame):

Environment

Win 7 64-bit, Visual Studio 2012

Assignee

Alexey Botchkov

Reporter

Elena Stepanova

Labels

Components

Fix versions

Affects versions

Priority

Blocker
Configure