Assertion Failed!: MSVCP140D.dll , Expression: ploc->_Mbcurmax == 1 || ploc->_Mbcurmax == 2

himajin100000 himajin100000 at
Sun May 6 18:49:06 UTC 2018

Hi, himajin100000 here.

Just for explanation(but I'll definitely be very happy if you kindly 
help me.)

I've updated my Visual Studio 2017 Preview to 15.7.0 Preview 6.0 and 
then started to fail to make my own  LibreOffice build with the 
following error.

Debug Assertion Failed!

Program: C:\WINDOWS\SYSTEM32\MSVCP140D.dll
File: f:\dd\vctools\crt\crtw32\stdcpp\xmbtowc.c
Line: 89

Expression: ploc->_Mbcurmax == 1 || ploc->_Mbcurmax == 2
Through printf-debugging thingy, I now know

the cause is at
as the code before this is reached and the code after this is not reached.

Translate::Create is called at

FwkResId is called at

probably called by

SfxApplication::Initialize_Impl() is called at

SfxApplication::GetOrCreate() is called at

when gengal.exe is executed.
I'm now freezing in front of the daunting task of understanding how to 
use boost library and under what algorithm it works.I'm just at novice 
level even in C++.

More information about the LibreOffice mailing list