Category : heap-corruption

Investigating a heap corruption dump of type HEAP_FAILURE_MULTIPLE_ENTRIES_CORRUPTION. Found the below details after opening the dump in windbg. 0:000> !heap ************************************************************** * * * HEAP ERROR DETECTED * * * ************************************************************** Details: Heap address: 000000d084f40000 Error address: 000000d08b09c200 Last known valid blocks: before – 000000d08b093f90, after – 000000d08b0a5000 Error type: HEAP_FAILURE_MULTIPLE_ENTRIES_CORRUPTION Details: The heap manager ..

Read more

// Connection establisher class class CSSLConn: public std::enable_shared_from_this<CSSLConn> { : : }; // Class for maintaining the thread pool class CHttpClient { // vector to hold connction objects std::vector <std::shared_ptr<CSSLConn>> m_sslConnObj{}; // main method call this to create connection void CHttpClient::Initialize(int nThreads) { for (int x = 0; x < nThreadCount; ++x) { worker_threads_.create_thread(boost::bind(&CHttpClient::WorkerThread, this)); ..

Read more

Having this code: #include <iostream> #include <math.h> #include <algorithm> #define POCET_BODU 10 using namespace std; //functions declaration int indexNejblizsi(int velikost, int(*poleBodu)[2], int referenciX, int referencniY); double prumernaVzdalenost(int velikost, int(*poleBodu)[2], int referencniX, int referencniY); int indexNejvzdalenejsi(int velikost, int(*poleBodu)[2], int referencniX, int referencniY); double medianVzdalenosti(int velikost, int(*poleBody)[2], int referencniX, int referencniY); int main() { int body[POCET_BODU][2] = ..

Read more

I have and QT application with class Solver that solve some numeric problem (Bairstow method for finding roots of the polynomial by finding its distribution to trinomials) but while for smaller instances (5 parameters, in array tabA) it work fine, but when I tried this for larger instances (7 parameters) application crashed. After I run ..

Read more