POV-Ray : Newsgroups : povray.unix : Add info: Povray crashes with segfault when started via cronjob : Re: Add info: Povray crashes with segfault when started via cronjob Server Time
8 Jul 2024 17:38:01 EDT (-0400)
  Re: Add info: Povray crashes with segfault when started via cronjob  
From: Wolfgang Wieser
Date: 25 Mar 2003 18:08:57
Message: <3e80e188@news.povray.org>
Stefan Schleifer wrote:

> I've set up a few shell-scripts which prepair some .pov-Files regularly
> and everything works fine when executing them on bash directly. When i put
> the main-shell script everything (creating pov-files, moving something
> around ...) works perfectly but povray drops out with
> 
> ./mdf2navi.sh: line 41: 23667 Segmentation fault
>      /usr/local/bin/povray -GW -GS -GR -GD -GF 1,1,5.pov
>
Running such a job as root is not a very good idea anyways. 

Try using su(1) and pass it the shell script 
  su - stefan -c "~/mdf2navi.sh"
(And do not forget the single "-" after su.)

See if that helps. 

Wolfgang


Post a reply to this message

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