Opened 16 years ago

Closed 14 years ago

#2459 closed defect (wontfix)

MapScript C# segfault with Mono/Windows/MSVC71

Reported by: tamas Owned by: tamas
Priority: normal Milestone: FUTURE
Component: MapScript-C# Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

Using the Mono/Windows/MSVC71 combination the 'make test' may result in segfaults in various places, like:

mono --debug rfc24.exe ../../tests/test.map

Running RFC24 Construct mapObj 57196752 Construct layerObj 58794136 Construct mapObj 57196752

  • testLayerObj PASSED
  • testLayerObj refcount PASSED

Construct mapObj 58798912 Construct layerObj 58931936 Construct layerObj 58931936

  • testLayerObjDestroy precondition PASSED

Dispose layerObj 58931936 Dispose mapObj 57196752 Dispose layerObj 58794136

  • testLayerObjDestroy PASSED

Construct mapObj 57196720 Construct layerObj 58743456 Construct classObj 58940536 Dispose layerObj 58931936 Dispose mapObj 58798912 Construct layerObj 58743456

  • testClassObj PASSED
  • testClassObj refcount PASSED

Construct mapObj 58798912 Construct layerObj 58848056 Construct classObj 58861824 Construct classObj 58861824

  • testClassObjDestroy precondition PASSED

Dispose classObj 58861824 Dispose mapObj 57196720 Dispose classObj 58940536 Dispose layerObj 58743456

  • testClassObjDestroy PASSED

Construct mapObj 57196720 Construct layerObj 58956920 Dispose mapObj 58798912 Dispose layerObj 58848056 Dispose classObj 58861824 Construct mapObj 57196720

  • testInsertLayerObj PASSED
  • testInsertLayerObj refcount PASSED

Construct mapObj 58798912 Construct layerObj 58891208 Construct layerObj 58891208

  • testInsertLayerObjDestroy precondition PASSED

Dispose layerObj 58891208 Dispose mapObj 57196720 Dispose layerObj 58956920

  • testInsertLayerObjDestroy PASSED

Construct mapObj 57196720 Construct layerObj 58756360 Construct layerObj 58756360 Dispose layerObj 58891208 Dispose layerObj 58756360 Dispose mapObj 58798912

  • testRemoveLayerObj PASSED

Construct mapObj 58798912 Construct layerObj 58811352 Construct classObj 58859744 Construct layerObj 58811352

  • testInsertClassObj precondition PASSED

Dispose mapObj 57196720 Dispose layerObj 58756360 Construct layerObj 58811352

  • testInsertClassObj PASSED
  • testInsertClassObj refcount PASSED

Construct mapObj 57196720 Construct layerObj 57207528 Construct classObj 58997808 Construct classObj 58997808

  • testInsertClassObjDestroy precondition PASSED

Dispose classObj 58997808 Dispose layerObj 58811352 Dispose mapObj 58798912 Dispose classObj 58859744

  • testInsertClassObjDestroy PASSED

Construct mapObj 58798912 Construct layerObj 58931936 Construct classObj 59006072 Construct classObj 59006072 Dispose classObj 59006072 Dispose layerObj 57207528 Dispose classObj 58997808 Dispose mapObj 57196720

  • testRemoveClassObj PASSED

Construct mapObj 57196720 Construct layerObj 57209688 Dispose mapObj 58798912 Dispose classObj 59006072 Dispose layerObj 58931936 Construct mapObj 57196720

  • testGetLayerObj PASSED
  • testGetLayerObj refcount PASSED

Construct mapObj 58798912 Construct layerObj 58806280 Construct layerObj 58806280

  • testGetLayerObjDestroy precondition PASSED

Dispose layerObj 57209688 Dispose mapObj 57196720 Dispose layerObj 58806280

  • testGetLayerObjDestroy PASSED

Construct mapObj 57196720 Stacktrace:

at (wrapper managed-to-native) System.Object.icall_wrapper_mono_string_to_lp

str (object) <0x00004>

at (wrapper managed-to-native) System.Object.icall_wrapper_mono_string_to_lp

str (object) <0xffffffff>

at (wrapper managed-to-native) OSGeo.MapServer.mapscriptPINVOKE.mapObj_getLaye

rByName (System.Runtime.InteropServices.HandleRef,string) <0xffffffff>

at OSGeo.MapServer.mapObj.getLayerByName (string) <0x00058> at RFC24.testGetLayerObjByName () <0x0003c> at RFC24.run () <0x000e8> at RFC24.Main (string[]) <0x00039> at (wrapper runtime-invoke) RFC24.runtime_invoke_void_string[] (object,intptr,

intptr,intptr) <0xffffffff>

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

mono --version

Mono JIT compiler version 1.2.6 (tarball) Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com

TLS: normal GC: Included Boehm (with typed GC) SIGSEGV: normal Notification: Thread + polling Architecture: x86 Disabled: none

There's no problem with Mono/Windows/MSVC80 though.

Change History (3)

comment:1 by tamas, 16 years ago

Milestone: 5.4 release

comment:2 by tamas, 15 years ago

Milestone: 5.4 releaseFUTURE

comment:3 by tamas, 14 years ago

Resolution: wontfix
Status: newclosed

Marking as wontfix due to it's limited target audience of this platform combination

Note: See TracTickets for help on using tickets.