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

  • SEARCH
  • Home
  • 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 7080185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:45:50+00:00 2026-05-28T06:45:50+00:00

I found the question Is anyone using Valgrind and Qt? , and while that

  • 0

I found the question “Is anyone using Valgrind and Qt?“, and while that seemed to clarify a few things, I found that the information it held could still a complimentary question. What I’d like to know is why – when I debug my application (with Qt, in particular) – I cannot see references to functions that I’ve created? Instead, I find tons and tons of information from lower APIs (such as Qt) which seem to have LOTS of memory leaks. Does this mean that my application is void of any memory leaks, or does it mean that there’s so much information regarding memory leaks that it targets the lower level APIs first, and then chooses to move on to the higher level code?

I ran my valgrind executable with the following flags:

valgrind  --leak-check=full  --show-reachable=yes -v ./HelloGL 

Also, what the hell is up with this?

ERROR SUMMARY: 925 errors from 899 contexts (suppressed: 29 from 7)

Pastebin.

  • 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-05-28T06:45:51+00:00Added an answer on May 28, 2026 at 6:45 am

    I think that your problem is that the call tree is very deep. You can adjust the depth reported using:

    --num-callers=<number> [default: 12]

    Specifies the maximum number of entries shown in stack traces that identify program locations. Note that errors are commoned up using only the top four function locations (the place in the current function, and that of its three immediate callers). So this doesn’t affect the total number of errors reported.

    The maximum value for this is 50. Note that higher settings will make Valgrind run a bit more slowly and take a bit more memory, but can be useful when working with programs with deeply-nested call chains.

    Whether the problems are internal to Qt or are provoked by your usage of Qt is difficult to answer. However, when the call traces don’t reach back to your code, it becomes very difficult to identify where the problem really is. On the whole, you should assume it is more likely your code than Qt that is at fault.

    Regarding the error summary: valgrind spotted 954 errors in total. However, 29 of those were from functions that are known to cause problems so the error messages were suppressed. In fact, those 29 problems occurred in seven locations (functions, contexts) known to cause the problems. The other 925 errors were not suppressed, meaning they either came from your code, or are newly found, never spotted before errors in system code. There were 899 separate contexts for those errors (so there were lots of different places causing trouble, with very few repeats). A context is a fragment of the calling chain (of functions making a particular error) that is recorded. So, there were lots of problems identified. You just need to be able to see which of your functions triggered those problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this question that is discussing what I would like to do, but
I found this question that was very useful in learning the basics of the
I found this question, which is similar to a problem that I would like
I found that, by default when I using Spring MVC, 2010/01/02 binds correctly, but
Using the MailMessage class in .NET 4, I found an issue today that I'm
So using the advice found in my previous ' question ', I have been
Question: Can anyone please provide a full code example that shows how one does
I found a question here about blogs on software development, but I would like
I found this question in an old question in your website so i thought
I found this question which is a great starting point towards creating embedded widgets

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.