Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Creator crashes when trying to run an OpenCV program. [ntdll.dll crash]
Forum Update on Tuesday, May 27th 2025

Qt Creator crashes when trying to run an OpenCV program. [ntdll.dll crash]

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kashre001
    wrote on 16 Nov 2014, 23:38 last edited by
    #1

    I have QT Creator 3.2.2 for windows. I am using mingw-x64 with gcc/g++ - 4.9.1 as my compiler/debugger. I used Cmake to build the libraries.

    Currently, am trying to run this code :

    @#include <core/cvstd.hpp>
    #include <core/mat.hpp>
    #include <core/types.hpp>
    #include <core.hpp>
    #include <cstdlib>
    #include <highgui.hpp>
    #include <imgproc.hpp>
    #include <iostream>
    #include <sys/types.h>
    #include <vector>
    #include <video/background_segm.hpp>

    using namespace cv;

    int main(int argc, char *argv[])
    {
    Mat image = imread("C:\Users\John\Desktop\Random\QtTrySimple\Try\bgm.jpeg");
    namedWindow("LOL");
    imshow("LOL", image);
    }@

    But the program crashes with a 'Critical error detected c0000374'. From what I understand this error indicates a memory leak on the heap.

    Also, here is the stack when it crashes:
    @
    0 ntdll!RtlUnhandledExceptionFilter C:\Windows\SYSTEM32\ntdll.dll 0x775b40d0
    1 ntdll!EtwEnumerateProcessRegGuids C:\Windows\SYSTEM32\ntdll.dll 0x775b4746
    2 ntdll!RtlQueryProcessLockInformation C:\Windows\SYSTEM32\ntdll.dll 0x775b5952
    3 ntdll!RtlLogStackBackTrace C:\Windows\SYSTEM32\ntdll.dll 0x775b7604
    4 ntdll!RtlIsDosDeviceName_U C:\Windows\SYSTEM32\ntdll.dll 0x7755dc47 @

    1 Reply Last reply
    0

    1/1

    16 Nov 2014, 23:38

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved