Valgrind is not working. Error: debuginfo reader: Possibly corrupted debuginfo file

Viewed 13

I am working on a CS50 assignment. Everything checks out, except I am unable to use Valgrind to check for any memory leak.

Below is the response I am getting. I have limited knowledge of Valgrind. Please help me understand what I may be doing wrong.

cs50/pset5/speller/ $ valgrind ./speller dictionaries/small texts/cat.txt
==10056== Memcheck, a memory error detector
==10056== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==10056== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==10056== Command: ./speller dictionaries/small texts/cat.txt
==10056== 
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x1b
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x1b
==10056== Valgrind: debuginfo reader: ensure_valid failed:
==10056== Valgrind:   during call to ML_(img_get)
==10056== Valgrind:   request for range [60177295, +4) exceeds
==10056== Valgrind:   valid image size of 24344 for image:
==10056== Valgrind:   "/workspaces/76114999/cs50/pset5/speller/speller"
==10056== 
==10056== Valgrind: debuginfo reader: Possibly corrupted debuginfo file.
==10056== Valgrind: I can't recover.  Giving up.  Sorry.
==10056==
0 Answers
Related