I can trigger a bus error using glam with these steps
% gunew
% more pure_c\include\stdio.h
(The file to look at can be anything.)
Then, immediately exit the ue buffer with Control-X Control-C. I get a bus error when doing this (see attached). I chased this down a little bit and found that in this sequence there is a bad 'p->next' pointer in tv.c:tblfind().
I didn't chase it all the way, but when I disable the internal PMMALLOC code and use the mintlib malloc instead, this error goes away.
I also sometimes see "free(nnnnnn) has illegal arg" when using the internal malloc, but don't when using the system malloc.
Should using the system malloc be the default?
Thanks,
Rob

I can trigger a bus error using glam with these steps
% gunew
% more pure_c\include\stdio.h
(The file to look at can be anything.)
Then, immediately exit the ue buffer with Control-X Control-C. I get a bus error when doing this (see attached). I chased this down a little bit and found that in this sequence there is a bad 'p->next' pointer in tv.c:tblfind().
I didn't chase it all the way, but when I disable the internal PMMALLOC code and use the mintlib malloc instead, this error goes away.
I also sometimes see "free(nnnnnn) has illegal arg" when using the internal malloc, but don't when using the system malloc.
Should using the system malloc be the default?
Thanks,
Rob