<div dir="ltr"><div dir="ltr">Hello community,<br><br>We sometimes get an ugly crash in our app, for the first rendering on a 3D view on OSX.<br>We are using QT 5.9.4, and VTK 8.1.<br><br>Here is the stacktrace, does that ring a bell to anyone ?<br><br>**********************************************************************************<br><div>0: Process: App_Starter [65595]</div><div>1: Path: /Applications/EndoSize.app/Contents/MacOS/App_Starter</div><div>2: Identifier: App_Starter</div><div>3: Version: ???</div><div>4: Code Type: X86-64 (Native)</div><div>5: Parent Process: ??? [1]</div><div>6: Responsible: App_Starter [65595]</div><div>7: User ID: 501</div><div>8:</div><div>9: Date/Time: 2018-10-10 13:41:35.706 +0200</div><div>10: OS Version: Mac OS X 10.13.6 (17G65)</div><div>11: Report Version: 12</div><div>12: Anonymous UUID: 2296AEBE-E6B4-BDDD-C0D9-5C1C10D27782</div><div>13:</div><div>14: Sleep/Wake UUID: E59AB7AB-66BB-4E40-9F86-4E6D8239F26B</div><div>15:</div><div>16: Time Awake Since Boot: 540000 seconds</div><div>17: Time Since Wake: 250 seconds</div><div>18:</div><div>19: System Integrity Protection: enabled</div><div>20:</div><div>21: Crashed Thread: 0 Dispatch queue: com.apple.main-thread</div><div>22:</div><div>23: Exception Type: EXC_CRASH (SIGABRT)</div><div>24: Exception Codes: 0x0000000000000000, 0x0000000000000000</div><div>25: Exception Note: EXC_CORPSE_NOTIFY</div><div>26:</div><div>27: Application Specific Information:</div><div>28: abort() called</div><div>29:</div><div>30: Application Specific Signatures:</div><div>31: Graphics hardware encountered an error and was reset: 0x00000003</div><div>32:</div><div>33:</div><div>34: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread</div><div>35: 0 libsystem_kernel.dylib 0x00007fff51aacb66 __pthread_kill + 10</div><div>36: 1 libsystem_pthread.dylib 0x00007fff51c77080 pthread_kill + 333</div><div>37: 2 libsystem_c.dylib 0x00007fff51a081ae abort + 127</div><div>38: 3 libGPUSupportMercury.dylib 0x00007fff4259a0f1 gpusGenerateCrashLog + 168</div><div>39: 4 com.apple.driver.AppleIntelHD5000GraphicsGLDriver<span style="white-space:pre">      </span>0x0000000116900c5d gpusKillClientExt + 9</div><div>40: 5 libGPUSupportMercury.dylib 0x00007fff4259b63a gpusSubmitDataBuffers + 540</div><div>41: 6 com.apple.driver.AppleIntelHD5000GraphicsGLDriver<span style="white-space:pre"> </span>0x00000001164b963a IntelCommandBuffer::getNew(GLDContextRec*) + 178</div><div>42: 7 com.apple.driver.AppleIntelHD5000GraphicsGLDriver<span style="white-space:pre">    </span>0x00000001164b9232 intelSubmitCommands + 178</div><div>43: 8 com.apple.driver.AppleIntelHD5000GraphicsGLDriver<span style="white-space:pre">   </span>0x00000001164c6b76 intelFinishCommands + 187</div><div>44: 9 com.apple.driver.AppleIntelHD5000GraphicsGLDriver<span style="white-space:pre">   </span>0x00000001164c60e0 glrReadFramebufferData + 4556</div><div>45: 10 GLEngine 0x00007fff3406d4f9 glReadPixels_Exec + 1032</div><div>46: 11 libGL.dylib 0x00007fff334b7dc3 glReadPixels + 42</div><div>47: 12 libThVtk.dylib 0x000000010a49ae87 vtkOpenGLRenderWindow::ReadPixels(vtkRecti const&, int, int, int, void*, int) + 743</div><div>48: 13 libThVtk.dylib 0x000000010a49aa9d vtkOpenGLRenderWindow::GetPixelData(int, int, int, int, int, int) + 157</div><div>49: 14 libThVtk.dylib 0x000000010a5ccc43 vtkRenderer::Render() + 1683</div><div>50: 15 libThVtk.dylib 0x000000010a5cba09 vtkRendererCollection::Render() + 137</div><div>51: 16 libThVtk.dylib 0x000000010a5d624c vtkRenderWindow::DoStereoRender() + 140</div><div>52: 17 libThVtk.dylib 0x000000010a5d5559 vtkRenderWindow::Render() + 649</div><div>53: 18 libThVtk.dylib 0x000000010a42af02 vtkGenericOpenGLRenderWindow::Render() + 34</div><div>54: 19 libThVtk.dylib 0x000000010a5d9627 vtkRenderWindowInteractor::Render() + 39</div><div>55: 20 libThVtk.dylib 0x000000010a16b90a QVTKOpenGLWindow::paintGL() + 138</div><div>56: 21 QtGui 0x0000000110ef87a5 0x110e8f000 + 432037</div><div>57: 22 QtGui 0x0000000110ef85ad QPaintDeviceWindow::exposeEvent(QExposeEvent*) + 173</div><div>58: 23 QtGui 0x0000000110ecd25e QWindow::event(QEvent*) + 798</div><div>59: 24 QtGui 0x0000000110ef8656 QPaintDeviceWindow::event(QEvent*) + 118</div><div>60: 25 QtWidgets 0x00000001108f4c52 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306</div><div>61: 26 QtWidgets 0x00000001108f5f6f QApplication::notify(QObject*, QEvent*) + 383</div>**********************************************************************************  <br><br>Thanks<br><br>Simon<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>------------------------------------------------------------------<br>Simon Esneault<div>Rennes, France<br>------------------------------------------------------------------</div></div></div></div></div></div>