Application Crashes without throwing exceptions

Mar 30, 2011 at 5:20 PM

Since I applied the Alpha controls to my application, it started to crash randomly while using it. The problem is that it is not displaying any error messages nor any exception is being caught. My application use to work fine before I replaced the traditional controls with the Alpha controls. This problem happens only when I am switching between forms.

I am suspecting a memory leak or something to do with the external AlphaMobileControl DLL calls.

Anyone had similar problems?

Apr 1, 2011 at 2:30 PM

I was able to capture the error. Here is the stack details:

PlatformAPI.IImage.GetImageInfo()

AlphaMobileControls.AlphaImage.Draw()

AlphaMobileControls.AlphaPictureBox.Draw()

AlphaMobileControls.AlphaControl.DrawInternal()

AlphaMobileControls.AlphaContainer.OnPaint()

AlphaMobileConrols.AlphaForm.OnPaint()

System.Windows.Forms.Control.WnProc()

System.Windows.Forms.ContainerControl.WnProc()

System.Windows.Forms.Form.WnProc()

System.WIndows.Forms.Control._InternalWnProc()

Microsoft.AGL.Forms.EVL.EnterMainLoop()

System.Windows.Forms.Application.Run()

 

So, this happens when I try to open a form with AlphaMobileControls on it. I believe it is a GC issue. We need to be disposing the form correctly.