View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010621ParaViewBugpublic2010-04-27 14:462010-07-07 10:07
ReporterUtkarsh Ayachit 
Assigned ToFrançois Bertel 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.8 
Target Version3.8.1Fixed in Version3.8.1 
Summary0010621: When running paraview with X forwarding it segfaults.
Descriptiongdb) bt
#0 0x46813158 in vtkUpload3D<unsigned char>::Upload () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#1 0x46806955 in vtkPixelBufferObject::Upload3D () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#2 0x46950bd2 in vtkPixelBufferObject::Upload2D () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#3 0x4694fa20 in vtkOpenGLTexture::Load () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#4 0x469451d8 in vtkOpenGLScalarsToColorsPainter::RenderInternal () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#5 0x467f7567 in vtkPainter::Render () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#6 0x467f6a11 in vtkPainter::RenderInternal () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#7 0x467f7567 in vtkPainter::Render () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#8 0x4670280c in vtkDefaultPainter::Render () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
0000009 0x467f94ec in vtkPainterPolyDataMapper::RenderPiece () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#10 0x4681e51c in vtkPolyDataMapper::Render () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
0000011 0x4690d84f in vtkOpenGLActor::Render () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#12 0x466b9d69 in vtkActor::RenderOpaqueGeometry () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#13 0x468438e4 in vtkRenderer::UpdateGeometry () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#14 0x469440f3 in vtkOpenGLRenderer::DeviceRender () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#15 0x468448ee in vtkRenderer::Render () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#16 0x4683d9e1 in vtkRendererCollection::Render () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#17 0x46855b48 in vtkRenderWindow::DoStereoRender () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#18 0x4685605b in vtkRenderWindow::DoFDRender () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
#19 0x46856640 in vtkRenderWindow::DoAARender () from /opt/paraview3.8-RC1/lib/paraview-3.8/libvtkRendering.so.pv3.8
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0020440)
François Bertel (reporter)
2010-04-27 15:29
edited on: 2010-04-27 15:30

Tested glxinfo with the following configurations:

machine1: Linux Ubuntu 9.10 x86_64 with nVidia Quadro FX 3600M driver 185.18.36.
machine2: linux Ubuntu 9.10 x86 with nVidia GeForce 6800 driver 185.18.36.

Working on machine1:
$ glxinfo &> report1.txt
$ ssh -X machine2
$ glxinfo &> report2.txt

It turns out that in indirect mode (rendering on machine1 but executing on machine2), some extensions are not advertised, including PBO but the advertised OpenGL version is 3.0, for which PBO is a core feature!

This is a bug in the nVidia GLX indirect rendering protocol. This is not a bug in VTK.

A conservative solution is to change VTK logic so that in indirect mode, it pretents the OpenGL implementation is only 1.1. It would work correctly as the VTK components that need advanced OpenGL look first for the OpenGL version, then if the version is too low, they look for extensions.

(0020693)
François Bertel (reporter)
2010-05-10 10:12

Here is the thread of discussion on the ParaView mailing-list:
http://www.paraview.org/pipermail/paraview/2010-April/017142.html [^]
(0020702)
François Bertel (reporter)
2010-05-10 17:39

More tests shows this is not a bug in the Xserver layer but really in the nVidia driver: two machines with both nVidia driver 195.36.15, one on Ubuntu 9.10 x86_64 and one on Arch x86_64 made paraview crash when the use as X-server throught a remote connection.
(0020703)
François Bertel (reporter)
2010-05-10 18:05

I reported a bug to nVidia:
http://www.nvnews.net/vbulletin/showthread.php?p=2248984#post2248984 [^]
(0020708)
François Bertel (reporter)
2010-05-11 09:45

Fix on 2010-05-11 by git commit: d64cfbc286c7e5e51ac7ccaa3669ab02a9999b92

http://vtk.org/gitweb?p=VTK.git;a=commit;h=d64cfbc286c7e5e51ac7ccaa3669ab02a9999b92 [^]
(0020774)
Alan Scott (manager)
2010-05-17 21:29

This seems to be working correctly for me. Please reopen if this bug still shows up. Tested trunk, local server.
(0021272)
Utkarsh Ayachit (administrator)
2010-07-07 10:07

verified this commit has been moved to "release" branch.

 Issue History
Date Modified Username Field Change
2010-04-27 14:46 Utkarsh Ayachit New Issue
2010-04-27 14:46 Utkarsh Ayachit Status backlog => tabled
2010-04-27 14:46 Utkarsh Ayachit Assigned To => François Bertel
2010-04-27 15:29 François Bertel Note Added: 0020440
2010-04-27 15:30 François Bertel Note Edited: 0020440
2010-04-27 15:30 François Bertel Note Edited: 0020440
2010-05-10 10:12 François Bertel Note Added: 0020693
2010-05-10 17:39 François Bertel Note Added: 0020702
2010-05-10 18:05 François Bertel Note Added: 0020703
2010-05-11 09:45 François Bertel Note Added: 0020708
2010-05-11 09:45 François Bertel Status tabled => @80@
2010-05-11 09:45 François Bertel Resolution open => fixed
2010-05-17 21:29 Alan Scott Note Added: 0020774
2010-05-17 21:29 Alan Scott Status @80@ => closed
2010-06-15 09:44 Utkarsh Ayachit Target Version 3.8.2 => 3.8.1
2010-07-07 09:55 Utkarsh Ayachit Fixed in Version => Development
2010-07-07 10:07 Utkarsh Ayachit Note Added: 0021272
2010-07-07 10:07 Utkarsh Ayachit Fixed in Version Development => 3.8.1


Copyright © 2000 - 2018 MantisBT Team