Thanks Dan for the reply.
I tried with taskset, the program is hanged :), similar to running in gdb.
My guess is before running as a taskset, Valgrind should be setting some
environment variables for stack memory and if any other settings for the 
session, which make the program run normally.
May be I should check out their source code for this.

Regards
Ferosh




On 12-03-16 11:03 PM, Dan Kegel wrote:
> On Fri, Mar 16, 2012 at 7:22 PM, Ferosh Jacob<[email protected]>  wrote:
>> While running through valgrind this is not happening, the program
>> ends normally.  Below is the Valgrind summary. I believe if I can setup
>> the execution environment as in the Valgrind, my program will execute
>> normally. :)
> What about
>    taskset -c 0  ./yourapp
> ?
>
> That would mimic the non-multicore valgrind environment.
>
> Otherwise you're probably out of luck, you're going to have
> to use other methods to find your problem.
> - Dan


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to