MantisBT - VTK
View Issue Details
0013005VTK(No Category)public2012-03-15 17:022013-07-22 19:38
Alberto Biancardi 
Dave DeMarle 
normalminorhave not tried
closedno change required 
5.8.0 
5.10.1 
TBD
crash
0013005: vtk TCL interpreter seg-faults when rendering offscreen
vtk built for offscreen rendering with TCL wrapping,
libOSMesa and no X seg-faults when rendering.

The attached file contains:
- the commands used to generate the segmentation fault
- OS information
- ldd output
- relevant configuration parameters from CMakeCache.txt
- a dump of a gdb session
No tags attached.
txt vtkbug.txt (6,361) 2012-03-15 17:02
https://www.vtk.org/Bug/file/9136/vtkbug.txt
Issue History
2012-03-15 17:02Alberto BiancardiNew Issue
2012-03-15 17:02Alberto BiancardiFile Added: vtkbug.txt
2012-03-15 17:17Utkarsh AyachitNote Added: 0028363
2012-03-16 16:28Alberto BiancardiNote Added: 0028372
2013-05-21 15:32Dave DeMarleNote Added: 0030807
2013-05-21 15:32Dave DeMarleAssigned To => Dave DeMarle
2013-05-21 15:32Dave DeMarleStatusbacklog => todo
2013-05-21 15:32Dave DeMarleResolutionopen => no change required
2013-05-21 15:33Dave DeMarleStatustodo => active development
2013-05-21 15:33Dave DeMarleStatusactive development => gatekeeper review
2013-07-22 19:38Dave DeMarleStatusgatekeeper review => closed
2013-07-22 19:38Dave DeMarleFixed in Version => 5.10.1

Notes
(0028363)
Utkarsh Ayachit   
2012-03-15 17:17   
What version of Mesa are you using? Looks like it's Mesa 7.11. Starting with Mesa 7.9 (I think) you cannot link against both libGL and libOSMesa. Refer to notes on the ParaView Wiki: http://paraview.org/Wiki/ParaView_And_Mesa_3D. [^]

Looking are your ldd output, there's both libOSMesa and libGL and hence the segfault.
(0028372)
Alberto Biancardi   
2012-03-16 16:28   
Thank you, it worked! Mesa is 7.11 indeed.

Maybe, it might be considered adding the reference to the ParaView wiki page
to the VTK FAQ where, for the offscreen rendering, mangled Mesa is described;
these new configuration options are much more straightforward to work with,
i.e. once all the details are covered.
Thanks.
(0030807)
Dave DeMarle   
2013-05-21 15:32   
I've added the reference to ParaView's more recent information on the VTK wiki as suggested.
Thank you