Thank you!!<br><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 8:45 AM, thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
fixed.<br>
<div><div class="h5"><br>
On Tue, Dec 6, 2011 at 15:41, forums <<a href="mailto:forums@craniumjuice.com">forums@craniumjuice.com</a>> wrote:<br>
> Hi guys:<br>
><br>
> I'm having trouble with mapcache_seed<br>
><br>
> I get a segmentation fault, it appears to happen at line 626<br>
> <a href="http://trac.osgeo.org/mapserver/browser/trunk/mapserver/mapcache/src/mapcache_seed.c#L626" target="_blank">http://trac.osgeo.org/mapserver/browser/trunk/mapserver/mapcache/src/mapcache_seed.c#L626</a><br>
><br>
> Warning messages from the compile process:<br>
><br>
> mapcache_seed.c: In function 'cmd_recurse':<br>
> mapcache_seed.c:337: warning: unused variable 'j'<br>
> mapcache_seed.c:337: warning: unused variable 'i'<br>
> mapcache_seed.c: In function 'seed_thread':<br>
> mapcache_seed.c:511: warning: dereferencing type-punned pointer will break<br>
> strict-aliasing rules<br>
> mapcache_seed.c: In function 'main':<br>
> mapcache_seed.c:626: warning: assignment makes integer from pointer without<br>
> a cast<br>
> mapcache_seed.c:626: warning: value computed is not used<br>
> mapcache_seed.c:626: warning: assignment makes integer from pointer without<br>
> a cast<br>
> mapcache_seed.c:626: warning: value computed is not used<br>
> mapcache_seed.c:626: warning: value computed is not used<br>
> mapcache_seed.c:626: warning: 'dimvalue' is used uninitialized in this<br>
> function<br>
> mapcache_seed.c:626: warning: 'optargcpy' is used uninitialized in this<br>
> function<br>
><br>
><br>
> If I put some fprintf statements around line 626, I only get the first one:<br>
> fprintf(stderr,"FOO\n");<br>
> dimkey = NULL,*dimvalue = NULL,*key,*last,*optargcpy = NULL;<br>
> fprintf(stderr,"BAR\n");<br>
><br>
> prints out:<br>
> $ ./src/mapcache_seed<br>
> FOO<br>
> Segmentation fault<br>
><br>
> Am I missing something?<br>
><br>
> Thanks,<br>
><br>
> Jerl<br>
><br>
> --<br>
> A computer without Windows is like chocolate cake without mustard.<br>
><br>
</div></div>> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>A computer without Windows is like chocolate cake without mustard.<br>