You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #8058 is very similar, it reported that simple drawing did not work with 6.8.
It also reported on some problems with find_package of CGAL with Qt6.
The latter was fixed, and it turned out that 6.8 hasn't been officially published, so it was closed.
However, it makes me think that the same reason that caused the segmentation with 6.8 is also the reason for the segmentation with 6.7. (This piece of info may be useless...)
All the example programs that use the simple drawing mechanism end with a segmentation fault, e.g., Polygon/draw_polygon, Arrangement_2/draw_arrangement, Surface_mesh/sm_draw_small_faces. Other programs that are based on Qt6 work fine. This is, of course, not a proof that the problem is in our code, but it's suspicious.
I've experienced the same behavior on two separate machines running Ubuntu 22.04.
Actually, I now have exactly the same issue on my Linux machine (with Qt 6.7.1 as well). For all examples involving the basic viewer, I have a segfault. The issue is that QOpenGLContext::currentContext() returns a null pointer.
## Summary of Changes
This should fix#8232. I have tested locally. I hope that does not
## Release Management
* Affected package(s): GraphicsView, Qt6
* Issue(s) solved (if any): fix#8232
* License and copyright ownership: bug fix
Issue Details
Issue #8058 is very similar, it reported that simple drawing did not work with 6.8.
It also reported on some problems with find_package of CGAL with Qt6.
The latter was fixed, and it turned out that 6.8 hasn't been officially published, so it was closed.
However, it makes me think that the same reason that caused the segmentation with 6.8 is also the reason for the segmentation with 6.7. (This piece of info may be useless...)
All the example programs that use the simple drawing mechanism end with a segmentation fault, e.g., Polygon/draw_polygon, Arrangement_2/draw_arrangement, Surface_mesh/sm_draw_small_faces. Other programs that are based on Qt6 work fine. This is, of course, not a proof that the problem is in our code, but it's suspicious.
I've experienced the same behavior on two separate machines running Ubuntu 22.04.
Here is the trace of the stack:
stack_qt_issue.txt
Source Code
Environment
The text was updated successfully, but these errors were encountered: