[AWS] agent demo broken in AWS-1.4 (worked in 1.3)

David Marceau davidmarceau@sympatico.ca
Thu, 18 Mar 2004 19:47:53 -0500


Pascal Obry wrote:
> 
> Adrien,
> 
>  > I tried the agent demo of the AWS-1.3 source tree and it worked fine, then
>  > i  tried the agent demo of AWS-1.4 and it crashed with a segmentation
>  > fault.
> 
> Looks like an AWS-1.4 regression.
> 
>  > Is there another way to transfer files ?
> 
> You can use agent from AWS-1.3 for now. You could also try to allow more
> stack spaces for the program.

This works:
agent GET http://omac.darktech.org/Admin-Page >myAdminPage.html

This is different from the previous one I sent you:
agent GET http://omac.darktech.org/siw.swf >mysiw.swf
Segmentation fault (core dumped)

ulimit -a
core file size (blocks)     1000000
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          4096
virtual memory (kbytes)     unlimited


ulimit -s unlimited
agent GET http://omac.darktech.org/siw.swf >mysiw.swf
Segmentation fault (core dumped)

ulimit -a
core file size (blocks)     1000000
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         unlimited
cpu time (seconds)          unlimited
max user processes          4096
virtual memory (kbytes)     unlimited

siw.swf is only about 2.5MB...So it's much earlier than 20MB in this situation.

That said when I do a 
wget http://omac.darktech.org/siw.swf

AWS serves up the file so it's just isolated to the client side stuff in Agent I
think.  Besides if the stream element array was really completely non-functional
broken none of AWS would work everything relies heavily on stream element arrays
including the ssl stuff if I understand correctly ;)