opencv 2.4.2 with qt (4.8.0) support crashing at namedwindow (Bug #2197)
Description
Hi,
I've opencv 2.4.2 build with visual studio 2010 and CMAKE (qt support enabled). Whenever, i use a simple program opening a window/use imshow then i get unhandled exception crash and in the terminal window i get opencv error :
OpenCV error: Null pointer <null session="" handler=""> in unknown function, file, pathtoopencv\highgui\src\window_qt.cpp line 909
The same program with the same configuration settings work in 'Release' configuration. It only fails in Debug mode. I also tried to build the opencv with SSE/SSE2 disabled but still am getting the crash.
Regards,
Related issues
duplicates Bug #2255: Cannot show image in debug mode with Qt enabled (VS2010) | Done | 2012-08-09 |
Associated revisions
Merge pull request #2197 from asmorkalov:ocv_packaging2
History
Updated by Jawad Rafid over 12 years ago
Here i am attaching a project which can be used to replicate the error. Actually this is a sample from opencv for gpu optical flow tracker. It runs from command prompt while crashes in visual studio. Here the problem occurs when imshow/namedwindow is called. so i guess gpu is conflicting with imshow or maybe it is qt again.
- File testGPUFlow.zip added
Updated by Daniil Osokin over 12 years ago
Thank you, we will look at it.
Updated by Baris Demiroz over 12 years ago
I am having the same problem.
Updated by Andrey Kamaev over 12 years ago
- Category changed from highgui-images to highgui-gui
Updated by Mourad Boufarguine over 12 years ago
It's related to http://code.opencv.org/issues/2324.
Updated by Vladislav Vinogradov over 11 years ago
Closed as duplicate for #2255
- Status changed from Open to Cancelled
- Affected version set to 2.4.0 - 2.4.4