Changes between Initial Version and Version 2 of Ticket #87


Ignore:
Timestamp:
Feb 12, 2014, 3:32:49 PM (6 years ago)
Author:
djay
Comment:

This issue should be fixed in r453, I simply added the message map the [lenv] section when it is created in the zoo_service_loader.c file.

If anything wrong occurs with the following modifications, please feel free to re-open this ticket or to open a new one.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #87

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
    • Property Component changed from Development platform to zoo-kernel
  • Ticket #87 – Description

    initial v2  
    11The Zoo kernel provides the option to store a status message in shared memory along with the status value (i.e. the progress in percent), see this ticket: http://zoo-project.org/trac/ticket/81. However, the current implementation of updateStatus (service_internal.c, revision # 452) does not check if getMapFromMaps(conf,"lenv","message") returns NULL. A segmentation fault occurs (line 115) if a message value has not been set in the service code before a call to updateStatus:
    22
     3{{{
    34// OK:
    45setMapInMaps( conf, "lenv", "status", "99" );
     
    910setMapInMaps( conf, "lenv", "status", "99" );   
    1011updateStatus( conf );
    11 
     12}}}
    1213(Tested on a Window 7 system.)

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png