- # author: nikhil karnad <karnad@cs.umn.edu>
- # date: 20 May 2010
- # Circular arena player/stage configuration file for lion-and-man game
- driver
- (
- name "stage"
- plugin "stageplugin"
- provides ["simulation:0"]
- worldfile "circle.world"
- )
- driver
- (
- name "stage"
- provides ["6665:position2d:0"]
- model "lion"
- )
- driver
- (
- name "stage"
- model "man"
- provides ["6666:position2d:0"]
- )
- -----------------------
- # author: nikhil karnad <karnad@cs.umn.edu>
- include "map.inc"
- include "roomba.inc"
- # raytrace model resolution
- resolution 0.02
- # screen update rate
- gui_interval 100
- floorplan
- (
- bitmap "circularArena.png"
- size [15 15 0.5]
- )
- roomba
- (
- name "lion"
- pose [0 0 0 0]
- color "red"
- )
- roomba
- (
- name "man"
- pose [-2 -2 0 0]
- color "blue"
- )
- ------------------------------
- $ player circle.cfg
- Registering driver
- Player v.3.0.1
- * Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
- * Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
- * Nate Koenig, and contributors. Released under the GNU General Public License.
- * Player comes with ABSOLUTELY NO WARRANTY. This is free software, and you
- * are welcome to redistribute it under certain conditions; see COPYING
- * for details.
- invoking player_driver_init()...
- Stage driver plugin init
- ** Stage plugin v3.2.2 **
- * Part of the Player Project [http://playerstage.sourceforge.net]
- * Copyright 2000-2009 Richard Vaughan, Brian Gerkey and contributors.
- * Released under the GNU General Public License v2.
- success
- Stage plugin: 6665.simulation.0 is a Stage world
- [Loading ./circle.world][Include map.inc][Include roomba.inc]
- Stage plugin: 6665.position2d.0 is "lion"
- Stage plugin: 6666.position2d.0 is "man"
- listening on 6665
- listening on 6666
- Listening on ports: 6665 6666
- *** glibc detected *** player: double free or corruption (!prev): 0x0000000001320c20 ***
- ======= Backtrace: =========
- /lib/libc.so.6(+0x775b6)[0x7f0c3b3a05b6]
- /lib/libc.so.6(cfree+0x73)[0x7f0c3b3a6e53]
- /usr/local/lib/libdrm_intel.so.1(+0x612c)[0x7f0c2fd5612c]
- /usr/local/lib/libdrm_intel.so.1(+0x637c)[0x7f0c2fd5637c]
- /usr/lib/dri/i965_dri.so(intel_batchbuffer_reset+0x1a)[0x7f0c2ff94f5a]
- /usr/lib/dri/i965_dri.so(_intel_batchbuffer_flush+0x164)[0x7f0c2ff955e4]
- /usr/lib/dri/i965_dri.so(brw_draw_prims+0x5b8)[0x7f0c2ffd45e8]
- /usr/lib/dri/i965_dri.so(vbo_save_playback_vertex_list+0x2e7)[0x7f0c300913d7]
- /usr/lib/dri/i965_dri.so(+0xb8692)[0x7f0c30013692]
- /usr/lib/dri/i965_dri.so(_mesa_CallList+0x8a)[0x7f0c3001615a]
- /usr/local/lib/libstage.so.3.2.2(_ZN3Stg5Model14DrawBlocksTreeEv+0x3c)[0x7f0c31c96fbc]
- /usr/local/lib/libstage.so.3.2.2(_ZN3Stg6Canvas10DrawBlocksEv+0x29)[0x7f0c31cb89e9]
- /usr/local/lib/libstage.so.3.2.2(_ZN3Stg6Canvas11renderFrameEv+0x1198)[0x7f0c31cc13d8]
- /usr/local/lib/libstage.so.3.2.2(_ZN3Stg6Canvas4drawEv+0x12e)[0x7f0c31cbb42e]
- /usr/lib/libfltk_gl.so.1.1(_ZN12Fl_Gl_Window5flushEv+0x7f)[0x7f0c30f2ad9f]
- /usr/lib/libfltk.so.1.1(_ZN2Fl5flushEv+0xb3)[0x7f0c30ca0e33]
- /usr/lib/libfltk.so.1.1(_ZN2Fl4waitEd+0x10d)[0x7f0c30ca107d]
- /usr/lib/libfltk.so.1.1(_ZN2Fl4waitEv+0x1d)[0x7f0c30ca119d]
- /usr/local/lib/stageplugin.so(_ZN9StgDriver6UpdateEv+0x7e)[0x7f0c31ee42ee]
- /usr/local/lib64/libplayercore.so.3.0(_ZN11DeviceTable13UpdateDevicesEv+0x70)[0x7f0c40a78b3a]
- player(main+0x98b)[0x402dbf]
- /lib/libc.so.6(__libc_start_main+0xfd)[0x7f0c3b347c4d]
- player[0x402379]
- ======= Memory map: ========
- 00400000-00404000 r-xp 00000000 08:06 543236 /home/karnad/psg/bin/player
- 00604000-00605000 r--p 00004000 08:06 543236 /home/karnad/psg/bin/player
- 00605000-00606000 rw-p 00005000 08:06 543236 /home/karnad/psg/bin/player
- 0068e000-013ef000 rw-p 00000000 00:00 0 [heap]
- 7f0c28000000-7f0c28021000 rw-p 00000000 00:00 0
- 7f0c28021000-7f0c2c000000 ---p 00000000 00:00 0
- 7f0c2cd9d000-7f0c2cdbd000 rw-s 15ecb7000 00:05 3918 /dev/dri/card0
- 7f0c2cdbd000-7f0c2cdc5000 rw-s 15ecaf000 00:05 3918 /dev/dri/card0
- 7f0c2cdc5000-7f0c2cdcd000 rw-s 15eca7000 00:05 3918 /dev/dri/card0
- 7f0c2cdcd000-7f0c2cdd5000 rw-s 15ec9f000 00:05 3918 /dev/dri/card0
- 7f0c2cdd5000-7f0c2cddd000 rw-s 15ec97000 00:05 3918 /dev/dri/card0
- 7f0c2cddd000-7f0c2cddf000 rw-s 15ec95000 00:05 3918 /dev/dri/card0
- 7f0c2cddf000-7f0c2cde1000 rw-s 15ec93000 00:05 3918 /dev/dri/card0
- 7f0c2cde1000-7f0c2ce01000 rw-s 15ec73000 00:05 3918 /dev/dri/card0
- 7f0c2ce01000-7f0c2cf01000 rw-s 15eb73000 00:05 3918 /dev/dri/card0
- 7f0c2cf01000-7f0c2d001000 rw-s 15ea73000 00:05 3918 /dev/dri/card0
- 7f0c2d001000-7f0c2f241000 rw-p 00000000 00:00 0
- 7f0c2f241000-7f0c2f341000 rw-s 15e910000 00:05 3918 /dev/dri/card0
- 7f0c2f341000-7f0c2f543000 rw-p 00000000 00:00 0
- 7f0c2f543000-7f0c2f583000 rw-s 15e8ae000 00:05 3918 /dev/dri/card0
- 7f0c2f5a1000-7f0c2f5a2000 rw-s 15ea72000 00:05 3918 /dev/dri/card0
- 7f0c2f5a2000-7f0c2f5a3000 rw-s 15ea71000 00:05 3918 /dev/dri/card0
- 7f0c2f5a3000-7f0c2f5a4000 rw-s 15ea70000 00:05 3918 /dev/dri/card0
- 7f0c2f5a4000-7f0c2f5a5000 rw-s 15ea6f000 00:05 3918 /dev/dri/card0
- 7f0c2f5a5000-7f0c2f5a6000 rw-s 15ea6e000 00:05 3918 /dev/dri/card0
- 7f0c2f5a6000-7f0c2f5a8000 rw-s 15ea6c000 00:05 3918 /dev/dri/card0
- 7f0c2f5a8000-7f0c2f5ac000 rw-s 15ea68000 00:05 3918 /dev/dri/card0
- 7f0c2f5ac000-7f0c2f5b4000 rw-s 15ea60000 00:05 3918 /dev/dri/card0
- 7f0c2f5b4000-7f0c2f5c4000 rw-s 15ea50000 00:05 3918 /dev/dri/card0
- 7f0c2f5c4000-7f0c2f6c4000 rw-s 15e7ae000 00:05 3918 /dev/dri/card0
- 7f0c2f6c4000-7f0c2fd50000 rw-p 00000000 00:00 0
- 7f0c2fd50000-7f0c2fd5a000 r-xp 00000000 08:06 156633 /usr/local/lib/libdrm_intel.so.1.0.0
- 7f0c2fd5a000-7f0c2ff59000 ---p 0000a000 08:06 156633 /usr/local/lib/libdrm_intel.so.1.0.0
- 7f0c2ff59000-7f0c2ff5a000 r--p 00009000 08:06 156633 /usr/local/lib/libdrm_intel.so.1.0.0
- 7f0c2ff5a000-7f0c2ff5b000 rw-p 0000a000 08:06 156633 /usr/local/lib/libdrm_intel.so.1.0.0
- 7f0c2ff5b000-7f0c30227000 r-xp 00000000 08:06 1744975 /usr/lib/dri/i965_dri.so
- 7f0c30227000-7f0c30426000 ---p 002cc000 08:06 1744975 /usr/lib/dri/i965_dri.so
- 7f0c30426000-7f0c3042f000 r--p 002cb000 08:06 1744975 /usr/lib/dri/i965_dri.so
- 7f0c3042f000-7f0c30433000 rw-p 002d4000 08:06 1744975 /usr/lib/dri/i965_dri.so
- 7f0c30433000-7f0c30442000 rw-p 00000000 00:00 0
- 7f0c30442000-7f0c30456000 r-xp 00000000 08:06 84794 /usr/lib/libXft.so.2.1.13
- 7f0c30456000-7f0c30655000 ---p 00014000 08:06 84794 /usr/lib/libXft.so.2.1.13
- 7f0c30655000-7f0c30656000 r--p 00013000 08:06 84794 /usr/lib/libXft.so.2.1.13
- 7f0c30656000-7f0c30657000 rw-p 00014000 08:06 84794 /usr/lib/libXft.so.2.1.13
- 7f0c30657000-7f0c3065b000 r-xp 00000000 08:06 1327291 /lib/libuuid.so.1.3.0
- 7f0c3065b000-7f0c3085a000 ---p 00004000 08:06 1327291 /lib/libuuid.so.1.3.0
- 7f0c3085a000-7f0c3085b000 r--p 00003000 08:06 1327291 /lib/libuuid.so.1.3.0
- 7f0c3085b000-7f0c3085c000 rw-p 00004000 08:06 1327291 /lib/libuuid.so.1.3.0
- 7f0c3085c000-7f0c30866000 r-xp 00000000 08:06 156301 /usr/local/lib/libdrm.so.2.4.0
- 7f0c30866000-7f0c30a65000 ---p 0000a000 08:06 156301 /usr/local/lib/libdrm.so.2.4.0
- 7f0c30a65000-7f0c30a66000 r--p 00009000 08:06 156301 /usr/local/lib/libdrm.so.2.4.0
- 7f0c30a66000-7f0c30a67000 rw-p 0000a000 08:06 156301 /usr/local/lib/libdrm.so.2.4.0
- 7f0c30a67000-7f0c30a6c000 r-xp 00000000 08:06 84828 /usr/lib/libXxf86vm.so.1.0.0
- 7f0c30a6c000-7f0c30c6b000 ---p 00005000 08:06 84828 /usr/lib/libXxf86vm.so.1.0.0
- 7f0c30c6b000-7f0c30c6c000 r--p 00004000 08:06 84828 /usr/lib/libXxf86vm.so.1.0.0
- 7f0c30c6c000-7f0c30c6d000 rw-p 00005000 08:06 84828 /usr/lib/libXxf86vm.so.1.0.0
- 7f0c30c6d000-7f0c30d13000 r-xp 00000000 08:06 1253744 /usr/lib/libfltk.so.1.1
- 7f0c30d13000-7f0c30f12000 ---p 000a6000 08:06 1253744 /usr/lib/libfltk.so.1.1
- 7f0c30f12000-7f0c30f16000 r--p 000a5000 08:06 1253744 /usr/lib/libfltk.so.1.1
- 7f0c30f16000-7f0c30f1b000 rw-p 000a9000 08:06 1253744 /usr/lib/libfltk.so.1.1
- 7f0c30f1b000-7f0c30f20000 rw-p 00000000 00:00 0
- 7f0c30f20000-7f0c30f39000 r-xp 00000000 08:06 1253746 /usr/lib/libfltk_gl.so.1.1
- 7f0c30f39000-7f0c31139000 ---p 00019000 08:06 1253746 /usr/lib/libfltk_gl.so.1.1
- 7f0c31139000-7f0c3113c000 r--p 00019000 08:06 1253746 /usr/lib/libfltk_gl.so.1.1
- 7f0c3113c000-7f0c3113e000 rw-p 0001c000 08:06 1253746 /usr/lib/libfltk_gl.so.1.1
- 7f0c3113e000-7f0c3114d000 r-xp 00000000 08:06 1253747 /usr/lib/libfltk_images.so.1.1
- 7f0c3114d000-7f0c3134d000 ---p 0000f000 08:06 1253747 /usr/lib/libfltk_images.so.1.1
- 7f0c3134d000-7f0c3134e000 r--p 0000f000 08:06 1253747 /usr/lib/libfltk_images.so.1.1
- 7f0c3134e000-7f0c3134f000 rw-p 00010000 08:06 1253747 /usr/lib/libfltk_images.so.1.1
- 7f0c3134f000-7f0c31366000 r-xp 00000000 08:06 84740 /usr/lib/libICE.so.6.3.0
- 7f0c31366000-7f0c31565000 ---p 00017000 08:06 84740 /usr/lib/libICE.so.6.3.0
- 7f0c31565000-7f0c31566000 r--p 00016000 08:06 84740 /usr/lib/libICE.so.6.3.0
- 7f0c31566000-7f0c31567000 rw-p 00017000 08:06 84740 /usr/lib/libICE.so.6.3.0
- 7f0c31567000-7f0c3156a000 rw-p 00000000 00:00 0
- 7f0c3156a000-7f0c31572000 r-xp 00000000 08:06 84769 /usr/lib/libSM.so.6.0.1
- 7f0c31572000-7f0c31771000 ---p 00008000 08:06 84769 /usr/lib/libSM.so.6.0.1
- 7f0c31771000-7f0c31772000 r--p 00007000 08:06 84769 /usr/lib/libSM.so.6.0.1
- 7f0c31772000-7f0c31773000 rw-p 00008000 08:06 84769 /usr/lib/libSM.so.6.0.1
- 7f0c31773000-7f0c317e9000 r-xp 00000000 08:06 544319 /usr/lib/mesa/libGL.so.1.2
- 7f0c317e9000-7f0c319e8000 ---p 00076000 08:06 544319 /usr/lib/mesa/libGL.so.1.2
- 7f0c319e8000-7f0c319f1000 r--p 00075000 08:06 544319 /usr/lib/mesa/libGL.so.1.2
- 7f0c319f1000-7f0c319f4000 rw-p 0007e000 08:06 544319 /usr/lib/mesa/libGL.so.1.2
- 7f0c319f4000-7f0c31a63000 r-xp 00000000 08:06 1253757 /usr/lib/libGLU.so.1.3.070701
- 7f0c31a63000-7f0c31c62000 ---p 0006f000 08:06 1253757 /usr/lib/libGLU.so.1.3.070701
- 7f0c31c62000-7f0c31c64000 r--p 0006e000 08:06 1253757 /usr/lib/libGLU.so.1.3.070701
- 7f0c31c64000-7f0c31c65000 rw-p 00070000 08:06 1253757 /usr/lib/libGLU.so.1.3.070701
- 7f0c31c65000-7f0c31cd7000 r-xp 00000000 08:06 156412 /usr/local/lib/libstage.so.3.2.2
- 7f0c31cd7000-7f0c31ed7000 ---p 00072000 08:06 156412 /usr/local/lib/libstage.so.3.2.2
- 7f0c31ed7000-7f0c31ed9000 r--p 00072000 08:06 156412 /usr/local/lib/libstage.so.3.2.2
- 7f0c31ed9000-7f0c31eda000 rw-p 00074000 08:06 156412 /usr/local/lib/libstage.so.3.2.2
- 7f0c31eda000-7f0c31edb000 rw-p 00000000 00:00 0
- 7f0c31edb000-7f0c31ef1000 r-xp 00000000 08:06 156431 /usr/local/lib/stageplugin.so
- 7f0c31ef1000-7f0c320f1000 ---p 00016000 08:06 156431 /usr/local/lib/stageplugin.so
- 7f0c320f1000-7f0c320f2000 r--p 00016000 08:06 156431 /usr/local/lib/stageplugin.so
- 7f0c320f2000-7f0c320f3000 rw-p 00017000 08:06 156431 /usr/local/lib/stageplugin.so
- 7f0c320f3000-7f0c328f4000 rw-p 00000000 00:00 0
- 7f0c328f4000-7f0c32900000 r-xp 00000000 08:06 1327215 /lib/libnss_files-2.11.1.so
- 7f0c32900000-7f0c32aff000 ---p 0000c000 08:06 1327215 /lib/libnss_files-2.11.1.so
- 7f0c32aff000-7f0c32b00000 r--p 0000b000 08:06 1327215 /lib/libnss_files-2.11.1.so
- 7f0c32b00000-7f0c32b01000 rw-p 0000c000 08:06 1327215 /lib/libnss_files-2.11.1.so
- 7f0c32b01000-7f0c33302000 rw-p 00000000 00:00 0
- 7f0c33302000-7f0c33308000 r-xp 00000000 08:06 85499 /usr/lib/libogg.so.0.6.0
- 7f0c33308000-7f0c33507000 ---p 00006000 08:06 85499 /usr/lib/libogg.so.0.6.0
- 7f0c33507000-7f0c33508000 r--p 00005000 08:06 85499 /usr/lib/libogg.so.0.6.0
- 7f0c33508000-7f0c33509000 rw-p 00006000 08:06 85499 /usr/lib/libogg.so.0.6.0
- 7f0c33509000-7f0c3357b000 r-xp 00000000 08:06 85501 /usr/lib/liboil-0.3.so.0.3.0
- 7f0c3357b000-7f0c3377b000 ---p 00072000 08:06 85501 /usr/lib/liboil-0.3.so.0.3.0
- 7f0c3377b000-7f0c3377c000 r--p 00072000 08:06 85501 /usr/lib/liboil-0.3.so.0.3.0
- 7f0c3377c000-7f0c33797000 rw-p 00073000 08:06 85501 /usr/lib/liboil-0.3.so.0.3.0
- 7f0c33797000-7f0c33799000 rw-p 00000000 00:00 0
- 7f0c33799000-7f0c3379e000 r-xp 00000000 08:06 84786 /usr/lib/libXdmcp.so.6.0.0
- 7f0c3379e000-7f0c3399d000 ---p 00005000 08:06 84786 /usr/lib/libXdmcp.so.6.0.0
- 7f0c3399d000-7f0c3399e000 r--p 00004000 08:06 84786 /usr/lib/libXdmcp.so.6.0.0
- 7f0c3399e000-7f0c3399f000 rw-p 00005000 08:06 84786 /usr/lib/libXdmcp.so.6.0.0
- 7f0c3399f000-7f0c339a1000 r-xp 00000000 08:06 84775 /usr/lib/libXau.so.6.0.0
- 7f0c339a1000-7f0c33ba1000 ---p 00002000 08:06 84775 /usr/lib/libXau.so.6.0.0
- 7f0c33ba1000-7f0c33ba2000 r--p 00002000 08:06 84775 /usr/lib/libXau.so.6.0.0
- 7f0c33ba2000-7f0c33ba3000 rw-p 00003000 08:06 84775 /usr/lib/libXau.so.6.0.0
- 7f0c33ba3000-7f0c33baf000 r-xp 00000000 08:06 1327287 /lib/libusb-1.0.so.0.0.0
- 7f0c33baf000-7f0c33daf000 ---p 0000c000 08:06 1327287 /lib/libusb-1.0.so.0.0.0
- 7f0c33daf000-7f0c33db0000 r--p 0000c000 08:06 1327287 /lib/libusb-1.0.so.0.0.0
- 7f0c33db0000-7f0c33db1000 rw-p 0000d000 08:06 1327287 /lib/libusb-1.0.so.0.0.0
- 7f0c33db1000-7f0c33e4a000 r-xp 00000000 08:06 1253661 /usr/lib/libxvidcore.so.4.2Aborted
- ---------------------------
- $ dmesg | tail -8
- [87988.286763] player[18889]: segfault at 0 ip 00007f7d52e558d4 sp 00007fff499c8040 error 4 in libc-2.11.1.so[7f7d52e18000+178000]
- [89689.370591] player[19798]: segfault at 0 ip 00007f5df868a8d4 sp 00007fffbc625300 error 4 in libc-2.11.1.so[7f5df864d000+178000]
- [89918.195518] [drm:i915_gem_do_execbuffer] *ERROR* Failed to pin buffer 15 of 22, total 2473984 bytes: -9
- [89918.195523] [drm:i915_gem_do_execbuffer] *ERROR* 1097 objects [20 pinned], 51740672 object bytes [10592256 pinned], 49418240/260308992 gtt bytes
- [89993.391053] player[19832]: segfault at 0 ip 00007f62f1dcd8d4 sp 00007fff65c6b4b0 error 4 in libc-2.11.1.so[7f62f1d90000+178000]
- [90021.690725] player[19836]: segfault at 0 ip 00007f3e920108d4 sp 00007fff2821d7e0 error 4 in libc-2.11.1.so[7f3e91fd3000+178000]
- [92806.852146] player[20604]: segfault at 8 ip 00007f6e60168665 sp 00007fff19274bb0 error 4 in libstage.so.3.2.2[7f6e60124000+72000]
- [92960.879061] player[20622]: segfault at 0 ip 00007f3b1ef2bdf8 sp 00007fff4ae53cc0 error 4 in libstage.so.3.2.2[7f3b1eefa000+72000]