Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 153 by
alex.nic...@soartech.com: Invalid Heap Exception Inside
Semantic Memory
http://code.google.com/p/soar/issues/detail?id=153
Semantic memory contains:
delete weighted_pq.top();
weighted_pq.pop();
on lines 2312-2314. On occasion, the memory used by the top of the
priority queue can be altered before the the pop command is executed, which
causes the queue to throw an invalid heap exception. The easy fix is to
grab the pointer, pop the queue, and then delete the pointer:
smem_prioritized_weighted_cue::value_type top = weighted_pq.top();
weighted_pq.pop();
delete top;
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings