Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7190

Program crashes valgrind only in Qt Creator

$
0
0

I'm writing a C++ program with several threads, lots of IO, etc. and I want to check for memory leaks. The program runs great in debug build, and release build. But, if I run Valgrind from within Qt Creator (v 12.0.2) with Qt5.15.2, I see some output from my program and then:

21:18:04: Analyzing finished.21:18:04: Process exited with return value Process crashed21:18:04: Analyzing finished.

But there is no output showing where it crashed! I tried running valgrind on my program from the bash command prompt and it runs fine (though LOTS of output because of no supression files for Qt). No crash.

There's something about running Valgrind in Qt Creator that exposes a memory problem (I'm guessing). But I can't find it! I have core (crash) files enabled, yet my program crashing does not cause a core dump to be written. I'm at a loss...how do I find out what's going on to cause the crash?


Viewing all articles
Browse latest Browse all 7190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>