First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked Jul 16 '12

frondeur gravatar image

opencv with qt support namedwindow crash

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, path_to_opencv\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,

click to hide/show revision 2
No.2 Revision

updated Jul 24 '12

Kirill Kornyakov gravatar image

opencv OpenCV with qt Qt support namedwindow namedWindow crash

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, path_to_opencv\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,