Consultor Eletrônico



Kbase P169016: SYSTEM ERROR in a .NET event handler when using PROCESS EVENTS
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/13/2010
Status: Unverified

SYMPTOM(s):

SYSTEM ERROR in a .NET event handler when using PROCESS EVENTS

Exception code: C000000005 ACCESS_VIOLATION

AVM crash with .NET, SIKFMOVEROWFOCUS, PROCESS EVENTS

Fault address: 1027CE4A 01:0027BE4A C:\PROGRESS\102B\prow32.dll

PROEVENTS .NET AgilityWindowBase_Activated Progress.Lang.Object Handle:1186 discarded Processing database/socket operation

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Progress.ClrBridge.BrgClrToPro.HandleUIEvent(Object , Object , Int32 , String , Int32 , Int32 )
at sysMainFormDeactivateReceiver.OnDeactivate(Object , EventArgs )
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnDeactivate(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Progress.Windows.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

FACT(s) (Environment):

Windows
OpenEdge 10.2x

CAUSE:

Bug# OE00198787

CAUSE:

This problem is very specific to programmatically inserting and changing rows in a browse widget, then calling PROCESS EVENTS and having enough events being sent to the WINDOW to cause the crash.

FIX:

To work around this issue remove the PROCESS EVENTS statement