[vtk-developers] QVTKWidget - Error: no override found for 'vtkContextDevice2D'

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Thu Jul 31 19:44:35 EDT 2014


Hi Folks,

After doing some experiment with Slicer, building against:

   VTK 6.2-dev - f19689d

   Ubuntu 10.04 - g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3

It causes the volume rendering test [0] to fail [1] with the following
error:


Generic Warning: In
/home/kitware/Dashboards/Nightly/Slicer-0-build/VTKv6/Rendering/Context2D/vtkContextDevice2D.cxx,
line 27
Error: no override found for 'vtkContextDevice2D'.

This has already been discussed few days ago in [2] but we didn't came to a
solution.

I suspect it is related to the recent work done regarding the support of
different rendering backend.

Any idea what could be done to fix this ?

You will also find below a complete backtrace. See [3]

Thanks
Jc

[0]
https://github.com/Slicer/Slicer/blob/22f1c99f28d52f58070e31849d33a3a50e4501a6/Modules/Loadable/VolumeRendering/Testing/Cxx/qMRMLVolumePropertyNodeWidgetTest1.cxx

[1] http://slicer.cdash.org/testDetails.php?test=5592103&build=253161

[2]
http://vtk.1045678.n5.nabble.com/Problem-with-QVtkWidget-not-rendering-vktChartXY-in-visual-studio-2013-td5727913.html#a5727919

[3] Backtrace:


(gdb) bt
#0  0x00007fffdb63ecc6 in vtkContextActor::RenderOverlay (this=0xc34be0,
viewport=0xbbe720) at
/path/to/VTKv6/Rendering/Context2D/vtkContextActor.cxx:212
#1  0x00007fffd77f1483 in vtkRenderer::UpdateGeometry (this=0xbbe720) at
/path/to/VTKv6/Rendering/Core/vtkRenderer.cxx:585
#2  0x00007fffdd3f5631 in vtkOpenGLRenderer::DeviceRender (this=0xbbe720)
at /path/to/VTKv6/Rendering/OpenGL/vtkOpenGLRenderer.cxx:270
#3  0x00007fffd77f0691 in vtkRenderer::Render (this=0xbbe720) at
/path/to/VTKv6/Rendering/Core/vtkRenderer.cxx:292
#4  0x00007fffd77eed45 in vtkRendererCollection::Render (this=0xbbe580) at
/path/to/VTKv6/Rendering/Core/vtkRendererCollection.cxx:51
#5  0x00007fffd7804bd8 in vtkRenderWindow::DoStereoRender (this=0xbbe2c0)
at /path/to/VTKv6/Rendering/Core/vtkRenderWindow.cxx:762
#6  0x00007fffd7804ade in vtkRenderWindow::DoFDRender (this=0xbbe2c0) at
/path/to/VTKv6/Rendering/Core/vtkRenderWindow.cxx:731
#7  0x00007fffd780447e in vtkRenderWindow::DoAARender (this=0xbbe2c0) at
/path/to/VTKv6/Rendering/Core/vtkRenderWindow.cxx:610
#8  0x00007fffd7803a4c in vtkRenderWindow::Render (this=0xbbe2c0) at
/path/to/VTKv6/Rendering/Core/vtkRenderWindow.cxx:426
#9  0x00007fffdd492ced in vtkXOpenGLRenderWindow::Render (this=0xbbe2c0) at
/path/to/VTKv6/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx:1830
#10 0x00007fffd78103df in vtkRenderWindowInteractor::Render (this=0xc1bb60)
at /path/to/VTKv6/Rendering/Core/vtkRenderWindowInteractor.cxx:171
#11 0x00007fffddc117a4 in QVTKWidget::paintEvent (this=0xba6ad0) at
/path/to/VTKv6/GUISupport/Qt/QVTKWidget.cxx:479
#12 0x00007fffcec51146 in QWidget::event(QEvent*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#13 0x00007fffddc11566 in QVTKWidget::event (this=0xba6ad0,
e=0x7fffffffd020) at /path/to/VTKv6/GUISupport/Qt/QVTKWidget.cxx:414
#14 0x00007fffcec0781c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#15 0x00007fffcec0a189 in QApplication::notify(QObject*, QEvent*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#16 0x00007fffce6ae7ce in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtCore.so.4
#17 0x00007fffcec55de4 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#18 0x00007fffcee2574c in QWidgetPrivate::repaint_sys(QRegion const&) ()
from /path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#19 0x00007fffcec44fa4 in QWidgetPrivate::syncBackingStore() () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#20 0x00007fffcec513a3 in QWidget::event(QEvent*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#21 0x00007fffddc11566 in QVTKWidget::event (this=0xba6ad0, e=0xd3fef0) at
/path/to/VTKv6/GUISupport/Qt/QVTKWidget.cxx:414
#22 0x00007fffcec0781c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#23 0x00007fffcec0a189 in QApplication::notify(QObject*, QEvent*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#24 0x00007fffce6ae7ce in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtCore.so.4
#25 0x00007fffce6b2221 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtCore.so.4
#26 0x00007fffceca17cc in ?? () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtGui.so.4
#27 0x00007fffce6ad55f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtCore.so.4
#28 0x00007fffce6ad7e8 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtCore.so.4
#29 0x00007fffce6b28b8 in QCoreApplication::exec() () from
/path/to/qt-everywhere-opensource-release-build-4.8.5/lib/libQtCore.so.4
#30 0x0000000000410f9c in qMRMLVolumePropertyNodeWidgetTest1 (argc=1,
argv=0x7fffffffdd60) at
/home/jchris/Projects/Slicer-2/Modules/Loadable/VolumeRendering/Testing/Cxx/qMRMLVolumePropertyNodeWidgetTest1.cxx:52
#31 0x0000000000410d29 in main (ac=1, av=0x7fffffffdd60) at
/path/to/Slicer-build/Modules/Loadable/VolumeRendering/Testing/Cxx/qSlicerVolumeRenderingModuleCxxTests.cxx:197



-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140731/a526be5a/attachment-0001.html>


More information about the vtk-developers mailing list