Description of problem: In pvbatch or pvpython, WriteImage( "foo.png", "vtkPNGWriter" ) generates a segmentation fault. The same result is obtained for the jpeg writer. Version-Release number of selected component (if applicable): paraview-3.8.1-3.fc14.x86_64 vtk-5.6.0-38.fc14.x86_64 python-2.7-8.fc14.1.x86_64 How reproducible: Run the attached test1.py. This is a small test based on "ParaView Scripting with Python, august 2007". Steps to Reproduce: 1. Run test1.py Actual results: Segmentation Fault Expected results: image file Additional info: http://public.kitware.com/Bug/view.php?id=10506
Apparently it's fixed in paraview 3.10. Updating the Fedora package seems to be the solution.
I'm currently working on trying to get 3.10 into F15. Once that is done I'll look into updating F14.
Same situation for Fedora 15: paraview-3.10.1-3.fc15.x86_64 vtk-5.6.1-5.fc15.x86_64 python-2.7.1-7.fc15.x86_64 How to cause the bug: [rolf@home07 ~]$ pvpython test1.py vtkConeSource : [ ...........] vtkShrinkFilter : [ ...........] vtkConeSource : [ ...........] vtkShrinkFilter : [ ...........] Segmentation fault (core dumped) [rolf@home07 ~]$ http://public.kitware.com/Bug/view.php?id=12292
Created attachment 505678 [details] testscript to demonstrate the crash
I can reproduce. I'll see what I can find.
*** Bug 679277 has been marked as a duplicate of this bug. ***
Upstream seems to think this is fixed. But the workaround from http://paraview.org/Bug/view.php?id=10556 still works: adding this line before the call to WriteImage: GetActiveView().UseOffscreenRenderingForScreenshots = 0 or in the test1.py: view.UseOffscreenRenderingForScreenshots = 0
paraview-3.14.0-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/paraview-3.14.0-2.fc17
paraview-3.14.0-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/paraview-3.14.0-2.fc16
paraview-3.14.0-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/paraview-3.14.0-2.fc15
Package paraview-3.14.0-2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing paraview-3.14.0-2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2799/paraview-3.14.0-2.fc17 then log in and leave karma (feedback).
paraview-3.14.0-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
paraview-3.14.0-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
paraview-3.14.0-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.