Re: [Chicken-users] chicken script with many CLI arguments
From: Sven Hartrumpf Subject: [Chicken-users] chicken script with many CLI arguments Date: Wed, 08 Dec 2010 13:15:32 +0100 (CET) > Wed, 08 Dec 2010 05:37:28 -0500 (EST), felix wrote: >> Can you try the "experimental" branch? I checked in a change >> that hopefully improves the situation. > > Yes, works perfectly. > > Thanks, Felix! You're welcome. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] chicken script with many CLI arguments
Wed, 08 Dec 2010 05:37:28 -0500 (EST), felix wrote: > Can you try the "experimental" branch? I checked in a change > that hopefully improves the situation. Yes, works perfectly. Thanks, Felix! ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] chicken script with many CLI arguments
From: Sven Hartrumpf Subject: [Chicken-users] chicken script with many CLI arguments Date: Tue, 07 Dec 2010 14:43:10 +0100 (CET) > Hi all. > > I am trying to call a chicken script with many command line > arguments (over 1 file names). > Can you try the "experimental" branch? I checked in a change that hopefully improves the situation. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] chicken script with many CLI arguments
Tue, 07 Dec 2010 14:56:36 +0100 (CET), hartrumpf wrote: > #! /usr/local/bin/csi -:d -script > (write (command-line-arguments)) > > - no change and no additional output. Sorry, the output did change to: [panic] illegal runtime option - execution terminated ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] chicken script with many CLI arguments
From: Sven Hartrumpf Subject: [Chicken-users] chicken script with many CLI arguments Date: Tue, 07 Dec 2010 14:43:10 +0100 (CET) > Hi all. > > I am trying to call a chicken script with many command line > arguments (over 1 file names). I think the runtime system tries to allocate he storage for the list of strings in one chunk on the stack and fails. I'll have to change the implementation. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] chicken script with many CLI arguments
Tue, 07 Dec 2010 08:49:36 -0500 (EST), felix wrote: > If you add "-:d" before that, what is shown? If you mean the following #! /usr/local/bin/csi -:d -script (write (command-line-arguments)) - no change and no additional output. ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] chicken script with many CLI arguments
From: Sven Hartrumpf Subject: [Chicken-users] chicken script with many CLI arguments Date: Tue, 07 Dec 2010 14:43:10 +0100 (CET) > Hi all. > > I am trying to call a chicken script with many command line > arguments (over 1 file names). If you add "-:d" before that, what is shown? cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] chicken script with many CLI arguments
Hi all. I am trying to call a chicken script with many command line arguments (over 1 file names). This is a minimal example script: bugch1.scm: - #! /usr/local/bin/csi -script (write (command-line-arguments)) - > bugch1.scm * [panic] out of memory - heap full while resizing - execution terminated I tried to change the heap size: - #! /usr/local/bin/csi -:h1m -script (write (command-line-arguments)) - > bugch1.scm * Segmentation fault How can I get this working? Version details: Version 4.6.3 linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] compiled 2010-11-23 (Linux) Same problem on: Version 4.6.3 linux-unix-gnu-x86 [ manyargs dload ] compiled 2010-09-21 (Linux) Ciao Sven ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users