POV-Ray : Newsgroups : povray.bugreports : UNIX version of povray crashes when getenv("HOME") =3D=3D NULL Server Time
22 Dec 2024 12:39:12 EST (-0500)
  UNIX version of povray crashes when getenv("HOME") =3D=3D NULL (Message 1 to 1 of 1)  
From: Jon Boede
Subject: UNIX version of povray crashes when getenv("HOME") =3D=3D NULL
Date: 14 Dec 2010 21:30:01
Message: <web.4d082754564d76f4a63d3f560@news.povray.org>
unixoptions.cpp line 1245 (in the 3.7 beta, anyway) doesn't check to see if
getenv is returning NULL before making the assignment.

Under some circumstances (e.g. povray is being launched by a daemon as would be
the case in a render farm) getenv("HOME") is going to return NULL.

This causes povray to segfault immediately when it's started.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.