Re: Memory profiling with 4.3a

[email protected]
Newsgroups gmane.lisp.scheme.bigloo
Organization Inria
Message-ID <[email protected]>
Hi Pierre,

> Hello All,
> 
> 
> 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
> 
> 
> Run
> -----
> bglmemrun test
> 
> 
> mem initialization...
> Loading library /ams/product/kronos/frgcellc/OpenSource/bigloo/install/bigloo4.3a-install-rh5/lib/bigloo/4.3a/libbigloogc-4.3a.so...
>   GC_malloc...ok
> . . .
>   GC_reset_allocated_bytes...ok
> Loading library /ams/product/kronos/frgcellc/OpenSource/bigloo/install/bigloo4.3a-install-rh5/lib/bigloo/4.3a/libbigloo_u-4.3a.so...
> . . .
>   BGl_registerzd2classz12zc0zz__objectz00...ok
>   bgl_types_number...ok
>   make_dynamic_env...ok
>   bgl_init_dynamic_env...ok
>   bgl_dup_dynamic_env...ok
> Segmentation fault (core dumped)
> 
> 
> Is there something else special to do ?
> 
> When looking at bde/bmem/example
> It seems that compilation is done with "-g2" but the doc says -pmem.
> I have tried both with same results ...
Sorry about that. This was due to a mistake in the bmem library. It
is now fixed. I'm preparing a new tarball. It will be ready in a couple
of minutes.

Thanks for your report.

-- 
Manuel
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.