|
|
|
|
|
|
| |
| |
|
|
From: Stefan Schleifer
Subject: Add info: Povray crashes with segfault when started via cronjob
Date: 24 Mar 2003 16:35:56
Message: <3e7f7a3c$1@news.povray.org>
|
|
|
| |
| |
|
|
Sorry, the following information could be missing at my first posting...:
The system is a linux-system, uname -a: Linux gonro 2.4.19-4GB #1 Fri Sep 13
13:14:56 UTC 2002 i686 unknown
cat /proc/meminfo shows
MemTotal: 772496 kB
MemFree: 87884 kB
MemShared: 0 kB
Buffers: 202636 kB
Cached: 241056 kB
SwapCached: 12036 kB
Active: 314096 kB
Inactive: 184196 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 772496 kB
LowFree: 87884 kB
SwapTotal: 1089056 kB
SwapFree: 1073140 kB
BigFree: 0 kB
Regards,
Stefan
Original mail was:
Hello,
i've got the following problem:
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
Any hints?
Regards,
Stefan
Post a reply to this message
|
|
| |
| |
|
|
From: Wolfgang Wieser
Subject: Re: Add info: Povray crashes with segfault when started via cronjob
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
|
|
| |
| |
|
|
From: Warp
Subject: Re: Add info: Povray crashes with segfault when started via cronjob
Date: 26 Mar 2003 04:44:37
Message: <3e817685@news.povray.org>
|
|
|
| |
| |
|
|
Wolfgang Wieser <wwi### [at] gmxde> wrote:
> Running such a job as root is not a very good idea anyways.
Hmm. Exactly which part of his message says that he is running it as root?
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Wolfgang Wieser
Subject: Re: Add info: Povray crashes with segfault when started via cronjob
Date: 28 Mar 2003 13:13:00
Message: <3e8490ab@news.povray.org>
|
|
|
| |
| |
|
|
Warp wrote:
> Wolfgang Wieser <wwi### [at] gmxde> wrote:
>> Running such a job as root is not a very good idea anyways.
>
> Hmm. Exactly which part of his message says that he is running it as
> root?
>
Okay, right. It could also be user cron job.
(Probably I should not post after midnigt...)
However, the su - trick could work anyways because it gives
a login shell with all the nice env vars.
Wolfgang
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |