[Mono-bugs] [Bug 615952] New: Assertion: should not be reached at marshal.c:584

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 21 10:42:26 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=615952

http://bugzilla.novell.com/show_bug.cgi?id=615952#c0


           Summary: Assertion: should not be reached at marshal.c:584
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: 64bit
        OS/Version: RHEL 5
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: srfcanada at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152)

Im getting the following error executing the given interop method that fails
with the current source but works ok in mono 2.4:
Interop method:
      // See the C++ code for all method documentation.

      /// <summary>
      /// The shared library name.  We use the Windows ".dll" name and it will
find the appropriate ".so" on Linux/Mono.
      /// </summary>
      private const string SharedLibName =
"Drms.Server.compute.simulation.utils.griddingscaling.cpputil.dll";

// Create an PropertyScalingManager class in C++
      [DllImport(SharedLibName, EntryPoint = "CreatePropertyScalingManager")]
      internal static extern unsafe IntPtr CreatePropertyScalingManager(int[]
numVoxelsBlocks, int[] posVoxelsBlocks,
                                                                        int[]
voxelIJKs, float[] voxelLowScales,
                                                                        float[]
voxelHighScales, int[] inactiveVoxels,
                                                                       
double*[] doubleUpsProps, int*[] intUpsProps, byte*[] byteUpsProps,
                                                                       
double*[] doubleIptArrays, int*[] intIptArrays,
                                                                       
double*[] doubleOptArrays, int*[] intOptArrays, byte*[] byteOptArrays,
                                                                        int[]
doublePropMethods, int[] intPropMethods, int[] bytePropMethods,
                                                                        int
numBlocks, int numDoubleArrays, int numIntArrays, int numByteArrays,
                                                                        int
numDoubleIptArrays, int numIntIptArrays);

Error Generated:

type 0xf not handled
* Assertion: should not be reached at marshal.c:584
Stacktrace:
  at (wrapper managed-to-native) object.__icall_wrapper_mono_array_to_lparray
(object) <0x0005b>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_array_to_lparray
(object) <0x0005b>
  at (wrapper managed-to-native)
Drms.Server.Compute.Simulation.Utils.GriddingScaling.CppUtil.Interop.UpscalingCatalog.CreatePropertyScalingManager
(int[],int[],int[],single[],single[],int[],double*[],int*[],byte*[],double*[],int*[],double*[],int*[],byte*[],int[],int[],int[],int,int,int,int,int,int)
<IL 0x0003c, 0x00145>
  at
Drms.Server.Compute.Simulation.Utils.GriddingScaling.CppUtil.Interop.UpscalingCsWrapper..ctor
(int[],int[],int[],single[],single[],int[],double[][],int[][],byte[][],double[][],int[][],double[][],int[][],byte[][],int[],int[],int[])
<IL 0x00537, 0x01059>
  at Drms.Server.DomainModel.Subsurface.DiscretizedModel.ScaleProperties
(Drms.Server.DomainModel.Subsurface.DiscretizedModel,Drms.Server.DomainModel.Subsurface.GridblockScalingMap)
<IL 0x0063e, 0x01a8e>


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list