Skip to content
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

3D sandbox doesn't start #59577

Open
2 tasks
Withalion opened this issue Nov 24, 2024 · 0 comments
Open
2 tasks

3D sandbox doesn't start #59577

Withalion opened this issue Nov 24, 2024 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@Withalion
Copy link
Contributor

What is the bug or the crash?

The 3D sandbox application can't be started. Target builds okay but on run I'm getting this error:

QOpenGLFunctions created with non-current context
ASSERT: "QOpenGLFunctions::isInitialized(d_ptr)" in file /usr/include/qt5/QtGui/qopenglfunctions.h, line 858

After debugging the bug is thrown by line 991 in src/3d/qgs3dutils.cpp

funcs->glGetIntegerv( GL_MAX_CLIP_PLANES, &numPlanes );

however that's just a symptom the real issue is that context.makeCurrent( surface ); above is failing.

This bug has been introduced in #59328.

Steps to reproduce the issue

Run 3D sandbox with any QGIS project as argument

Versions

Current Master (QGIS 3.41+)

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@Withalion Withalion added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant