<div dir="ltr">Hi,<div><br></div><div>i've compiled the latest mesa version with llvmpipe on win32 (with msvc2015) with </div><div>"scons build=debug MSVC_VERSION=14.0 opengl32" (with LLVM 4.0).<br></div><div><br></div><div>Then I downloaded the QtCreator and tried to run the qopenglwidget example (see </div><div><a href="http://code.qt.io/cgit/qt/qtbase.git/tree/examples/opengl/qopenglwidget?h=5.6">http://code.qt.io/cgit/qt/qtbase.git/tree/examples/opengl/qopenglwidget?h=5.6</a>) from Qt version 5.6. I copied the mesa opengl32.dll into the application directory, but it immediately crashes on application startup.</div><div><br></div><div>This is the callstack i get in QtCreator:</div><div><div>1   RtlEnterCriticalSection                          ntdll                        0x779d22e2 </div><div>2   mtx_lock                                         threads_win32.h         436  0x3435cba  </div><div>3   lp_fence_wait                                    lp_fence.c              119  0x3436404  </div><div>4   llvmpipe_fence_finish                            lp_screen.c             616  0x3433ff9  </div><div>5   st_context_flush                                 st_manager.c            638  0x3040a08  </div><div>6   stw_make_current                                 stw_context.c           431  0x301d3cc  </div><div>7   DrvSetContext                                    stw_context.c           930  0x301cc3c  </div><div>8   wglMakeCurrent                                   stw_wgl.c               114  0x4e85eb3  </div><div>9   QWindowsGLContext::updateObtainedParams          qwindowsglcontext.cpp   1262 0xd09e6e   </div><div>10  QWindowsGLContext::QWindowsGLContext             qwindowsglcontext.cpp   1194 0xd09070   </div><div>11  QOpenGLStaticContext::createContext              qwindowsglcontext.cpp   266  0xd08a56   </div><div>12  QWindowsIntegration::createPlatformOpenGLContext qwindowsintegration.cpp 413  0xcae22e   </div><div>13  QOpenGLContext::create                           qopenglcontext.cpp      606  0xfab662e  </div><div>14  QOpenGLWidgetPrivate::initialize                 qopenglwidget.cpp       759  0x64da5bca </div><div>15  QOpenGLWidget::resizeEvent                       qopenglwidget.cpp       1172 0x64da4ccd </div><div>16  QWidget::event                                   qwidget.cpp             8913 0x64d68a1b </div><div>17  QOpenGLWidget::event                             qopenglwidget.cpp       1345 0x64da4e99 </div><div>18  QApplicationPrivate::notify_helper               qapplication.cpp        3804 0x64d19b4b </div><div>19  QApplication::notify                             qapplication.cpp        3767 0x64d17c7e </div><div>20  QCoreApplication::notifyInternal2                qcoreapplication.cpp    1015 0x6641ee1c </div><div>... <More>                                                                                   </div></div><div><br></div><div>It crashes because the ctx passed into llvmpipe_fence_finish() is NULL.</div><div><br></div><div>Is this a known issue or is there some build option which might result in some missing functionality which result in this kind of crash. </div><div><br></div><div>Regards,</div><div>Andreas</div></div>