Issue 132 in soar: Memory corruption when wma and epmem both active

0 views
Skip to first unread message

so...@googlecode.com

unread,
Jan 14, 2013, 11:59:50 AM1/14/13
to soar-...@googlegroups.com
Status: Accepted
Owner: maz...@gmail.com
Labels: Type-Defect Priority-High

New issue 132 by maz...@gmail.com: Memory corruption when wma and epmem
both active
http://code.google.com/p/soar/issues/detail?id=132

What steps will reproduce the problem?
1. Source the following:

wma --set activation on
epmem --set learning on
epmem --set trigger dc

sp {crash
(state <s> ^superstate nil
^epmem.present-id)
-->
(<s> ^crash now)
}

2. Step until the agent subgoals.

What is the expected output? What do you see instead?

Not crashing. It crashes.

Please use labels and text to provide additional information.

This is probably an issue with wma.cpp not handling refcounts properly. If
you turn memory pools off, it will crash when free memory for a working
memory element in the o-set (something that wma.cpp keeps track of for each
wme).

Note that it will not crash on this example if "now" is an id (<now>)
instead of a constant or if ^crash isn't off the top state or if the
production is o-supported


so...@googlecode.com

unread,
May 31, 2014, 1:03:08 AM5/31/14
to soar-...@googlegroups.com
Updates:
Status: Fixed
Owner: justinn...@gmail.com

Comment #1 on issue 132 by justinn...@gmail.com: Memory corruption when wma
Fixed by r13983

--
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
Reply all
Reply to author
Forward
0 new messages