Hi Paul,<br><br>Thanks for the advice. (Chris Schmidt suggested I do the same thing in IRC yesterday, and I forgot to try it.)<br><br>Below are the results of gdb. It's fun to run, but uhm... not something I'm readily able to decipher (yet).<br>
<br>$ gdb /usr/lib/cgi-bin/mapserv<br>GNU gdb (GDB) 7.0-ubuntu<br>Copyright (C) 2009 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>
This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "i486-linux-gnu".<br>
For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...<br>Reading symbols from /usr/lib/cgi-bin/mapserv...done.<br>(gdb) run "QUERY_STRING=map=/var/www/mapfiles/seattle.map&layers=roads&styles=&service=WMS&width=256&format=image/png&request=GetMap&height=256&srs=EPSG:4326&version=1.1.1&bbox=-122.338256836,47.6586914062,-122.332763672,47.6641845703"<br>
Starting program: /usr/lib/cgi-bin/mapserv "QUERY_STRING=map=/var/www/mapfiles/seattle.map&layers=roads&styles=&service=WMS&width=256&format=image/png&request=GetMap&height=256&srs=EPSG:4326&version=1.1.1&bbox=-122.338256836,47.6586914062,-122.332763672,47.6641845703"<br>
[Thread debugging using libthread_db enabled]<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0x0740bbf2 in ?? () from /lib/tls/i686/cmov/libc.so.6<br>(gdb) bt<br>#0 0x0740bbf2 in ?? () from /lib/tls/i686/cmov/libc.so.6<br>
#1 0x0740d868 in malloc () from /lib/tls/i686/cmov/libc.so.6<br>#2 0x006abbb7 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6<br>#3 0x006abced in operator new[](unsigned int) () from /usr/lib/libstdc++.so.6<br>
#4 0x080dbdd5 in void mapserver::render_scanlines<mapserver::rasterizer_scanline_aa<mapserver::rasterizer_sl_clip<mapserver::ras_conv_int> >, mapserver::scanline_u8, mapserver::renderer_scanline_aa_solid<mapserver::renderer_base<mapserver::pixfmt_alpha_blend_rgba<mapserver::blender_rgba_pre<mapserver::rgba8, mapserver::order_bgra>, mapserv_row_ptr_cache<int>, int> > > >(mapserver::rasterizer_scanline_aa<mapserver::rasterizer_sl_clip<mapserver::ras_conv_int> >&, mapserver::scanline_u8&, mapserver::renderer_scanline_aa_solid<mapserver::renderer_base<mapserver::pixfmt_alpha_blend_rgba<mapserver::blender_rgba_pre<mapserver::rgba8, mapserver::order_bgra>, mapserv_row_ptr_cache<int>, int> > >&) ()<br>
#5 0x080ba7ac in T.1744 ()<br>#6 0x080bdbda in msDrawShadeSymbolAGG ()<br>#7 0x0813b3d2 in msDrawShadeSymbol ()<br>#8 0x0809ff17 in msDrawShape ()<br>#9 0x080a2cfe in msDrawVectorLayer ()<br>#10 0x080a343d in msDrawLayer ()<br>
#11 0x080a4fd7 in msDrawMap ()<br>#12 0x08157d82 in msWMSGetMap ()<br>#13 0x0815cf36 in msWMSDispatch ()<br>#14 0x080e9924 in msOWSDispatch ()<br>#15 0x08056583 in main ()<br>(gdb) <br><br>Roger<br>--<br><br><div class="gmail_quote">
On Fri, Jan 29, 2010 at 1:38 PM, Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@opengeo.org">pramsey@opengeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Roger,<br>
<br>
It looks like you're on Linux, so pull a stacktrace, it's fun!<br>
<br>
gdb /path/to/mapserv<br>
<br>
... lots of info ...<br>
<br>
(gdb) run "QUERY_STRING=map=/var/www/mapfiles/seattle.map&layers=roads&styles=&service=WMS&width=256&format=image/png&request=GetMap&height=256&srs=EPSG:4326&version=1.1.1&bbox=-122.338256836,47.6586914062,-122.332763672,47.6641845703"<br>
<br>
then when you hit to segfault, do<br>
<br>
(gdb) bt<br>
<br>
bt stands for backtrace<br>
<br>
now you'll have a lot more useful information about what went wrong,<br>
<br>
Yours,<br>
<br>
Paul<br>
<div><div></div><div class="h5"><br>
On Fri, Jan 29, 2010 at 1:27 PM, Roger André <<a href="mailto:randre@gmail.com">randre@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I'm experiencing some strange behavior that I would appreciate some help<br>
> testing. My MapServer 5.6 instance is segfaulting in response to certain<br>
> WMS requests it is receiving from TileCache. Below is one of the specific<br>
> requests:<br>
><br>
> <a href="http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/seattle.map&layers=roads&styles=&service=WMS&width=256&format=image/png&request=GetMap&height=256&srs=EPSG:4326&version=1.1.1&bbox=-122.338256836,47.6586914062,-122.332763672,47.6641845703" target="_blank">http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/seattle.map&layers=roads&styles=&service=WMS&width=256&format=image/png&request=GetMap&height=256&srs=EPSG:4326&version=1.1.1&bbox=-122.338256836,47.6586914062,-122.332763672,47.6641845703</a><br>
><br>
> I'd appreciate it if someone who has a layer that covers Seattle would try<br>
> the bbox extents listed above and report back if it causes an error for<br>
> them.<br>
><br>
> FYI - When I set this bbox as the EXTENTS in my MAP, and the SIZE to 256<br>
> 256, Mapserver delivers the image without any problem.<br>
><br>
> Thanks,<br>
><br>
> Roger<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>
><br>
</blockquote></div><br>