I get the following error message: Packet pointer references unowned packet. What does this mean, and what type of errors cause this?

Categories:
Solution Number:
S20605
Last Modified:
2013-10-10
Issue

I get the following error message: Packet pointer references unowned packet. What does this mean, and what type of errors cause this?

Solution

A packet is an object that can be owned by one entity at any given time. A module gains ownership of a packet when it creates the packet (e.g., op_pk_create ()) or gets a packet (e.g., op_pk_get ()). When a packet is sent (e.g., op_pk_send ()) or destroyed (e.g., op_pk_destroy()), the module no longer owns the packet. If you attempt to manipulate a packet pointer that has already been sent or destroyed, you will obtain this error message.

Verify the following if you get this error:

  1. Are you attempting to manipulate a packet pointer for a packet that has already been sent, or already destroyed?
  2. Are you trying to use a packet pointer for a packet that has never been created or obtained using op_pk_get(), etc.?

For a full discussion on packet ownership, please refer to the help section Modeling Concepts -> Communication Mechanisms -> Packet-Based Communications -> General Properties of Packets.

Environment

DES Kernel->Process Modeling/Coding

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case