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 ...
Thanks for your help,
Pierre