1965908 - C++ Runtime error generated in .NET application

SAP Knowledge Base Article - Public

1965908 - C++ Runtime error generated in .NET application

Symptom

When running a production application, once in a while a C++ Exception is generated by the application

Environment

  • Windows OS's
  • Data based on XML file
  • Cystal Reports 2008 runtime
  • Visual Studio 2008

Resolution

After running Microsoft's DebugDiag to capture the crash/hang dump and analysing it, the following was shown:

Function

Arg 1

Arg 2

Arg 3

Arg 4

Source

KERNELBASE!RaiseException+58

e06d7363

00000001

00000003

191df690

msvcr80!_CxxThrowException+46

191df6ac

0832cc04

0832b858

0cc1dbe0

etc_1_0_12_5!Etc1001204::JTCThread::currentThread+3b

739e4346

05edd4f8

00000000

05e542f0

ebus_3_3_2_6!OBGIOPClient::destroy+10f

739e430a

05e542c8

05ec4104

0cba3200

ebus_3_3_2_6!CORBA_ORB::_OB_decClientUsage+8d

fffffffe

77820358

05e542f0

00000002

msvcr80!_encoded_null+8

05ec4104

25087b9f

00000001

0cba3468

crdb_xml+108e8

00000001

0cba3468

250b961b

05ec40f8

crdb_xml+17b9f

05ec40f8

250a3cbd

00000001

00000000

crdb_xml!DbReadRecordEx+1f65b

00000001

00000000

25070000

191df820

crdb_xml!DbReadRecordEx+9cfd

25070000

2ebc626c

00000001

706daf26

crdb_xml!DbReadRecordEx+9df0

25070000

77829950

25070000

00000000

crdb_xml!DbReadRecordEx+9e6c

250a3e0f

25070000

00000000

00000001

ntdll!LdrShutdownProcess+1aa

0000000a

62dca780

00000000

191df914

Opening the Dump file in VS 2012 displays a list of runtime files, or Modules could have been used:

1965908.png

 The error is caused due to crdb_xml.dll, they did not get updated with Service Pack 6. Customer manually distributed the original release of these dll's.

Replacing the dll's with the same version resolved the issue.

Keywords

CR, .NET, C++, runtime, exception, Crystal Reports, Visual Studio , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

Crystal Reports 2008 V1