-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widget Gallery exception on Win32 ( debug build ) #11
Comments
If I had to guess, OpenGL initialization might have failed. I get something similar if I start it in my Windows VM without an OpenGL driver (or Mesa DLL) available. I do get a slightly different error though (in RelWithDebInfo configuration):
You can try using the CPU rendering path by removing the If switching to CPU rendering doesn't help, you'll need to give me a bit more information about your environment (OS version, compiler, etc.) |
same issue on my computer, but I am not using VM. |
I am still unable to reproduce but I have spotted a possible inconsistency in the window members intialization order. I have pushed a more robust version to master. Could you let me know the results? For the sake of reproducing this, could you also provide more details about your system/environment/configuration, e.g. OS, compiler, etc. Thanks! |
====Win7 x64/MSVC 2017 x64==== This example "examples / widget_gallery / Debug / widget_gallery.exe" can be run. But when I click the close button in the top right corner, the program does not exit.The dialog box is closed, but looking at the Windows Task Manager, I found that there is still this process. That is, the process has not been killed. |
@libaineu2004 The logic around window closing was a bit backwards (or not backwards enough). |
I tested the new code "window.close ();" and still have problems. The call stack is as follows:
void _Adopt(const _Container_base12 _Parent) noexcept #if _ITERATOR_DEBUG_LEVEL == 2 #else /* _ITERATOR_DEBUG_LEVEL == 2 / |
By the way, all of my cmake options use the default value of OFF. //3rdparty dependencies |
any idea about this? |
I get a null pointer exception on line 161 "this->graphics_context._Mypair._Myval2 was nullptr."
auto canvas = graphics_context->create_canvas(size, canvas_flags);
in the window::draw() function
The text was updated successfully, but these errors were encountered: