LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to understand valgrind output? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-understand-valgrind-output-681007/)

santoshturamari 11-04-2008 04:57 AM

how to understand valgrind output?
 
Hi..
i am facing the problems in understanding the output of valgrind generated to my app in ruby on rails.. help me out pls. How to figure out where it is leaking.;

336 bytes in 13 blocks are definitely lost in loss record 11 of 24
==5583== at 0x4021B8E: realloc (vg_replace_malloc.c:429)
==5583== by 0x8072364: ruby_xrealloc (gc.c:142)
==5583== by 0x808E07B: local_append (parse.y:5647)
==5583== by 0x80910A9: assignable (parse.y:4900)
==5583== by 0x8096308: ruby_yyparse (parse.y:844)
==5583== by 0x809E35B: yycompile (parse.y:2605)
==5583== by 0x80B3E05: load_file (ruby.c:943)
==5583== by 0x8069A90: rb_load (eval.c:6851)
==5583== by 0x8069F24: rb_require_safe (eval.c:7213)
==5583== by 0x805F75A: rb_call0 (eval.c:5815)
==5583== by 0x80603D0: rb_call (eval.c:6062)
==5583== by 0x805DE7A: rb_eval (eval.c:3462)
==5583== by 0x806AF2C: ruby_exec_internal (eval.c:1608)
==5583== by 0x806AF65: ruby_exec (eval.c:1628)
==5583== by 0x806AF8F: ruby_run (eval.c:1638)
==5583==
==5583==
==5583== 35,560 bytes in 911 blocks are possibly lost in loss record 20 of 24
==5583== at 0x4021AB8: malloc (vg_replace_malloc.c:207)
==5583== by 0x8071F0


All times are GMT -5. The time now is 09:08 PM.