Thanks for the prompt response. Sorry but I do not quite understand what it means building an ancient 2.68. Could you please elaborate on that?

BTW: I am going to try to localize problem tomorrow by testing other executables and starting the executable with strace instead of attaching strace to it.

Hello again,

I just tried a simple executable on the target and statictics "-c" option working fine with it. So it is just my big executable (with 50 pthreads) having the problem.

Is there any prerequisite that my executable should support (maybe regarding signals, etc)?

Thanks.