[Mapserver-users] mapserver crashes at a png file
Vincent Schut
schut at sarvision.com
Tue Jun 24 07:50:41 PDT 2003
Carsten,
Assuming you run linux, can you run shp2img on your mapfile as a test?
Or use mapserv from the commandline: ./mapserv
"QUERY_STRING=map=/path/to/your/mapfile.map&mode=map"
which should ouput the image to stdout so you should see a bunch of ascii
codes in your terminal. Or something like a segfault...
If there is a segfault, run the same command through the debugger:
gdb mapserv
run "QUERY_STRING=map=/path/to/your/mapfile.map&mode=map"
[gdb reports segfaulting ]
backtrace
this will give you some clues about the function/library that generates the
error. Assuming that your version of mapserver has been compiled with
debugging symbols, of course.
If you run windows, I cannot help you I'm afraid... But others can, so keep
posting to this list!
Regards,
Vincent Schut.
On Tuesday 24 June 2003 16:25, Vincent Schut wrote:
> Carsten,
>
> Have you checked the server log for clues?
>
> On Tuesday 24 June 2003 17:38, Carsten Busch wrote:
> > Hello,
> > I have installed mapserver with gdlib, postgis and png support:
> >
> > ldd ../../../cgi-bin/mapserv
> > libgd.so.2 => /usr/lib/libgd.so.2 (0x40025000)
> > libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4005c000)
> > libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4007d000)
> > libpng.so.3 => /usr/lib/libpng.so.3 (0x400cc000)
> > libz.so.1 => /lib/libz.so.1 (0x400f1000)
> > libpdf.so.1 => /usr/local/lib/libpdf.so.1 (0x400ff000)
> > libgdal.1.1.so => /usr/local/lib/libgdal.1.1.so (0x40193000)
> > libm.so.6 => /lib/i686/libm.so.6 (0x40408000)
> > libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4042a000)
> > libc.so.6 => /lib/i686/libc.so.6 (0x404dd000)
> > libpq.so.3 => /usr/lib/libpq.so.3 (0x40610000)
> > libdl.so.2 => /lib/libdl.so.2 (0x40625000)
> > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40628000)
> > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> > libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40631000)
> > libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4065f000)
> > libcrypt.so.1 => /lib/libcrypt.so.1 (0x4074e000)
> > libresolv.so.2 => /lib/libresolv.so.2 (0x4077b000)
> > libnsl.so.1 => /lib/libnsl.so.1 (0x4078c000)
> >
> >
> > The creation of map from the database works very well, but when I try to
> > read a png file (with tfw file) the system crashes wit internal server
> > error. Does anybody have an idea of reasons for these results??
> >
> > Does any incompatible versions of libraries between png and others exist?
> >
> > Thanks a lot,
> > Carsten
> >
> >
> >
> >
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
______________________________________
Vincent Schut
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com
More information about the MapServer-users
mailing list