home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC11 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT40803 Status: Closed

.NET CORE: MEMORY VIOLATION IN SQLDISCONNECT WHEN CLEANING UP RESOURCES

product:
IBM CSDK / 5724C2381 / 450 - CSDK 4.50
Problem description:
The following memory violation is seen occasionally when
cleaning up resources:

Fatal error. System.AccessViolationException: Attempted to read
or write protected memory. This is often an indication that
other memory is corrupt.
   at Interop+Odbc.SQLDisconnect(IntPtr)
   at Interop+Odbc.SQLDisconnect(IntPtr)
   at Informix.Net.Core.IfxConnectionHandle.ReleaseHandle()
   at
System.Runtime.InteropServices.SafeHandle.InternalRelease(Boolea
n)
   at System.Runtime.InteropServices.SafeHandle.Dispose()
   at Informix.Net.Core.IfxConnection.Close()
   at NetCoreTest.Test.Dispose()
   at NetCoreTest.Program+c__DisplayClass0_0.b__0(Int32)
   at
System.Threading.Tasks.Parallel+c__DisplayClass19_0`1[[System.
__Canon, System.Private.CoreLib, Version=4.0.0.0,
Culture=neutral,
PublicKeyToken=7cec85d7bea7798e]].b__1(System.Threadi
ng.Tasks.RangeWorker ByRef, Int32, Boolean ByRef)
   at System.Threading.Tasks.TaskReplicator+Replica.Execute()
   at
System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(
System.Threading.Thread, System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object)
   at
System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Thread
ing.Tasks.Task ByRef, System.Threading.Thread)
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* The described problem doesn't reproduce with CSDK-4.50.XC8   *
* and CSDK-4.50.XC9.                                           *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* The described problem doesn't reproduce with CSDK-4.50.XC8   *
* and CSDK-4.50.XC9.                                           *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
29.04.2022
29.11.2022
29.11.2022
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)