Saw this report:
http://bitcoin.stackexchange.com/questions/12997/assertion-failed-when-i-try-to-open-bitcoin-wallet
I could be wrong because I'm not that well versed in makefiles but unless this is overridden by something else, it looks like in makefile.mingw has starting at line 47:
DEBUGFLAGS=-g CFLAGS=-mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
Doesn't the -g enable assertions? I think it shouldn't be enabled for the prod release.