<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Armin,<div>it seems that the issue is lightly different from the first one.</div><div><br></div><div>Maybe it comes from the cURL version you are using. To confirm that assumption, can you </div><div>try to add -DTIGER to the CFLAGS in your Makefile to then clean and recompile the </div><div>ZOO-Kernel ? </div><div><br></div><div>If it works this mean that we have to look deeply in the cURL version installed on the target</div><div>and check which one cause trouble and which one not. Or force installer to use a specific cURL</div><div>version.</div><div><br></div><div>I'm currently use ZOO-Kernels linked against 7.19.6 (on GNU/Linux) and 7.19.7 (on MacOS X) </div><div>without issue.</div><div><br></div><div>Something sounds odd to me in your last backtrace. Indeed it seems that the ZOO-Kernel</div><div>is trying to download something but in your example it should not. Can you give me the exact</div><div>command line you were using for getting such a result ?</div><div><br></div><div>Hope to hear from you,</div><div>Best,</div><div><br><div><div>Le 22 mars 2011 à 17:29, Armin Burger a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Gerald<br><br>I followed all the steps and still get the segfault message<br><br><ows:Exception exceptionCode="InternalError"><br>    <ows:ExceptionText>ZOO Kernel failed to process your request<br>receiving signal 11 = SIGSEGV</ows:ExceptionText><br>  </ows:Exception><br><br>If I compile with USE_DBG the it writes out a core dump file,<br>analyzing it gives the message<br><br>Core was generated by `./zoo_loader.cgi<br>request=Execute&service=WPS&version=1.0.0&Identifier=HelloPy&D'.<br>Program terminated with signal 11, Segmentation fault.<br>#0  0xb7f317ea in curl_formadd () from /usr/lib/libcurl.so.3<br>(gdb) bt<br>#0  0xb7f317ea in curl_formadd () from /usr/lib/libcurl.so.3<br>#1  0xb7f41018 in curl_slist_free_all () from /usr/lib/libcurl.so.3<br>#2  0xb7f4cf67 in curl_easy_setopt () from /usr/lib/libcurl.so.3<br>#3  0x08059aaf in InternetOpen ()<br>#4  0x0804d4f0 in runRequest (request_inputs=0x806e988) at<br>zoo_service_loader.c:708<br>#5  0x0804b201 in cgiMain () at zoo_loader.c:264<br>#6  0x08060414 in main (argc=2, argv=0xbf88d584) at cgic.c:303<br><br><br>armin<br><br>On Tue, Mar 22, 2011 at 4:39 PM, Gérald Fenoy <<a href="mailto:gerald.fenoy@geolabs.fr">gerald.fenoy@geolabs.fr</a>> wrote:<br><blockquote type="cite">Hi Armin,<br></blockquote><blockquote type="cite">I did the following steps and everything goes right.<br></blockquote><blockquote type="cite">1) Download the SVN source tree<br></blockquote><blockquote type="cite">2) compile cgic206 from the SVN source tree thirds  directory<br></blockquote><blockquote type="cite">3) go into zoo-kernel directory and run autoconf<br></blockquote><blockquote type="cite">4) run : ./configure --with-python<br></blockquote><blockquote type="cite">5) create a directory zoo-dist<br></blockquote><blockquote type="cite">6) copy zoo_loader.cgi and main.cfg in zoo-dist<br></blockquote><blockquote type="cite">7) copy zoo-services/hello-py/test_service.py and<br></blockquote><blockquote type="cite">zoo-services/hello-py/cgi-env/HelloPy.zcfg in zoo-dist<br></blockquote><blockquote type="cite">8) from the zoo-dist directory, I run the following :<br></blockquote><blockquote type="cite">./zoo_loader.cgi<br></blockquote><blockquote type="cite">"request=Execute&service=WPS&version=1.0.0&Identifier=HelloPy&DataInputs=a=Demo"<br></blockquote><blockquote type="cite">I get the hello world message included in the ExecuteResponse.<br></blockquote><blockquote type="cite">Please can you try to reproduce the steps above on your platform and<br></blockquote><blockquote type="cite">let me know if the error still occurs ?<br></blockquote><blockquote type="cite">Hope to hear from you,<br></blockquote><blockquote type="cite">Best<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Le 22 mars 2011 à 14:16, Armin Burger a écrit :<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Nick<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I tried the SVN from today, still a segfault. I tried using GDB and<br></blockquote><blockquote type="cite">the only debug info I get is:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Core was generated by `./zoo_loader.cgi<br></blockquote><blockquote type="cite">Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&D'.<br></blockquote><blockquote type="cite">Program terminated with signal 11, Segmentation fault.<br></blockquote><blockquote type="cite">#0  0xb70c4a61 in fileno_unlocked () from /lib/tls/libc.so.6<br></blockquote><blockquote type="cite">(gdb) bt<br></blockquote><blockquote type="cite">#0  0xb70c4a61 in fileno_unlocked () from /lib/tls/libc.so.6<br></blockquote><blockquote type="cite">#1  0xb73ef188 in FCGI_fileno () from /usr/lib/libfcgi.so.0<br></blockquote><blockquote type="cite">#2  0x0804b039 in cgiMain () at zoo_loader.c:97<br></blockquote><blockquote type="cite">#3  0x080602b3 in main (argc=2, argv=0xbfd81284) at cgic.c:287<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">armin<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Thu, Mar 17, 2011 at 3:42 PM, nicolas bozon <<a href="mailto:nicolas.bozon@gmail.com">nicolas.bozon@gmail.com</a>><br></blockquote><blockquote type="cite">wrote:<br></blockquote><blockquote type="cite"><br></blockquote><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"><br></blockquote><blockquote type="cite">this morning before going to the code sprint.<br></blockquote><blockquote type="cite"><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"><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"><br></blockquote><blockquote type="cite">Hi all<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">after successfully compilation and installation of the zoo_loader.cgi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">the "GetCapabilities" and "Describe Process" work fine. But as soon as<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I try to run the Excecute request  using the simple HelloPy and a<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">python serviceProvider as hello.py with<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><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 type="cite"><br></blockquote><blockquote type="cite">the zoo kernel returns a segmentation fault message like<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><?xml version="1.0" encoding="UTF-8"?><br></blockquote><blockquote type="cite"><br></blockquote><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 type="cite"><br></blockquote><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 type="cite"><br></blockquote><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 type="cite"><br></blockquote><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 type="cite"><br></blockquote><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 type="cite"><br></blockquote><blockquote type="cite">xml:lang="en-                  US" version="1.1.0"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> <ows:Exception exceptionCode="InternalError"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">   <ows:ExceptionText>ZOO Kernel failed to process your request<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">receiving signal 11 = SIGSEGV</ows:ExceptionText><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> </ows:Exception><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"></ows:ExceptionReport><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Same happens when I run it from the command line<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">./zoo_loader.cgi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">"Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=My%20Name"<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">So it seems sort of "caught" segfault from some internal<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">functionality. But I do not know how to do some kind of debugging.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Any ideas what I could try?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Armin<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Zoo-discuss mailing list<br></blockquote><blockquote type="cite"><br></blockquote><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 type="cite"><br></blockquote><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 type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Zoo-discuss mailing list<br></blockquote><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 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 type="cite"><br></blockquote><blockquote type="cite">Gérald Fenoy<br></blockquote><blockquote type="cite"><a href="mailto:gerald.fenoy@geolabs.fr">gerald.fenoy@geolabs.fr</a><br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Gérald Fenoy</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><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; "><span class="Apple-style-span" style="font-size: medium;"><br></span></div></span></div></div></span></span></div></div></body></html>