GUISupportQtQuickCxx Failed Error regular expression found in output. Regex=[Failed Image Test]

Hi, everyone, I build vtk master on ubuntu2004 with Qt5.15.2(install with Qt’s online .run file). when i run ctest I get error message like below. anyone would like get me some advice to dig out why it wrong?

very thanks.

          Start  497: VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItem
 497/2429 Test  #497: VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItem ............................................   Passed    1.17 sec
          Start  498: VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItemWidget
 498/2429 Test  #498: VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItemWidget ......................................***Failed  Error regular expression found in output. Regex=[Failed Image Test]  1.99 sec
          Start  499: VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderWindow
 499/2429 Test  #499: VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderWindow ..........................................   Passed    3.17 sec

Can you run with ctest --output-on-failure --rerun-failed? It should show the image difference path that you can inspect to see what might be wrong.

tks @ben.boeckel , Here is the log but the test "TestQQuickVTKRenderItemWidget " passed this time, so thanks let me know the way to get detailed error msg. :smile:

3398         Start  498: VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItemWidget
3399 122/704 Test  #498: VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItemWidget ......................................   Passed    1.64 sec
3400         Start  538: VTK::InteractionWidgetsCxx-BoxWidget
3401 123/704 Test  #538: VTK::InteractionWidgetsCxx-BoxWidget .........................................................***Exception: Numerical  0.31 sec
3402 ^[[0m^[[1m^[[91m
3403 Loguru caught a signal: SIGFPE
3404 ^[[0m^[[0m^[[31mStack trace:
3405 25      0x5626e071906e /home/eton/opt/vtks/vtk-src/build/bin/vtkInteractionWidgetsCxxTests(+0x2506e) [0x5626e071906e]
3406 24      0x7f20095860b3 __libc_start_main + 243
3407 23      0x5626e0719a0e /home/eton/opt/vtks/vtk-src/build/bin/vtkInteractionWidgetsCxxTests(+0x25a0e) [0x5626e0719a0e]
3408 22      0x5626e071a327 /home/eton/opt/vtks/vtk-src/build/bin/vtkInteractionWidgetsCxxTests(+0x26327) [0x5626e071a327]
3409 21      0x7f200814b998 vtkRenderWindowInteractor::Initialize() + 104
3410 20      0x7f20086d2d07 vtkXOpenGLRenderWindow::Render() + 55
3411 19      0x7f200863610b vtkOpenGLRenderWindow::Render() + 187
3412 18      0x7f2008147b65 vtkRenderWindow::Render() + 677
3413 17      0x7f20086d296e vtkXOpenGLRenderWindow::Start() + 94
3414 16      0x7f20086cdbc7 vtkXOpenGLRenderWindow::WindowInitialize() + 23
3415 15      0x7f20086d0cd5 vtkXOpenGLRenderWindow::CreateAWindow() + 965
3416 14      0x7f20052344fc /lib/x86_64-linux-gnu/libGLX.so.0(+0x54fc) [0x7f20052344fc]
3417 13      0x7f2004cded62 /lib/x86_64-linux-gnu/libGLX_indirect.so.0(+0x34d62) [0x7f2004cded62]
3418 12      0x7f2004ce126f /lib/x86_64-linux-gnu/libGLX_indirect.so.0(+0x3726f) [0x7f2004ce126f]
3419 11      0x7f20037bb505 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x70a505) [0x7f20037bb505]
3420 10      0x7f20031f1b92 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x140b92) [0x7f20031f1b92]
3421 9       0x7f200324b980 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x19a980) [0x7f200324b980]
3422 8       0x7f20038b05e6 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x7ff5e6) [0x7f20038b05e6]
3423 7       0x7f2003e0a45e /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd5945e) [0x7f2003e0a45e]
                                                                                                                                                                                               3398,16       59% 5560 8       0x7efc103075e6 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x7ff5e6) [0x7efc103075e6]
5561 7       0x7efc1086145e /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd5945e) [0x7efc1086145e]
5562 6       0x7efc10860366 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd58366) [0x7efc10860366]
5563 5       0x7efc1025cb74 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x754b74) [0x7efc1025cb74]
5564 4       0x7efc1025c929 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x754929) [0x7efc1025c929]
5565 3       0x7efc102594c8 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x7514c8) [0x7efc102594c8]
5566 2       0x7efc10325411 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0x81d411) [0x7efc10325411]
5567 1       0x7efc10884618 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so(+0xd7c618) [0x7efc10884618]
5568 0       0x7efc15ffc210 /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7efc15ffc210]^[[0m
5569 ^[[0m^[[31m(   0.069s) [main thread     ]                       :0     FATL| Signal: SIGFPE^[[0m
5570

Ah, floating point exceptions. I forget the fix for that, but it was in Mesa. If you build in non-Debug mode, the FPE checks won’t be enabled on VTK’s side at least…

great answer, tks. @ben.boeckel