cameron-upright / rl-glue

Automatically exported from code.google.com/p/rl-glue
0 stars 0 forks source link

Network Bug #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When compiling env + glue + experiment all together
and running against network python agent it crashes:

(gdb) run
Starting program:
/Users/awhite/Desktop/rl-glue.2.0.3/Examples/test/bin/RL_glue 
Reading symbols for shared libraries . done
env_start observation: 1 0
33 

env_step action 1 0
33 

env_step observation 1 0
33 

RL_glue(2084) malloc: *** vm_allocate(size=4290772992) failed (error code=3)
RL_glue(2084) malloc: *** error: can't allocate region
RL_glue(2084) malloc: *** set a breakpoint in szone_error to debug

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0000327c in rlCopyBufferToADT (src=0x5290, offset=8, dst=0x5280) at
../../RL-Glue/Network/RL_network.c:395
395         memcpy(intArray, dst->intArray, dst->numInts * sizeof(int));

Original issue reported on code.google.com by whitiena...@gmail.com on 8 Oct 2007 at 9:19

GoogleCodeExporter commented 9 years ago
Adam: Please advise : what environment, benchmark, and agent were you running?  
Could
you please zip up your test directory and attach it to the bug report please.

Original comment by brian.ta...@gmail.com on 9 Oct 2007 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by brian.ta...@gmail.com on 9 Oct 2007 at 5:06

GoogleCodeExporter commented 9 years ago
The attached dir is a python sarsa agent, mines and experiment program in c. I 
could
be doing it wrong but at the very least it is breaking in an ugly way: letting 
me
compile something and then bus error-ing. 

Original comment by whitiena...@gmail.com on 9 Oct 2007 at 5:19

Attachments:

GoogleCodeExporter commented 9 years ago
Is this the problem where if you compile the code the wrong way, bad things 
happen? 
If so, can we close it cause we're fixing this?

I just want to raise this issue to our radar and figure out if its really an 
issue or
not.

Original comment by brian.ta...@gmail.com on 13 Oct 2007 at 6:08

GoogleCodeExporter commented 9 years ago
yes that is correct. this issue is now closed.

Original comment by whitiena...@gmail.com on 14 Oct 2007 at 7:30