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.
Attached to Project: POV-Ray
Opened by Jon Boede - 2010-12-15
Last edited by Chris Cason - 2010-12-31
Opened by Jon Boede - 2010-12-15
Last edited by Chris Cason - 2010-12-31
FS#179 - unix version segfaults when $HOME not set
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.
Confirmed for the missing $HOME generating a segfault (beta 40, take 2, unix source on amd64)
/tmp would be a hard coded value... what if it is somewhere else ?
I'm tempted to simply test m_home against Null in addition to current code which check the length... investigation in progress
proposal in #5273 (very small patch, fix the issue of no $HOME), does not use /tmp
should be fixed with change #5276
Tested with beta 41: (from command line, after "unset HOME") render is ok (using pov's system default, not the user default anymore, as expectable).