home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC99205 Status: Closed

ADO .NET PROGRAM CRASHES WITH ACCESS VIOLATION ERROR IN A MULTI-THREADED
PROGRAM FOR MULTI ROW INSERT.

product:
DB2 CONNECT / DB2CONNCT / A10 - DB2
Problem description:
.NET DRIVER CRASHES WITH FOLLOWING ERROR IN A MULTI-THREADED 
PROGRAM NAMED ORCAS.EXE USING MULTI ROW INSERT FEATURE: 
 
Unhandled Exception: System.AccessViolationException: Attempted 
to read or write 
 protected memory. This is often an indication that other memory 
is corrupt. 
   at 
IBM.Data.DB2.UnsafeNativeMethods.DB232.SQLExecDirectADONET(DB2Ex 
ecDirectPa 
rameters* pParam) 
   at IBM.Data.DB2.DB2Command.ExecuteNonQueryObject(Boolean 
skipInitialValidatio 
n) 
   at IBM.Data.DB2.DB2Command.ExecuteNonQueryObject() 
   at IBM.Data.DB2.DB2Command.ExecuteNonQuery() 
   at Orcas.TestOrcas.MultiRowInsert(DB2Connection conn) in 
c:\svtwkld\OrcasAppl 
\TestOrcas.cs:line 698 
   at Orcas.TestOrcas.startSelect() in 
c:\svtwkld\OrcasAppl\TestOrcas.cs:line 19 
2 
   at 
System.Threading.ExecutionContext.RunInternal(ExecutionContext 
executionCo 
ntext, ContextCallback callback, Object state, Boolean 
preserveSyncCtx) 
   at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, C 
ontextCallback callback, Object state, Boolean preserveSyncCtx) 
   at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, C 
ontextCallback callback, Object state) 
   at System.Threading.ThreadHelper.ThreadStart()
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* .NET driver users using array insert in a multi-threaded     * 
* application.                                                 * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2_v101fp4 or later releases.                    * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
db2_v101fp4 contains the fix of this issue. After the fix, no 
crash has been observed.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.02.2014
03.06.2014
03.06.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.4 FixList