[Tilecache] Tilecache 2.0.1 Segfault

Steve Lime Steve.Lime at dnr.state.mn.us
Tue Mar 18 15:19:38 EDT 2008


Does the MapServer Layer reload the mapfile (e.g. start from scratch)  for each tile? It looks like it...

Steve

>>> On 3/17/2008 at 3:58 PM, in message <47DE9534.5157.008F.0 at dnr.state.mn.us>,
"Steve Lime" <Steve.Lime at dnr.state.mn.us> wrote:
> Hi all: I'm using tilecache with a MapServer layer and running into problems 
> when seeding the cache. In this instance
> all the layers in the mapfile are STATUS DEFAULT, on all the time. Running 
> the seeding program seems to work ok
> with 2 exceptions:
> 
>   1) for every tile I get a WMS exception
> 
>   <CTYPE ServiceExceptionReport SYSTEM 
> "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
>     <ServiceExceptionReport version="1.1.1">
>       <ServiceException code="LayerNotDefined">
>         msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in 
> the LAYERS parameter.
>       </ServiceException>
>   </ServiceExceptionReport>
> 
> This is expected I guess since there is no layer specified in the 
> tilcache.cfg file (since all are on by default). The
> tiles ARE created despite the error message. Would be nice to suppress that 
> if it's benign.
> 
>   2) after every 500 to 1,000 tiles or I get a segmentation fault. No other 
> error information
> 
> If I re-run the seed command it picks up again from where it dies, although I 
> sometimes have to run it twice to clear
> our any file locks. It'll run another 500 to 1,000 or so and it dies again.
> 
> Could be a MapServer issue or TileCache, not sure. The debugger gives me:
> 
>   Program received signal SIGSEGV, Segmentation fault.
>   [Switching to Thread 1075357376 (LWP 31768)]
>   0x400d8f4c in mempcpy () from /lib/tls/libc.so.6
> 
> Has anyone else into anything like this?
> 
> Steve
> 
> BTW The setup is:
> 
>   - MapServer 5, development version
>   - Python 2.5
>   - Tilecache 2.0.1 (CGI interface at the moment)
>   - SuSE 9.2
> 
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org 
> http://openlayers.org/mailman/listinfo/tilecache




More information about the Tilecache mailing list