loading symbols on the fly causes unhandled exception

Tamas Szekeres szekeres.tamas at FREEMAIL.HU
Sun Oct 30 14:44:13 PST 2005


Hi list,

When placing the file name of the image symbol (gif or png) into the map
file instead of the symbol definition file an unhandled exception occurs
in mapsymbol.c, line 517


call stack:

  ntdll.dll!RtlpWaitForCriticalSection()  + 0x8a
  ntdll.dll!RtlEnterCriticalSection()  + 0x46
  bgd.dll!gdNewFileCtx at 4()  + 0xe6
  bgd.dll!gdImageGd2Ptr at 16()  + 0x3e6
  bgd.dll!gdImageCreateFromPngCtx at 4()  + 0x5b
  bgd.dll!gdImageCreateFromPng at 4()  + 0x27
> libmap.dll!msAddImageSymbol(symbolSetObj * symbolset=0x00cfa188,
char * filename=0x003ffc18)  Line 517 + 0xd C
  libmap.dll!msGetSymbolIndex(symbolSetObj * symbols=0x00cfa188,
char * name=0x003ffc18, int try_addimage_if_notfound=1)  Line 326 + 0xd C
  libmap.dll!loadMapInternal(char * filename=0x00cf9c90, char *
new_mappath=0x00000000)  Line 4347 + 0x48 C
  libmap.dll!msLoadMap(char * filename=0x00cf9c90, char *
new_mappath=0x00000000)  Line 4499 + 0xd C
  mapserv.exe!00401728()
  msvcr71.dll!_nh_malloc(unsigned int size=0, int nhFlag=0)  Line 113
 C
  mapserv.exe!0040473e()
  ntdll.dll!RtlCreateHeap()  + 0x1046
  ntdll.dll!LdrShutdownThread()  + 0x20a4
  ffff3085()

Could anyone help me to fix this issue?

Thanks,

Tamas Szekeres



More information about the MapServer-users mailing list