[Rehearse] Valgrind test

Marcos Silva marcosmrs.silva at gmail.com
Tue May 5 21:53:11 EDT 2015


Hello Onur.

Running with the real executable in .libs I got no memory leak. Everything is fine.

Thank you very much.

Regards,

Marcos

Em 05/05/2015, às 21:11, Onur Çelebi escreveu:

> Hello Marcos,
> Thanks for testing and your encouragement!
> 
> I tested on a Mac OS X (10.10.2) as well and I was able to reproduce a valgrind log with memory leak summary when instrumenting the script binary Rehearse/tests/unitTest like yours. However, this is not the "real" binary executable, it's just a wrapper executable created by libtool. The real executable can be found at Rehearse/tests/.libs/unitTest. 
> Kea:rehearse onurcelebi$ file Rehearse/tests/unitTest
> Rehearse/tests/unitTest: POSIX shell script text executable
> Kea:rehearse onurcelebi$ file Rehearse/tests/.libs/unitTest 
> Rehearse/tests/.libs/unitTest: Mach-O 64-bit executable x86_64
> 
> 
> 
> When I run valgrind to instrument the "real" executable in .libs, I get "definitely lost: 0 bytes in 0 blocks". (On linux though, even the libtool wrapper executable Rehearse/tests/unitTest doesn't show any leak.)
> 
> Please check that you get the same result with the real binary executable and feel free to contact me if you have any further questions.
> 
> Regards,
> Onur
> 
> 
> Nᴇʀᴇᴏ
> 
> 
> Onur Çelebi
> Responsable Technique - Co-fondateur
> onur.celebi at nereo.fr
> Tél : +33 4 28 04 00 98
> J'aime motiver les commerciaux de façon geek (et ridicule),
> regardez comment les maths nous ont aidé à avoir une meilleure UI
> 
> Vous pouvez imprimer cet e-mail si vous le souhaitez mais,
> Pour sauver des arbres, dématérialisez plutôt les feuilles de congés grâce à Nᴇʀᴇᴏ.
> 
> On Wed, May 6, 2015 at 1:07 AM, Marcos Silva <marcosmrs.silva at gmail.com> wrote:
> Hello.
> I've just installed  Rehearse in my MacBook Pro (Mac OS X 10.7.5) and everything worked fine.
> All the tests were OK but, with valgrind I got:
> 
> 
> 
> 
> 
> Is this OK?
> 
> Please see attached file with the complete output of valgrind ("analyze.log")
> 
> Thank you very much for Rehearse!! Great job!!
> 
> All the best.
> 
> Marcos
> 
> 
> _______________________________________________
> Rehearse mailing list
> Rehearse at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/rehearse
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/rehearse/attachments/20150505/b9d84c54/attachment.html>


More information about the Rehearse mailing list