[Valgrind-users] Feature request - backtrace on warning set address range perms
Feature-request: Add backtrace to output for these warnings: Warning: set address range perms: large range [0x4c339040, 0x206094130) (undefined) Explanation: This was a large allocation which ate up all my memory when debugging with valgrind making it hard for me to find where it happened. The reason was an undefined integer in a class (uninitialized memory). Valgrind only gives this one line warning (which is good), but it would also be nice if it would give a backtrace for this... Might have helped me to track down this bug sooner :) -- With kind regards Jonatan Wallmander Vovoid Media Technologies AB -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] Feature request - backtrace on warning set address range perms
\o/ With kind regards / Med vänliga hälsningar Jonatan Wallmander Vovoid Media Technologies AB On 04/04/2013 11:13 PM, Philippe Waroquiers wrote: On Tue, 2013-03-26 at 22:52 +0100, Philippe Waroquiers wrote: The best would be to file a bug in bugzilla, for the false negative caused by code such as: { size_t undef; char *p = malloc (undef); } Too late to file a bug in bugzilla :). An improvement has been committed in revision 13361. False negative in malloc lib replaced functions should be solved now. E.g. a call to malloc with undefined size will now cause an error to be detected by memcheck. Philippe -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] using valgrind at specific point while running program
On 08/26/2013 10:00 AM, Mahmood Naderan wrote: Thanks. To be honest, I didn't understand! It seems that with these macros, I can insert them in the specific section of the code. However my problem is different. There are iterative functions. So I want to start valgrind after, say, 0.5 hours of execution to see what is going on. Sorry, don't think that's possible - valgrind has to run from the start... Since it's a VM after all. One thing I've done is to use multi-threading whenever possible - valgrind runs in multipe threads as well.. That can speed up the time for your program. /jaw -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users