[omniORB] valgrind and debug tool

Luke Deller ldeller at xplantechnology.com
Mon May 16 11:13:56 BST 2005


Hi Julien,

Is your program statically linked by any chance?  You need to link your
program against shared libraries so that valgrind can use its own
replacement system libraries where applicable.

I use valgrind successfully with omniORB+omnithread based programs.

Regards,
Luke.

On Fri, 2005-05-13 at 09:51 +0200, Julien Teisseire wrote:
> Hello,
> I would like to know how to debug an omni_thread based program.
> Valgrind tells me :
> 
> ==16942== Valgrind detected that your program requires
> ==16942== the following unimplemented functionality:
> ==16942==    clone(): not supported by Valgrind.
>    We do now support programs linked against
>    libpthread.so, though.  Re-run with -v and ensure that
>    you are picking up Valgrind's implementation of libpthread.so.
> ==16942== This may be because the functionality is hard to implement,
> ==16942== or because no reasonable program would behave this way,
> ==16942== or because nobody has yet needed it.  In any case, let us know
> at
> ==16942== valgrind.kde.org and/or try to work around the problem, if you
> can.
> ==16942==
> ==16942== Valgrind has to exit now.  Sorry.  Bye!
> ==16942==
> 
> 
> I tried with -v, same thing ...
> Thank you.
> Julien
> 
> 
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




More information about the omniORB-list mailing list