[Mono-list] 2.4 issues: assertion failure in mini-codegen.c, NRE in DataGridView

Andrus Moor kobruleht2 at hot.ee
Sun Jun 7 12:20:02 EDT 2009


I installed Mono 2.4 distribution package on Vista.

1. Tested fyireporting.com  RDLViewer.

Trying to preview any report causes exception

ERROR:mini-codegen.c:1032:mono_local_regalloc: assertion failed: (reginfo
[ins->sreg1].born_in > 0)


2. Moving to new row in end of DataGridiew and back to previous row causes
exception

System.ArgumentNullException: Argument cannot be null.
Parameter name: value
  at System.ComponentModel.BaseNumberConverter.ConvertTo
(ITypeDescriptorContext context, System.Globalization.CultureInfo culture,
System.Object value, System.Type destinationType) [0x00000]
  at System.ComponentModel.TypeConverter.ConvertTo (System.Object value,
System.Type destinationType) [0x00000]
  at System.Windows.Forms.DataGridViewCell.GetFormattedValue (System.Object
value, Int32 rowIndex, System.Windows.Forms.DataGridViewCellStyle&
cellStyle, System.ComponentModel.TypeConverter valueTypeConverter,
System.ComponentModel.TypeConverter formattedValueTypeConverter,
DataGridViewDataErrorContexts context) [0x00000]
  at System.Windows.Forms.DataGridViewCell.get_FormattedValue () [0x00000]
  at System.Windows.Forms.DataGridViewRow.PaintCells
(System.Drawing.Graphics graphics, Rectangle clipBounds, Rectangle
rowBounds, Int32 rowIndex, DataGridViewElementStates rowState, Boolean
isFirstDisplayedRow, Boolean isLastVisibleRow, DataGridViewPaintParts
paintParts) [0x00000]
  at System.Windows.Forms.DataGridViewRow.Paint (System.Drawing.Graphics
graphics, Rectangle clipBounds, Rectangle rowBounds, Int32 rowIndex,
DataGridViewElementStates rowState, Boolean isFirstDisplayedRow, Boolean
isLastVisibleRow) [0x00000]
  at System.Windows.Forms.DataGridView.OnPaint
(System.Windows.Forms.PaintEventArgs e) [0x00000]
  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m)
[0x00000]
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000]
  at System.Windows.Forms.DataGridView.WndProc
(System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000]
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000]

In previous release there was no such errors.

How to fix ?

Andrus.



More information about the Mono-list mailing list