Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Segfault from Cron

 [1/4] from: krobillard:cox at: 1-Dec-2003 21:41


I'm trying to run a REBOL script from Cron (on RedHat 9) but it always causes a segmentation fault. I've tried a number of experiments (running simple scripts as various users, etc.) but the result is always the same. Has anyone else experienced this? -Karl

 [2/4] from: tomc:darkwing:uoregon at: 1-Dec-2003 22:55


On Mon, 1 Dec 2003, Karl Robillard wrote:
> I'm trying to run a REBOL script from Cron (on RedHat 9) but it always causes > a segmentation fault. I've tried a number of experiments (running simple > scripts as various users, etc.) but the result is always the same. Has > anyone else experienced this? > > -Karl
I have rebol scripts being run by cron (on solaris) daily for years now. maybe some more on the script would help

 [3/4] from: carl::rebol::com at: 2-Dec-2003 18:29


Hi Karl, Check to be sure you are running the 2.5.6 Core (or SDK or Command built on 2.5.6). There was a memory bug in the exit code that once caused this to happen from time to time. (The return point in the launch code got garbage collected.) We run a lot of REBOL cron jobs here... and it has proven itself well. -Carl ------------------------- I'm trying to run a REBOL script from Cron (on RedHat 9) but it always causes a segmentation fault. I've tried a number of experiments (running simple scripts as various users, etc.) but the result is always the same. Has anyone else experienced this? -Karl

 [4/4] from: krobillard:cox at: 2-Dec-2003 21:13


I'm now able to run a REBOL cron job on my home machine. The trick is to use the '-w' flag. I thought I was running the latest version of Core on the machines at work but I'll have to check that tomorrow. I guess the script is aborting early without '-w' when launched by Cron. Sometimes I recieved a few lines of the REBOL copyright message in my mail, other times I would only get the console clear characters. The script was writing to a file (write %/tmp/test "hello") but the file was never created. -Karl On Tuesday 02 December 2003 06:29 pm, Carl wrote: