_diman
10-27-2012, 07:43 AM
Hi guys,
sorry for my poor English.
I have got a crash with corrupted heap on start LayeredWindow2 example. It's repeated stable.
I have investigated problem and got the following result:
the problem is located in the .\Sources\GL\WGL\opengl_window_provider_wgl.cpp file in the
void CL_OpenGLWindowProvider_WGL::flip(int interval) method
After change bottom code
CL_PixelBuffer pixelbuffer(width, height, cl_r8);
on this
CL_PixelBuffer pixelbuffer(width, height + 1, cl_r8);
the crash is not repeated.
May be OS allocate new page and heap corruoted is not located by OS more, but the method is need more memory (heiht * 2 or height * 3 )
PS sorry for my poor English.
PSS CLanLib v.2.3.6
sorry for my poor English.
I have got a crash with corrupted heap on start LayeredWindow2 example. It's repeated stable.
I have investigated problem and got the following result:
the problem is located in the .\Sources\GL\WGL\opengl_window_provider_wgl.cpp file in the
void CL_OpenGLWindowProvider_WGL::flip(int interval) method
After change bottom code
CL_PixelBuffer pixelbuffer(width, height, cl_r8);
on this
CL_PixelBuffer pixelbuffer(width, height + 1, cl_r8);
the crash is not repeated.
May be OS allocate new page and heap corruoted is not located by OS more, but the method is need more memory (heiht * 2 or height * 3 )
PS sorry for my poor English.
PSS CLanLib v.2.3.6