11.5 Issue with .net garbage collection

Posted by Darren Parr on 08-Jan-2015 06:53

Hi

The following DOES NOT occur in 11.4 or earlier.

Has anyone noticed anything with 11.5 and .net. We have an mdi parent and several mdi children. These are all progress .net forms. The MDi children are rendered as tabs using the mdi tabbed manager. We are also using a ribbon with merging etc. 

For some strange reason as soon as we run a 3rd tab, the closing of an mdi child form directly causes a .net exception. This only happens with 3 or more mdi children. If we have two running it never occurs. It looks like cleanup. I have verified that it does not occur before formclosed occurs as I have a message at the end of formclosed. The issue seems to occur shortly after it activates a different mdi tab as you can see it switch but before the tab which is closing disappears from the tab bar.

We have no destructor as such and I've always just let .net garbage collect and its normally fine.

Any ideas? 

-Darren

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Progress.clrbridge
Assembly Version: 11.5.0.1114
Win32 Version: 11.5.0.1114
CodeBase: file:///C:/DLC115X86/bin/Progress.clrbridge.DLL
----------------------------------------
Progress.NetUI
Assembly Version: 11.5.0.1114
Win32 Version: 11.5.0.1114
CodeBase: file:///C:/DLC115X86/bin/Progress.NetUI.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
OEEventHandlerAssembly
Assembly Version: 0.0.0.0
Win32 Version: 11.5.0.1114
CodeBase: file:///C:/DLC115X86/bin/Progress.NetUI.dll
----------------------------------------
ISymWrapper
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/ISymWrapper/v4.0_4.0.0.0__b03f5f7f11d50a3a/ISymWrapper.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
DataPAClientConfig
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/DataPAClientConfig/1.0.1.0__7326084568c3e203/DataPAClientConfig.dll
----------------------------------------
DataPAEnterpriseDashboard
Assembly Version: 1.0.90.0
Win32 Version:
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/DataPAEnterpriseDashboard/1.0.90.0__6bf9cd4a4c2ff632/DataPAEnterpriseDashboard.dll
----------------------------------------
datapainterop
Assembly Version: 10.76.0.0
Win32 Version: 10.76.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/datapainterop/10.76.0.0__5b17bbf2a8e7c3d7/datapainterop.dll
----------------------------------------
DataPAReportsControl
Assembly Version: 26.41.0.0
Win32 Version: 26.41.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/DataPAReportsControl/26.41.0.0__e345699a3152953d/DataPAReportsControl.dll
----------------------------------------
Infragistics4.Documents.Excel.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Documents.Excel.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Documents.Excel.v14.2.dll
----------------------------------------
Infragistics4.Documents.IO.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Documents.IO.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Documents.IO.v14.2.dll
----------------------------------------
Infragistics4.Documents.Reports.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Documents.Reports.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Documents.Reports.v14.2.dll
----------------------------------------
Infragistics4.Shared.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Shared.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Shared.v14.2.dll
----------------------------------------
Infragistics4.Win.AppStylistSupport.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.AppStylistSupport.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.AppStylistSupport.v14.2.dll
----------------------------------------
Infragistics4.Win.Misc.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.Misc.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.Misc.v14.2.dll
----------------------------------------
Infragistics4.Win.SupportDialogs.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.SupportDialogs.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.SupportDialogs.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinCalcManager.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinCalcManager.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinCalcManager.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinCalcManager.v14.2.FormulaBuilder
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinCalcManager.v14.2.FormulaBuilder/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinCalcManager.v14.2.FormulaBuilder.dll
----------------------------------------
Infragistics4.Win.UltraWinChart.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinChart.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinChart.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinDock.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinDock.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinDock.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinEditors.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinEditors.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinEditors.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinExplorerBar.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinExplorerBar.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinExplorerBar.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinFormattedText.WordWriter.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinFormattedText.WordWriter.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinFormattedText.WordWriter.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinGrid.DocumentExport.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinGrid.DocumentExport.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinGrid.DocumentExport.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinGrid.ExcelExport.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinGrid.ExcelExport.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinGrid.ExcelExport.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinGrid.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinGrid.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinGrid.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinGrid.WordWriter.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinGrid.WordWriter.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinGrid.WordWriter.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinListBar.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinListBar.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinListBar.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinListView.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinListView.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinListView.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinPrintPreviewDialog.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinPrintPreviewDialog.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinPrintPreviewDialog.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinStatusBar.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinStatusBar.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinStatusBar.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinTabbedMdi.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinTabbedMdi.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinTabbedMdi.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinTabControl.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinTabControl.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinTabControl.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinToolbars.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinToolbars.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinToolbars.v14.2.dll
----------------------------------------
Infragistics4.Win.UltraWinTree.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.UltraWinTree.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.UltraWinTree.v14.2.dll
----------------------------------------
Infragistics4.Win.v14.2
Assembly Version: 14.2.20142.2010
Win32 Version: 14.2.20142.2010
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Infragistics4.Win.v14.2/v4.0_14.2.20142.2010__7dd5c3163f2cd0cb/Infragistics4.Win.v14.2.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
OSLGridHelper_115
Assembly Version: 11.5.0.0
Win32 Version: 11.5.0.0
CodeBase: file:///C:/Users/DarrenP/Desktop/Store/V11TRUNK/eclipse/OSL_Assemblies/OSLGridHelper_115.dll
----------------------------------------
pacontrols
Assembly Version: 26.37.0.0
Win32 Version: 26.37.0.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/pacontrols/26.37.0.0__e345699a3152953d/pacontrols.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34243 built by: FX452RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
Progress.Messages
Assembly Version: 11.5.0.1114
Win32 Version: 11.5.0.1114
CodeBase: file:///C:/DLC115X86/bin/dotnetmsgs/Progress.Messages.DLL
----------------------------------------
OEProxyAssembly
Assembly Version: 11.5.0.0
Win32 Version: 11.5.0.1114
CodeBase: file:///C:/DLC115X86/bin/Progress.NetUI.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34004 built by: FX45W81RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

All Replies

Posted by Lieven De Foor on 14-Jan-2015 03:59

Does the same occur with the Infragistics assemblies that shipped with OE 11.4 or lower, when used in OE 11.5? If not than the bug could also be in there...

This thread is closed