[ZOO-Discuss] Execute request returns SIGSEGV message from the zoo kernel for Python

Armin Burger armin.burger at gmail.com
Tue Mar 22 06:16:22 PDT 2011


Nick

I tried the SVN from today, still a segfault. I tried using GDB and
the only debug info I get is:

Core was generated by `./zoo_loader.cgi
Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&D'.
Program terminated with signal 11, Segmentation fault.
#0  0xb70c4a61 in fileno_unlocked () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb70c4a61 in fileno_unlocked () from /lib/tls/libc.so.6
#1  0xb73ef188 in FCGI_fileno () from /usr/lib/libfcgi.so.0
#2  0x0804b039 in cgiMain () at zoo_loader.c:97
#3  0x080602b3 in main (argc=2, argv=0xbfd81284) at cgic.c:287


armin


On Thu, Mar 17, 2011 at 3:42 PM, nicolas bozon <nicolas.bozon at gmail.com> wrote:
> Hi Armin,
>
> You are right, it seems we get a problem, as we could reproduce the segfault
> this morning before going to the code sprint.
> We'll try to solve the problem with gerald today and we'lll keep you
> informed.
>
> Best,
>
> Nick
>
> 2011/3/14 Armin Burger <armin.burger at gmail.com>
>>
>> Hi all
>>
>> after successfully compilation and installation of the zoo_loader.cgi
>> the "GetCapabilities" and "Describe Process" work fine. But as soon as
>> I try to run the Excecute request  using the simple HelloPy and a
>> python serviceProvider as hello.py with
>>
>>
>> http://my.website/zoo/?Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=My%20Name
>>
>> the zoo kernel returns a segmentation fault message like
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:xlink="http://www.w                  3.org/1999/xlink"
>> xsi:schemaLocation="http://www.opengis.net/ows/1.1
>> http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"
>> xml:lang="en-                  US" version="1.1.0">
>>  <ows:Exception exceptionCode="InternalError">
>>    <ows:ExceptionText>ZOO Kernel failed to process your request
>> receiving signal 11 = SIGSEGV</ows:ExceptionText>
>>  </ows:Exception>
>> </ows:ExceptionReport>
>>
>> Same happens when I run it from the command line
>> ./zoo_loader.cgi
>>
>> "Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=My%20Name"
>>
>> So it seems sort of "caught" segfault from some internal
>> functionality. But I do not know how to do some kind of debugging.
>>
>> Any ideas what I could try?
>>
>> Armin
>> _______________________________________________
>> Zoo-discuss mailing list
>> Zoo-discuss at gisws.media.osaka-cu.ac.jp
>> http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss
>
>



More information about the Zoo-discuss mailing list