FW: [UMN_MAPSERVER-USERS] postgis error (glibc detected)

Sears, Jeremy Jeremy.Sears at CCRS.NRCAN.GC.CA
Thu Feb 2 07:56:40 PST 2006


>>forwarded to the list


Hi Luis,
I have a simmilar setup. I notice that my DATA element is a little different
than yours. Ive included my layer def below. I was originally having
problems with the DATA element. Using :

>>DATA "the_geom from bt.hotspots_modis_2005"
returned nothing.

However after adding "as foo using unique oid using srid=42304" to the
expression, all worked well.

Perhaps your case is simmilar.

Regards,
Jeremy

#######################

LAYER
  NAME "Cummulative Hotspots"

  TYPE POINT
  STATUS ON
  CONNECTIONTYPE postgis
  CONNECTION     "host=localhost user=postgres password=xxxx
dbname=warehouse "
  DATA "the_geom from bt.hotspots_modis_2005 as foo using unique oid using
srid=42304"
 CLASS
    STYLE
    	SYMBOL "Circle"
    	SIZE 3
    	COLOR 255 0 0
    END
  END

END # layer

####################

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu]On
Behalf Of Luis Treviño
Sent: February 2, 2006 10:39 AM
To: MAPSERVER-USERS at lists.umn.edu
Subject: [UMN_MAPSERVER-USERS] postgis error (glibc detected)


I've just installed postgresql 8.1.2 with postgis 1.1.0 and map server 4.4
which works fine with shape files but when I try to access a postgis layer
I get this error message: *** glibc detected *** double free or corruption
(!prev): 0X0821d380 ***

I can't figure out what´s wrong!!

I've defined the layer as follows:
LAYER
  NAME gis
  STATUS ON
  CONNECTION "user=XXX password=XXX dbname=XXX host=XXX.XXX.XXX.XX"
  CONNECTIONTYPE postgis
  DATA "posicion from loca"

  TYPE POINT

  CLASS
    COLOR 255 0 0
    SYMBOL 7
    SIZE 12
  END
END

Does anybody knows what is wrong?

Thanks,
Luis



More information about the MapServer-users mailing list