gnu arm crash: "%-10.2f", 0.0001
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
New
|
Undecided
|
Unassigned |
Bug Description
Hi
I've got hardfaults in library __lshift function.
This is experienced using gcc-arm-
>>Host machine:
-Lenovo Thinkpad
-Windows 10 Pro Version 1809
>>Target
-stm32f769
Example below triggers crash. When using a debug build, I can step over the first three, but not the fourth.
static void dmlprint(char *pBuf, uint16_t bufSz, const char *format, ...)
{
va_list args;
va_start(args, format);
int len = vsnprintf(pBuf, bufSz, format, args);
va_end(args);
}
static void dmlStringTest()
{
char dmlString[100];
dmlprint(
dmlprint(
dmlprint(
dmlprint(
dmlprint(
dmlprint(
dmlprint(
dmlprint(
dmlprint(
dmlprint(
dmlprint(
int dmlBr;
dmlBr = 0xdead;
}