PC Review


Reply
Thread Tools Rate Thread

FatalExecutionEngineError was detected in TabControl for VB.NET

 
 
Dennis Macdonald
Guest
Posts: n/a
 
      7th Nov 2011
I have a standard VB.NET (Version 4) tabcontrol and doing nothing more
than clicking between the tabs (note no code of my own is run during
this) and after clicking a few times I get the dreaded
'FatalExecutionEngineError'.

Please help?

Full error is:

FatalExecutionEngineError was detected
Message: The runtime has encountered a fatal error. The address of the
error was at 0x54108090, on thread 0x2194. The error code is
0xc0000005. This error may be a bug in the CLR or in the unsafe or non-
verifiable portions of user code. Common sources of this bug include
user marshaling errors for COM-interop or PInvoke, which may corrupt
the stack.

Below is the call stack:

System.Drawing.dll!System.Drawing.Graphics.Clip.get() + 0x12 bytes
System.Drawing.dll!System.Drawing.Graphics.GetContextInfo() + 0x12
bytes
System.Windows.Forms.dll!
System.Windows.Forms.Internal.WindowsGraphics.FromGraphics(System.Drawing.Graphics
g, System.Windows.Forms.Internal.ApplyGraphicsProperties properties) +
0x46 bytes
System.Windows.Forms.dll!
System.Windows.Forms.WindowsGraphicsWrapper.WindowsGraphicsWrapper(System.Drawing.IDeviceContext
idc, System.Windows.Forms.TextFormatFlags flags) + 0x9b bytes
System.Windows.Forms.dll!
System.Windows.Forms.VisualStyles.VisualStyleRenderer.DrawParentBackground(System.Drawing.IDeviceContext
dc, System.Drawing.Rectangle bounds, System.Windows.Forms.Control
childControl) + 0x88 bytes
System.Windows.Forms.dll!
System.Windows.Forms.ButtonRenderer.DrawParentBackground(System.Drawing.Graphics
g, System.Drawing.Rectangle bounds, System.Windows.Forms.Control
childControl) + 0x76 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.PaintTransparentBackground(System.Windows.Forms.PaintEventArgs
e, System.Drawing.Rectangle rectangle, System.Drawing.Region
transparentRegion) + 0x2bd bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.PaintBackground(System.Windows.Forms.PaintEventArgs
e, System.Drawing.Rectangle rectangle, System.Drawing.Color backColor,
System.Drawing.Point scrollOffset) + 0x108 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.PaintBackground(System.Windows.Forms.PaintEventArgs
e, System.Drawing.Rectangle rectangle) + 0x61 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.OnPaintBackground(System.Windows.Forms.PaintEventArgs
pevent) + 0x59 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.PaintWithErrorHandling(System.Windows.Forms.PaintEventArgs
e, short layer) + 0x78 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmPaint(ref
System.Windows.Forms.Message m) + 0x311 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref
System.Windows.Forms.Message m) + 0x2b1 bytes
System.Windows.Forms.dll!System.Windows.Forms.Label.WndProc(ref
System.Windows.Forms.Message m) + 0x2c bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref
System.Windows.Forms.Message m) + 0x13 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x64
bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr
dwComponentID, int reason, int pvLoopData) + 0x287 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int
reason, System.Windows.Forms.ApplicationContext context) + 0x16c
bytes
System.Windows.Forms.dll!
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int
reason, System.Windows.Forms.ApplicationContext context) + 0x61 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form
form) + 0x33 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window
owner) + 0x38f bytes
System.Windows.Forms.dll!System.Windows.Forms.Form.ShowDialog() +
0x7 bytes
> TimeGuardian.exe!TimeGuardian.frmAdmin.RibbonOrbMenuItemOptions_Click(Object sender, System.EventArgs e) Line 1062 + 0x26 bytes Basic

System.Windows.Forms.Ribbon.dll!
System.Windows.Forms.RibbonItem.OnClick(System.EventArgs e) Line 692 +
0x1a bytes C#
System.Windows.Forms.Ribbon.dll!
System.Windows.Forms.RibbonButton.OnClick(System.EventArgs e) Line
1000 + 0xb bytes C#
System.Windows.Forms.Ribbon.dll!
System.Windows.Forms.RibbonItem.OnMouseDown(System.Windows.Forms.MouseEventArgs
e) Line 627 + 0x11 bytes C#
System.Windows.Forms.Ribbon.dll!
System.Windows.Forms.RibbonButton.OnMouseDown(System.Windows.Forms.MouseEventArgs
e) Line 944 + 0xb bytes C#
System.Windows.Forms.Ribbon.dll!
System.Windows.Forms.RibbonMouseSensor.Control_MouseDown(object
sender, System.Windows.Forms.MouseEventArgs e) Line 490 + 0x1e bytes
C#
System.Windows.Forms.dll!
System.Windows.Forms.Control.OnMouseDown(System.Windows.Forms.MouseEventArgs
e) + 0x7c bytes
System.Windows.Forms.Ribbon.dll!
System.Windows.Forms.RibbonOrbDropDown.OnMouseDown(System.Windows.Forms.MouseEventArgs
e) Line 460 + 0xb bytes C#
System.Windows.Forms.dll!
System.Windows.Forms.Control.WmMouseDown(ref
System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons
button, int clicks) + 0xdb bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref
System.Windows.Forms.Message m) + 0x923 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref
System.Windows.Forms.Message m) + 0x13 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref
System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!
System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr
hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x64
bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(System.IntPtr
dwComponentID, int reason, int pvLoopData) + 0x287 bytes
System.Windows.Forms.dll!
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int
reason, System.Windows.Forms.ApplicationContext context) + 0x16c
bytes
System.Windows.Forms.dll!
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int
reason, System.Windows.Forms.ApplicationContext context) + 0x61 bytes
Microsoft.VisualBasic.dll!
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
+ 0x96 bytes
Microsoft.VisualBasic.dll!
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
+ 0x10a bytes
Microsoft.VisualBasic.dll!
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(string[]
commandLine) + 0x319 bytes
[Native to Managed Transition]
[Managed to Native Transition]
mscorlib.dll!
System.AppDomain.nExecuteAssembly(System.Reflection.RuntimeAssembly
assembly, string[] args) + 0x9 bytes
mscorlib.dll!System.Runtime.Hosting.ManifestRunner.Run(bool
checkAptModel) + 0x6e bytes
mscorlib.dll!
System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly() + 0x90
bytes
mscorlib.dll!
System.Runtime.Hosting.ApplicationActivator.CreateInstance(System.ActivationContext
activationContext, string[] activationCustomData) + 0x65 bytes
mscorlib.dll!
System.Runtime.Hosting.ApplicationActivator.CreateInstance(System.ActivationContext
activationContext) + 0xd bytes
mscorlib.dll!
System.Activator.CreateInstance(System.ActivationContext
activationContext) + 0x44 bytes
Microsoft.VisualStudio.HostingProcess.Utilities.dll!
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
+ 0x23 bytes
mscorlib.dll!
System.Threading.ThreadHelper.ThreadStart_Context(object state) + 0x63
bytes
mscorlib.dll!
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object
state, bool ignoreSyncCtx) + 0xb0 bytes
mscorlib.dll!
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callback, object
state) + 0x2c bytes
mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x44
bytes
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FatalExecutionEngineError was detected in TabControl for VB.NET Dennis Macdonald Microsoft Dot NET 0 7th Nov 2011 06:29 AM
Managed Debugging Assistant 'FatalExecutionEngineError' Mike Microsoft VB .NET 0 13th May 2009 11:54 AM
Managed Debugging Assistant 'FatalExecutionEngineError' Mike Microsoft VB .NET 0 13th May 2009 11:54 AM
FatalExecutionEngineError on Rerun of BackgroundWorker Krip Microsoft Dot NET Framework Forms 0 14th May 2008 02:21 PM
FatalExecutionEngineError calling Clipboard.GetDataObject().GetData() with EnhancedMetafile nagar@community.nospam Microsoft Dot NET 5 16th Aug 2007 06:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:57 AM.