sleyzerzon / soar

Automatically exported from code.google.com/p/soar
1 stars 0 forks source link

Soar hard crashes on epmem retrieval #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load the following agent:

# Soar crashes at d 1 e 2

epmem --set learning on
epmem --set trigger dc

sp {init
    (state <s> ^superstate nil)
-->
    (<s> ^name buggy
         ^1 <whatever>) # this fails
         # ^one.1 <whatever>) # this doesn't fail
}

sp {propose*test
    (state <s> ^name buggy)
-->
    (<s> ^operator.name test)
}

sp {apply*test
    (state <s> ^operator.name test
               ^epmem.command <ecmd>)
-->
    (<ecmd> ^query.name buggy)
}

2. Run it

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

Expected output: Soar doesn't crash.
Actual output: Soar crashes.

Original issue reported on code.google.com by justinn...@gmail.com on 6 Jun 2013 at 7:13

GoogleCodeExporter commented 8 years ago
The XNLSoar system also crashes in the same function, although under different 
circumstances. To reproduce, download the attached files and put them in the 
same directory. cd into that directory in the debugger and load test.soar. Run 
2 decision cycles.

Original comment by joseph...@gmail.com on 7 Jun 2013 at 9:16

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by maz...@gmail.com on 8 Jun 2013 at 8:09