Re: Memory profiling with 4.3a

Sven Hartrumpf <[email protected]>
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.