Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-4 votes
0 answers
140 views

So I am trying to install https://github.com/LouisBrunner/valgrind-macos.git valgrind version for MacOS, I've tried to brew tap the repo and then brew install but it failes when trying to run with ...
2 votes
1 answer
82 views

I have an open source C/C++ program on Linux amd64 that processes a PDF input file and that I did not write by myself. So I'm not familiar with its code. Processing a PDF file read from local disk ...
0 votes
0 answers
45 views

I'm attempting to use Massif to profile heap usage of an application. I'm running with the --pages-as-heap=true option and am confused by some output I'm seeing. Specifically I'm seeing allocation by ...
8 votes
1 answer
281 views

In the following program, I want to print the output as 0102030405... so on The 0 should be printed from one thread, odd values should be printed from second thread and even values from third thread....
0 votes
1 answer
64 views

Perhaps someone knows why Valgrind tools fail to print final stats when applied to rustc ? E.g. lackey works fine with C programs: $ valgrind -q --tool=lackey --basic-counts=yes whoami yugr ==3668989==...
yugr's user avatar
  • 22.7k
2 votes
1 answer
119 views

I am building a shell as part of a school assignment, a limited version of bash. The whole program seems to function alright without any kind on leaks, but when I send invalid/nonexistent commands ...
1 vote
1 answer
98 views

I am currently completing the introductory CS course CS50 only and got stuck on the problem "speller" from problem set 5. In this problem, one is given a set of prewritten .c-files, ...
1 vote
1 answer
38 views

If I run a program under valgrind that also keeps track of time, is there a way to make it get plausible results given the amount of code it has executed. What I'm planning to do is to run GStreamer ...
skyking's user avatar
  • 14.6k
3 votes
2 answers
130 views

I've been following an article that walks through implementing primitive versions of malloc and free. After finishing the allocator, I wanted to test it using Valgrind, so I added the following lines ...
1 vote
2 answers
45 views

I have a binary which was generated using 10 threads i.e. I used GNU make command make -j10 to generate my binary. If I run valgrind on the generated binary, will the valgrind result be reliable. ...
1 vote
2 answers
72 views

My CGI application written in C has memory corruption. I would like to attach valgrind while running the application. How do I do that? As apache is invoking the cgi module, I dont have an option to ...
7 votes
2 answers
253 views

I have code which embeds a tcl interpreter in my c++ program. When running with valgrind it shows a bunch of possible memory leaks from the TCL interpreter. I am using Tcl_DeleteInterp(interp); to ...
0 votes
1 answer
38 views

Can't find package in Solus repository requested by valgrind (glibc's debuginfo package: libc6-dbg/glibc-debuginfo). I've tried to find something in google, but nothing. Anybody knows?
4 votes
1 answer
106 views

I have some CI tests that run some tests under valgrind, and fail if there are any errors (as reported in valgrind's ERROR SUMMARY). On certain Linux distros, I get that there was 1 error from 1 ...
1 vote
2 answers
66 views

Learning stackoverflow and how to suppress library leaks in glib. If I run my code using the included glib.supp file valgrind --suppressions=/usr/share/glib-2.0/valgrind/glib.supp --leak-check=full --...

15 30 50 per page
1
2 3 4 5
...
283

AltStyle によって変換されたページ (->オリジナル) /