I wrote, 2016-12-07 08:10: > Hi. > > "Ollagnon, Pierre-Francois", 2016-12-06: >> I am trying to profile memory with bglmemrun but I can't get it work. >> Here is my little test: >> >> test.scm: >> ----------- >> (module main >> (main main)) >> (define (main argv) >> (print "Ok")) >> >> Compilation >> --------------- >> bigloo test.scm -g2 -o test > > You should add the option -pmem .
I must admit that this does not fix the problem. I get a similar "Segmentation fault" in the bglmemrun step of the current beta - for all programs I tried. Manuel, any ideas? BTW: bglmemrun has only an -u / -unsafe / --unsafe option, but as this is the default in file bde/bmem/lib/init.c one is stuck to unsafe libraries. Could you change char *bglsafe = "_u"; to char *bglsafe = "_s"; Ciao Sven
