Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8772537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:03:32+00:00 2026-06-13T18:03:32+00:00

I am beginning to learn C from here . I was learning to use

  • 0

I am beginning to learn C from here. I was learning to use valgrind in Chapter-5, Exercise-4. The problem is explained in source-code window-17 on this page.

Upon Valgrind’ing the file (ex4.c), my output lacks from the Valgrind output shown on this page in the following ways;

  1. ??? instead of _itoa_word (_itoa.c:195)

  2. Location of line numbers in C library files are not identified. Instead, the path to the shared library file (.so) is given.

An example giving a comparison of the two outputs is shown below.

WHAT I EXPECT

==3082== Use of uninitialised value of size 8

==3082== at 0x4E730EB: _itoa_word (_itoa.c:195)

==3082== by 0x4E743D8: vfprintf (vfprintf.c:1613)

==3082== by 0x4E7E6F9: printf (printf.c:35)

==3082== by 0x40052B: main (ex4.c:11)


WHAT I GET

==14647== at 0x407D256: ??? (in /lib/tls/i686/cmov/libc-2.11.1.so)

==14647== by 0x4080B89: vfprintf (in /lib/tls/i686/cmov/libc-2.11.1.so)

==14647== by 0x40882BF: printf (in /lib/tls/i686/cmov/libc-2.11.1.so)

==14647== by 0x8048401: main (ex4.c:9)

Please tell me how can I correct my valgrind output. I am using Ubuntu-10.10, 32 bit version. I installed Valgrind-3.8.1 using source. My gcc version is 4.3.3 and glibc version 2.11.1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:03:33+00:00Added an answer on June 13, 2026 at 6:03 pm

    Some Linux distributions come with libraries that have had their symbols stripped out. The resultant libraries are much smaller, but lack the function names you need to debug them in gdb or valgrind.

    You can usually find a package that has the debug symbols for each one of these libraries. On Ubuntu, for example, it’s the library’s package name with a “-dbg” suffix. For the C library libc6, it’s libc6-dbg. Install it with:

    sudo aptitude install libc6-dbg
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm beginning to learn python and here I'm trying to read from an xml
I am new at ASP.net and VB.net.So i Learn from book beginning ASP.Net 3.5
I am new to Python (coming from MATLAB) and was beginning to learn that
I'm beginning to learn some Hadoop/MapReduce, coming mostly from a PHP background, with a
i'm beginning to learn android, i meet a problem in my project, in my
I'm starting right from the beginning with Ruby to learn the ropes but have
Following on from my previous question, If I am beginning to learn asp.net MVC,
I am just beginning to learn Ruby and have the following code in a
I'm just beginning to learn Java and I have been very frustrated about learning
I'm trying to learn from a tutorial how to use Rails as Backend for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.