The Persistence of Vision Raytracer (POV-Ray).
This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.
FS#179 - unix version segfaults when $HOME not set
Opened by Jon Boede (jonboede) - Wednesday, 15 December 2010, 02:44 GMT
Last edited by Chris Cason (chrisc) - Friday, 31 December 2010, 14:38 GMT
unixoptions.cpp has a getenv(”HOME”) that does an assignment without checking to see if getenv returns NULL.
This causes an immediate and unceremonious segfault in those situations where $HOME is not set such as in the case where povray is launched by a daemon.
Best solution might be to set the home to /tmp and print a warning message about $HOME not being set.
Friday, 31 December 2010, 14:38 GMT
Reason for closing: Fixed