Attempted To Read Or Write Protected Memory When Dequeueing A Propagated Message
(Doc ID 1328814.1)
Last updated on FEBRUARY 21, 2019
Applies to:Oracle Data Provider for .NET - Version 126.96.36.199 and later
Information in this document applies to any platform.
When attempting to dequeue a message that was propagated from another database, ODP.Net throws memory corruption related errors such as:
Attempted to read or write protected memory
OCI-21710:Argument is expecting a valid memory address of an object
The test program for this bug comprises two parts:
insertDataToSourceDB just inserts a bunch of data into the first database. This data is propagated via AQ to the second.
DequeueMessageFromDes_DB dequeues messages from the second and should read back all data until there is none left. However it crashes after only a few rows. This number differs on each run.
If there is no data in the destination database then DequeueMessageFromDes_DB fails with an ORA-25228.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document