LARG / HFO

Half Field Offense in Robocup 2D Soccer
MIT License
232 stars 93 forks source link

Segmentation Fault #80

Open andreaBassichUoY opened 5 years ago

andreaBassichUoY commented 5 years ago

Hi @mhauskn,

Occasionally when i train on this environment and re-start the server I get the following error:

[myUbuntu:02155] Process received signal [myUbuntu:02155] Signal: Segmentation fault (11) [myUbuntu:02155] Signal code: Address not mapped (1) [myUbuntu:02155] Failing at address: 0x8 [myUbuntu:02155] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f394d2d9890] [myUbuntu:02155] [ 1] /home/andrea/dev/gym-soccer-master/venv/lib/python3.6/site-packages/hfo_py/hfo/libhfo_c.so(_ZN4rcsc14Body_SmartKick7executeEPNS_11PlayerAgentE+0x174)[0x7f390885c644] [myUbuntu:02155] [ 2] /home/andrea/dev/gym-soccer-master/venv/lib/python3.6/site-packages/hfo_py/hfo/libhfo_c.so(_ZN5Agent11doSmartKickEv+0x13a)[0x7f390883514a] [myUbuntu:02155] [ 3] /home/andrea/dev/gym-soccer-master/venv/lib/python3.6/site-packages/hfo_py/hfo/libhfo_c.so(_ZN5Agent10actionImplEv+0x380)[0x7f390883a570] [myUbuntu:02155] [ 4] /home/andrea/dev/gym-soccer-master/venv/lib/python3.6/site-packages/hfo_py/hfo/libhfo_c.so(_ZN4rcsc11PlayerAgent13executeActionEv+0x29)[0x7f39088a7449] [myUbuntu:02155] [ 5] /home/andrea/dev/gym-soccer-master/venv/lib/python3.6/site-packages/hfo_py/hfo/libhfo_c.so(_ZN3hfo14HFOEnvironment4stepEv+0x11)[0x7f3908833071] [myUbuntu:02155] [ 6] /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c)[0x7f39368e8dae] [myUbuntu:02155] [ 7] /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x22f)[0x7f39368e871f] [myUbuntu:02155] [ 8] /usr/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(_ctypes_callproc+0x4cd)[0x7f3936afca4d] [myUbuntu:02155] [ 9] /usr/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so(+0x87b7)[0x7f3936af37b7] [myUbuntu:02155] [10] /home/andrea/dev/gym-soccer-master/venv/bin/python(_PyObject_FastCallDict+0xa3)[0x45a0e3] [myUbuntu:02155] [11] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x54fd37] [myUbuntu:02155] [12] /home/andrea/dev/gym-soccer-master/venv/bin/python(_PyEval_EvalFrameDefault+0x362f)[0x5546cf] [myUbuntu:02155] [13] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x54f0e8] [myUbuntu:02155] [14] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x550116] [myUbuntu:02155] [15] /home/andrea/dev/gym-soccer-master/venv/bin/python(_PyEval_EvalFrameDefault+0x362f)[0x5546cf] [myUbuntu:02155] [16] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x54f0e8] [myUbuntu:02155] [17] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x550116] [myUbuntu:02155] [18] /home/andrea/dev/gym-soccer-master/venv/bin/python(_PyEval_EvalFrameDefault+0x362f)[0x5546cf] [myUbuntu:02155] [19] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x54f0e8] [myUbuntu:02155] [20] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x550116] [myUbuntu:02155] [21] /home/andrea/dev/gym-soccer-master/venv/bin/python(_PyEval_EvalFrameDefault+0x362f)[0x5546cf] [myUbuntu:02155] [22] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x47f704] [myUbuntu:02155] [23] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x4da8b2] [myUbuntu:02155] [24] /home/andrea/dev/gym-soccer-master/venv/bin/python(_PyObject_FastCallDict+0xa3)[0x45a0e3] [myUbuntu:02155] [25] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x54fd37] [myUbuntu:02155] [26] /home/andrea/dev/gym-soccer-master/venv/bin/python(_PyEval_EvalFrameDefault+0x362f)[0x5546cf] [myUbuntu:02155] [27] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x54fbe1] [myUbuntu:02155] [28] /home/andrea/dev/gym-soccer-master/venv/bin/python[0x54fe6d] [myUbuntu:02155] [29] /home/andrea/dev/gym-soccer-master/venv/bin/python(_PyEval_EvalFrameDefault+0x1a60)[0x552b00] [myUbuntu:02155] End of error message

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

Any idea on what might cause it or how to solve it?

Cheers, Andrea

Edit:

After this error message the console is filled with

base_left 7: finished. base_left 11: finished. base_left 7: finished. base_left 11: finished.

etc.