Hi,
I have this code that crashes EmBitz. This is the minimal code that producing the crash.
When the program reaching the '=' character, EmBitz becomes unresponsive, greyed out, and the only thing I can do is closing the application.
The wierd thing is, if I change the '=' character to anything else, the crash doens't happen.
The crash doens't happen on another IDE.
STM32H743VIT6
EmBitz 2.50
EBlink 4.7-21
Windows 10
The included project is generated with the EmBitz 2.50.
Thanks!
I have this code that crashes EmBitz. This is the minimal code that producing the crash.
When the program reaching the '=' character, EmBitz becomes unresponsive, greyed out, and the only thing I can do is closing the application.
The wierd thing is, if I change the '=' character to anything else, the crash doens't happen.
The crash doens't happen on another IDE.
STM32H743VIT6
EmBitz 2.50
EBlink 4.7-21
Windows 10
The included project is generated with the EmBitz 2.50.
Thanks!
Code:
#include "main.h"
typedef struct
{
char *host;
char *path;
} tURL;
int main(void)
{
static tURL url;
static char host_str[20];
static char path_str[20];
const char *pch = "foo=bar";
uint32_t i = 0;
url.host = host_str;
url.path = path_str;
while(*pch != '\0')
{
path_str[i++] = *pch++;
}
while(1)
{
}
}