Opened 15 years ago

Last modified 15 years ago

#3001 new defect

mapsde.c missing column type NCLOB

Reported by: hpbrantley Owned by: hobu
Priority: normal Milestone:
Component: Input - Native SDE Support Version: 5.4
Severity: normal Keywords: mapsde.c nclob
Cc: sdlime

Description

mapsde.c

It appears ESRI has added another column type, Character Large Object (NCLOB). Referencing a feature class with NCLOB defined yields Unknown Column Type.

Change History (6)

comment:1 by sdlime, 15 years ago

Component: MapServer C LibraryInput - Native SDE Support
Owner: changed from sdlime to hobu

comment:2 by sdlime, 15 years ago

Cc: sdlime added

comment:3 by hobu, 15 years ago

Hue,

Please try trunk, I have made an attempt with r9002

Thanks,

Howard

comment:4 by hobu, 15 years ago

oops, I forgot to actually fix *nclob*, not clob. Tried again in r9003. At any rate, I'm not sure it is going to work because nclob is wide characters and we're not doing anything for that.

comment:5 by hpbrantley, 15 years ago

$ ~/mapserver/shp2img -m "/var/www/map/wms.map" -l "ART" foo.png Segmentation fault

$ ./mapserv -v MapServer version 5.5.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=SDE INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Did I compile correctly?

comment:6 by hpbrantley, 15 years ago

Did I do this correctly?

$ gdb --args shp2img -m "/var/www/map/wms.map" -l "ART" foo.png GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run Starting program: /home/brantlhp/mapserver/shp2img -m /var/www/map/wms.map -l ART foo.png [Thread debugging using libthread_db enabled] [New Thread -1208710528 (LWP 17536)]

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208710528 (LWP 17536)] 0x06aaf2dc in memcpy () from /lib/tls/libc.so.6 (gdb) bt #0 0x06aaf2dc in memcpy () from /lib/tls/libc.so.6 #1 0x00723698 in SB_get_blob () from /u01/arcsde93/sdeexe93/lib/libsde.so #2 0x005fc9f8 in S_extract_blob () from /u01/arcsde93/sdeexe93/lib/libsde.so #3 0x005f9c5c in SE_stream_get_nclob_API () from /u01/arcsde93/sdeexe93/lib/libsde.so #4 0x00601e86 in SE_stream_get_nclob () from /u01/arcsde93/sdeexe93/lib/libsde.so #5 0x0810475f in sdeGetRecord (layer=0xa12eb08, shape=0xbff3b510) at mapsde.c:814 #6 0x08105f92 in msSDELayerNextShape (layer=0xa12eb08, shape=0xbff3b510) at mapsde.c:1697 #7 0x08071fa2 in msLayerNextShape (layer=0xa12eb08, shape=0xbff3b510) at maplayer.c:145 #8 0x080780d9 in msDrawVectorLayer (map=0xa10c198, layer=0xa12eb08, image=0xa16ec60) at mapdraw.c:985 #9 0x080787d5 in msDrawLayer (map=0xa10c198, layer=0xa12eb08, image=0xa16ec60) at mapdraw.c:745 #10 0x0807979c in msDrawMap (map=0xa10c198, querymap=0) at mapdraw.c:443 #11 0x08051630 in main (argc=6, argv=0xbff3b744) at shp2img.c:295 (gdb)

Note: See TracTickets for help on using tickets.