In your onSendText callback you call:
BWAPI::Broodwar->sendText(text.c_str());
However it should be:
BWAPI::Broodwar->sendText("%s", text.c_str());
because of the % identifiers which you could type in, causing a crash.
Original issue reported on code.google.com by AHeinerm on 18 Dec 2013 at 9:46
Original issue reported on code.google.com by
AHeinerm
on 18 Dec 2013 at 9:46