opencv 2.4.2 with qt (4.8.0) support crashing at namedwindow (Bug #2197)


Added by Jawad Rafid over 12 years ago. Updated over 11 years ago.


Status:Cancelled Start date:2012-07-25
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:highgui-gui
Target version:-
Affected version:2.4.0 - 2.4.4 Operating System:
Difficulty: HW Platform:
Pull request:

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,


CMakeCache.txt (148.7 kB) Jawad Rafid, 2012-07-25 01:37 pm

testGPUFlow.zip (882.1 kB) Jawad Rafid, 2012-07-25 09:22 pm


Related issues

duplicates Bug #2255: Cannot show image in debug mode with Qt enabled (VS2010) Done 2012-08-09

Associated revisions

Revision 24caa801
Added by Roman Donchenko about 11 years ago

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.

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 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

Also available in: Atom PDF