<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Armin,<div>I did the following steps and everything goes right.</div><div><br></div><div>1) Download the SVN source tree</div><div>2) compile cgic206 from the SVN source tree thirds directory</div><div>3) go into zoo-kernel directory and run autoconf</div><div>4) run : ./configure --with-python </div><div>5) create a directory zoo-dist</div><div>6) copy zoo_loader.cgi and main.cfg in zoo-dist</div><div>7) copy zoo-services/hello-py/test_service.py and </div><div>zoo-services/hello-py/cgi-env/HelloPy.zcfg in zoo-dist</div><div>8) from the zoo-dist directory, I run the following :</div><div>./zoo_loader.cgi "request=Execute&service=WPS&version=1.0.0&Identifier=HelloPy&DataInputs=a=Demo"</div><div><br></div><div>I get the hello world message included in the ExecuteResponse.</div><div><br></div><div>Please can you try to reproduce the steps above on your platform and</div><div>let me know if the error still occurs ?</div><div><br></div><div>Hope to hear from you,</div><div>Best</div><div><br></div><div><br><div><div>Le 22 mars 2011 à 14:16, Armin Burger a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Nick<br><br>I tried the SVN from today, still a segfault. I tried using GDB and<br>the only debug info I get is:<br><br>Core was generated by `./zoo_loader.cgi<br>Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&D'.<br>Program terminated with signal 11, Segmentation fault.<br>#0 0xb70c4a61 in fileno_unlocked () from /lib/tls/libc.so.6<br>(gdb) bt<br>#0 0xb70c4a61 in fileno_unlocked () from /lib/tls/libc.so.6<br>#1 0xb73ef188 in FCGI_fileno () from /usr/lib/libfcgi.so.0<br>#2 0x0804b039 in cgiMain () at zoo_loader.c:97<br>#3 0x080602b3 in main (argc=2, argv=0xbfd81284) at cgic.c:287<br><br><br>armin<br><br><br>On Thu, Mar 17, 2011 at 3:42 PM, nicolas bozon <<a href="mailto:nicolas.bozon@gmail.com">nicolas.bozon@gmail.com</a>> wrote:<br><blockquote type="cite">Hi Armin,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You are right, it seems we get a problem, as we could reproduce the segfault<br></blockquote><blockquote type="cite">this morning before going to the code sprint.<br></blockquote><blockquote type="cite">We'll try to solve the problem with gerald today and we'lll keep you<br></blockquote><blockquote type="cite">informed.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Best,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Nick<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">2011/3/14 Armin Burger <<a href="mailto:armin.burger@gmail.com">armin.burger@gmail.com</a>><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hi all<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">after successfully compilation and installation of the zoo_loader.cgi<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the "GetCapabilities" and "Describe Process" work fine. But as soon as<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I try to run the Excecute request using the simple HelloPy and a<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">python serviceProvider as hello.py with<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://my.website/zoo/?Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=My%20Name">http://my.website/zoo/?Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=My%20Name</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the zoo kernel returns a segmentation fault message like<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><?xml version="1.0" encoding="UTF-8"?><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><ows:ExceptionReport xmlns:ows="<a href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">xmlns:xlink="<a href="http://www.w">http://www.w</a> <a href="http://3.org/1999/xlink">3.org/1999/xlink</a>"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">xsi:schemaLocation="<a href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd</a>"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">xml:lang="en- US" version="1.1.0"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> <ows:Exception exceptionCode="InternalError"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> <ows:ExceptionText>ZOO Kernel failed to process your request<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">receiving signal 11 = SIGSEGV</ows:ExceptionText><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> </ows:Exception><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"></ows:ExceptionReport><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Same happens when I run it from the command line<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">./zoo_loader.cgi<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=My%20Name"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">So it seems sort of "caught" segfault from some internal<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">functionality. But I do not know how to do some kind of debugging.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Any ideas what I could try?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Armin<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Zoo-discuss mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss">http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss</a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote>_______________________________________________<br>Zoo-discuss mailing list<br><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br>http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss<br></div></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; ">Gérald Fenoy</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12px; "><a href="mailto:gerald.fenoy@geolabs.fr"><span class="Apple-style-span" style="color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; ">gerald.fenoy@geolabs.fr</span></a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; font-size: 12px; "><span class="Apple-style-span" style="font-size: medium;"><br></span></div></div></div></div></div></body></html>