system.AccessViolationException: 保護されているメモリに読み取りまたは書き込み操作を行おうとしました。他のメモリが壊れていることが考えられます。 場所 System.Drawing.SafeNativeMethods.Gdip.GdipDrawLineI(HandleRef graphics, HandleRef pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2) 場所 System.Drawing.Graphics.DrawLine(Pen pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2) 場所 System.Drawing.Graphics.DrawLine(Pen pen, Point pt1, Point pt2) 場所 Infragistics.Win.Misc.GroupBoxContentAreaBorderUIElement.DrawSolidLine(UIElementDrawParams& drawParams, Point ptStart, Point ptEnd, Border3DSide borderSide, Pen pen) 場所 Infragistics.Win.Misc.GroupBoxContentAreaBorderUIElement.DrawRoundedBorders(UIElementDrawParams& drawParams) 場所 Infragistics.Win.Misc.GroupBoxContentAreaBorderUIElement.DrawBorders(UIElementDrawParams& drawParams) 場所 Infragistics.Win.UIElement.DrawElement(UIElementDrawParams& defaultDrawParams) 場所 Infragistics.Win.UIElement.DrawChildElements(UIElementDrawParams& drawParams) 場所 Infragistics.Win.UIElement.DrawElement(UIElementDrawParams& defaultDrawParams) 場所 Infragistics.Win.UIElement.DrawChildElements(UIElementDrawParams& drawParams) 場所 Infragistics.Win.UIElement.DrawElement(UIElementDrawParams& defaultDrawParams) 場所 Infragistics.Win.UIElement.DrawHelper(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Boolean clipText, Boolean forceDrawAsFocused, Boolean preventAlphaBlendGraphics) 場所 Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize, Boolean preventAlphaBlendGraphics) 場所 Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode) 場所 Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe) 場所 System.Windows.Forms.Control.PaintTransparentBackground(PaintEventArgs e, Rectangle rectangle, Region transparentRegion) 場所 System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset) 場所 System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle) 場所 System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent) 場所 System.Windows.Forms.ScrollableControl.OnPaintBackground(PaintEventArgs e) 場所 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) 場所 System.Windows.Forms.Control.WmEraseBkgnd(Message& m) 場所 System.Windows.Forms.Control.WndProc(Message& m) 場所 System.Windows.Forms.ScrollableControl.WndProc(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Infragistic Version - v8.1
Dear All,
Can you please help me to resolve the above issues.
Thanks and REgards,
K.Mohan
Hello,
When is this happening? What is your scenario exactly? Could you post this in english? Could you please try to attach if possible a small sample project reproducing the above mentioned issue, I will be happy to take a look at it.
Actually the bug is not reproduceable reliably! It happens intermittently!!
I have noticed it happens on the occassions the system has returned from screen saver!!
We have a worker thread that downloads data from server and updates data source which is bound to an infragistics ultragrid.
While the worker thread is processing, the data grid is disabled. At times the downloading operation is longer and the OS is turning on screen saver. So when we move the mouse the screen saver dissappears and apparently, Its just my guess, the grid is accessing datasource which is being modified by worker thread and causes this exception??
Those japanese words translate to "Attempted to read or write operations to protected memory. This is often an indication that other memory is corrupt."