Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
5.12.7
Description
Stack trace:
#8 <signal handler called> #9 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=<optimized out>) #10 qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) #11 QOpenGLContext::d_func (this=<optimized out>) #12 QOpenGLContext::form #13 0x0000007f7c0dcc5c in QSGBatchRenderer::Renderer::Renderer (this=0x7f38009bc0, ctx=0x559c0fe4c0) #14 0x0000007f7c10a294 in QSGDefaultRenderContext::createRenderer (this=0x559c0fe4c0) #15 0x0000007f7c16cfa8 in QQuickWindowPrivate::syncSceneGraph (this=this@entry=0x559c0fdc50) #16 0x0000007f7c1151c8 in QSGRenderThread::sync (this=this@entry=0x559bfb2570, inExpose=inExpose@entry=true) #17 0x0000007f7c1164c8 in QSGRenderThread::syncAndRender (this=this@entry=0x559bfb2570) #18 0x0000007f7c119778 in QSGRenderThread::run (this=0x559bfb2570) #19 0x0000007f7acf217c in QThreadPrivate::start (arg=0x559bfb2570) #20 0x0000007f7ac080e0 in start_thread (arg=0x7f7ac2f000 <__pthread_keys+16328>) #21 0x0000007f7a98dda8 in thread_start ()
Code below leads to SIGSEGV in case m_gl of QSGDefaultRenderContext is null:
if (m_context->openglContext()->format().profile() == QSurfaceFormat::CoreProfile) { m_vao = new QOpenGLVertexArrayObject(this); m_vao->create(); }
It is unfortunately not possible to provide steps or minimalistic code sample