Hi, all,
    There was something strange happened when I used valgrind.
    I run my linux program written in c++ and it threw a "segment fault",
but when I tried " valgrind --tool=memcheck -v ./mycode ",  the program
did't throw segment fault and continued to run and returned the experimental
results.
    I felt puzzled because segment fault  means my code is not *correct*,
but why it could continue to run and get the results under valgrind
environment. Are the results got from running under valgrind environment
valid?
     Thank you for your patience!
     Best Wishes!
     ^_^

vicky
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to