I don't remember if you reported the bug to "memprof-bugs@ocamlpro.com".
This is definitely the best thing to do.

We regularly update the online version of ocp-memprof when bugs are fixed.
But, it is more difficult to update the compiler, mainly for compatibility reasons.
We should work on this in the future.

Unfortunately, I think your bug is coming from this part of the "OCaml Memory
Profiler". So you have to wait to be able to use the online version :-/

Regards,
Mohamed.


Le 29/06/2015 16:13, Kenneth Adam Miller a écrit :
Having trouble installing ocp-memprof:

opam switch 4.01.0+ocp1-20150202
opam install core # that gives the below error

#=== ERROR while installing lwt.2.4.5 =========================================#
# opam-version 1.2.0
# os           linux
# command      ./configure --disable-libev --enable-react --disable-ssl --enable-unix --enable-extra --disable-preemptive --disable-glib --disable-text
# path         /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5
# compiler     4.01.0+ocp1-20150202
# exit-code    1
# env-file     /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-9302-90b366.env
# stdout-file  /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-9302-90b366.out
# stderr-file  /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/lwt.2.4.5/lwt-9302-90b366.err
### stderr ###
# E: Cannot find buildable internal library 'lwt-preemptive' when checking build depends
# E: Failure("1 configuration error")


#=== ERROR while installing typerep.111.17.00 =================================#
# opam-version 1.2.0
# os           linux
# command      make
# path         /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00
# compiler     4.01.0+ocp1-20150202
# exit-code    2
# env-file     /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00/typerep-8640-062a54.env
# stdout-file  /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00/typerep-8640-062a54.out
# stderr-file  /home/kennethadammiller/.opam/4.01.0+ocp1-20150202/build/typerep.111.17.00/typerep-8640-062a54.err
### stdout ###
# ...[truncated]
# Re-raised at file "driver/compile.ml", line 120, characters 10-11
# Called from file "driver/optmain.ml", line 234, characters 25-26
# Called from file "arg.ml", line 252, characters 11-20
# Called from file "arg.ml", line 264, characters 4-32
# Called from file "driver/optmain.ml", line 234, characters 25-26
# Re-raised at file "driver/errors.ml", line 79, characters 33-34
# Called from file "format.ml", line 1197, characters 8-23
# Called from file "driver/optmain.ml", line 234, characters 25-26
# Called from file "driver/optmain.ml", line 234, characters 25-26
# Command exited with code 2.
### stderr ###
# W: Cannot find source file matching module 'typerep_generics_sexprep' in library typerep_generics_sexprep
# W: Cannot find source file matching module 'typerep_extended' in library typerep_extended
# W: Cannot find source file matching module 'typerep_lib' in library typerep_lib
# E: Failure("Command ''/home/kennethadammiller/.opam/4.01.0+ocp1-20150202/bin/ocamlbuild' lib/typerep_lib.cma lib/typerep_lib.cmxa lib/typerep_lib.a lib/typerep_lib.cmxs syntax/with_typerep/typerep_syntax.cma syntax/with_typerep/typerep_syntax.cmxa syntax/with_typerep/typerep_syntax.a syntax/with_typerep/typerep_syntax.cmxs extended/lib/typerep_extended.cma extended/lib/typerep_extended.cmxa extend...[truncated]
# make: *** [build] Error 1

I'll switch to the other version of ocp and try and build install core, possibly it's a compiler and package version combination thing...


On Sat, Jun 27, 2015 at 11:02 PM, Iguernlala Mohamed <mohamed.iguernelala@gmail.com> wrote:
If you plan to release it, I guess that it will be open source (?). So, you should be able to use
the online (public) version of ocp-memprof if you don't want/cannot request for a private
version.



Le 27/06/2015 20:26, Kenneth Adam Miller a écrit :
Well I can release it, but I was planning on integrating it into a library. Can we share with one another somehow so that it's just temporarily private?

On Sat, Jun 27, 2015 at 1:52 PM, Iguernlala Mohamed <mohamed.iguernelala@gmail.com> wrote:
Hi,

Can you elaborate ? What is the kind of tool you would like to profile ?
- open-source vs closed-source ?
- commercial or not ?
- ...

Regards,
Mohamed Iguernlala.



Le 27/06/2015 15:38, Kenneth Adam Miller a écrit :
So, I saw that ocp-memprof is private, so I was looking for an alternative. What kind of other profiling tools for ocaml are out there?