I'm stuck right now with a unexpect restart, handling the lang_init(GUI_LANG_ITEMS); in core lang.c,
probably a memory issue?
It fails in this function
static void lang_add_string(int num, const char *str) {
int f=0;
char *p;
if (strings && num<count) {
if (strings[num]) ufree(strings[num]);
p = strings[num] = umalloc(strlen(str)+1);
if (p) {
for (; *str; ++str) {
if (f) {
if (*str == '"' || *str == '\\') *(p-1)=*str;
else if (*str == 'n') *(p-1)='\n';
else *p++=*str;
f = 0;
} else {
*p++=*str;
if (*str == '\\') {
f = 1;
}
}
}
*p=0;
}
}
}
It's a standar function from core Any clue?