JuliaMPC/MAVs

process died problem with demoA

Closed this issue · 3 comments

$ docker run -i -t 93a99576c089
mavs@febeece3e120:~$ sudo rm -r /home/mavs/.julia/.cache

mavs@febeece3e120:~$ roslaunch system demoA.launch

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

mavs@febeece3e120:~$ sudo rm -r /home/mavs/.julia/.cache
mavs@febeece3e120:~$ roslaunch system demoA.launch
... logging to /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/roslaunch-febeece3e120-84.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://febeece3e120:43173/

SUMMARY
========

PARAMETERS
 * /case/actual/X0/ax: 0.0
 * /case/actual/X0/psi: 1.57079632679
 * /case/actual/X0/r: 0.0
 * /case/actual/X0/sa: 0.0
 * /case/actual/X0/ux: 0.0
 * /case/actual/X0/v: 0.0
 * /case/actual/X0/x: 200.0
 * /case/actual/X0/yVal: 0.0
 * /case/actual/obstacle/length: [5.0]
 * /case/actual/obstacle/num: 1
 * /case/actual/obstacle/radius: [6.0]
 * /case/actual/obstacle/vx: [0]
 * /case/actual/obstacle/vy: [0]
 * /case/actual/obstacle/x0: [200]
 * /case/actual/obstacle/y0: [110]
 * /case/goal/psi: 1.5701
 * /case/goal/tol: 4
 * /case/goal/x: 200.0
 * /case/goal/yVal: 125.0
 * /case_params_path: /home/mavs/MAVs/r...
 * /obstacle_detector/obstacle_extractor/active: true
 * /obstacle_detector/obstacle_extractor/circles_from_visibles: true
 * /obstacle_detector/obstacle_extractor/discard_converted_segments: false
 * /obstacle_detector/obstacle_extractor/distance_proportion: 0.001
 * /obstacle_detector/obstacle_extractor/frame_id: map
 * /obstacle_detector/obstacle_extractor/max_circle_radius: 4
 * /obstacle_detector/obstacle_extractor/max_group_distance: 0.5
 * /obstacle_detector/obstacle_extractor/max_merge_separation: 3
 * /obstacle_detector/obstacle_extractor/max_merge_spread: 2
 * /obstacle_detector/obstacle_extractor/max_split_distance: 5
 * /obstacle_detector/obstacle_extractor/min_group_points: 5
 * /obstacle_detector/obstacle_extractor/radius_enlargement: 0.3
 * /obstacle_detector/obstacle_extractor/transform_coordinates: true
 * /obstacle_detector/obstacle_extractor/use_pcl: true
 * /obstacle_detector/obstacle_extractor/use_scan: false
 * /obstacle_detector/obstacle_extractor/use_split_and_merge: true
 * /obstacle_detector/obstacle_tracker/active: true
 * /obstacle_detector/obstacle_tracker/frame_id: map
 * /obstacle_detector/obstacle_tracker/loop_rate: 100.0
 * /obstacle_detector/obstacle_tracker/measurement_variance: 1.0
 * /obstacle_detector/obstacle_tracker/min_correspondence_cost: 0.6
 * /obstacle_detector/obstacle_tracker/process_rate_variance: 0.1
 * /obstacle_detector/obstacle_tracker/process_variance: 0.1
 * /obstacle_detector/obstacle_tracker/std_correspondence_dev: 0.15
 * /obstacle_detector/obstacle_tracker/tracking_duration: 1
 * /robot_description: <?xml version="1....
 * /rosdistro: kinetic
 * /rosversion: 1.12.14
 * /system/flags/paused: True
 * /system/obstacle_detector/flags/initialized: False
 * /system/obstacle_detector/flags/running: True
 * /system/params/simulation_time: 1.0
 * /system/params/step_size: 0.001
 * /system/vehicle_description/flags/lidar_initialized: False
 * /system/vehicle_description/flags/obstacles_initialized: False
 * /system/vehicle_description/flags/postion_update_external: False
 * /system/vehicle_description/flags/running: True
 * /use_sim_time: True
 * /vehicle/chrono/vehicle_params/axleDirection: [0, 1, 0]
 * /vehicle/chrono/vehicle_params/centroidLoc: [0.056, 0.0, 0.523],
 * /vehicle/chrono/vehicle_params/centroidOrientation: [1, 0, 0, 0]
 * /vehicle/chrono/vehicle_params/chassisInertia: [1078.52, 2955.66...
 * /vehicle/chrono/vehicle_params/chassisMass: 2688.70,
 * /vehicle/chrono/vehicle_params/conicalGearRatio: -0.2,
 * /vehicle/chrono/vehicle_params/differentialBoxInertia: 0.6
 * /vehicle/chrono/vehicle_params/differentialRatio: -1.0
 * /vehicle/chrono/vehicle_params/driverLoc: [0, 0.5, 1.2],
 * /vehicle/chrono/vehicle_params/driverOrientation: [1, 0, 0, 0]
 * /vehicle/chrono/vehicle_params/driveshaftInertia: 0.5,
 * /vehicle/chrono/vehicle_params/frict_coeff: 0.9
 * /vehicle/chrono/vehicle_params/gearRatios: [-0.3, 0.2, 0.4, ...
 * /vehicle/chrono/vehicle_params/maxBrakeTorque: 4000
 * /vehicle/chrono/vehicle_params/motorBlockDirection: [1, 0, 0],
 * /vehicle/chrono/vehicle_params/pinionMaxAngle: 0.87
 * /vehicle/chrono/vehicle_params/pinionRadius: 0.1,
 * /vehicle/chrono/vehicle_params/rest_coeff: 0.1
 * /vehicle/chrono/vehicle_params/steeringLinkInertia: [1, 1, 1],
 * /vehicle/chrono/vehicle_params/steeringLinkLength: 0.896
 * /vehicle/chrono/vehicle_params/steeringLinkMass: 9.072,
 * /vehicle/chrono/vehicle_params/steeringLinkRadius: 0.03,
 * /vehicle/common/Izz: 4110.1
 * /vehicle/common/la: 1.5775
 * /vehicle/common/lb: 1.7245
 * /vehicle/common/m: 2688.7
 * /vehicle/common/wheel_radius: 0.268
 * /vehicle/nloptcontrol_planner/AXC: [-0.0001280151804...
 * /vehicle/nloptcontrol_planner/Caf: -84138.0
 * /vehicle/nloptcontrol_planner/Car: -78126.0
 * /vehicle/nloptcontrol_planner/FZ0: 35000.0
 * /vehicle/nloptcontrol_planner/Fy_max: 7500
 * /vehicle/nloptcontrol_planner/Fy_min: -7500
 * /vehicle/nloptcontrol_planner/FzF0: 13680.0
 * /vehicle/nloptcontrol_planner/FzR0: 12696.0
 * /vehicle/nloptcontrol_planner/Fz_min: 1000.0
 * /vehicle/nloptcontrol_planner/Fz_off: 100.0
 * /vehicle/nloptcontrol_planner/Izz: 4110.1
 * /vehicle/nloptcontrol_planner/KZX: 806.0
 * /vehicle/nloptcontrol_planner/KZYF: 675.0
 * /vehicle/nloptcontrol_planner/KZYR: 1076.0
 * /vehicle/nloptcontrol_planner/PCY1: 1.5874
 * /vehicle/nloptcontrol_planner/PDY1: 0.73957
 * /vehicle/nloptcontrol_planner/PDY2: -0.075004
 * /vehicle/nloptcontrol_planner/PEY1: 0.37562
 * /vehicle/nloptcontrol_planner/PEY2: -0.069325
 * /vehicle/nloptcontrol_planner/PEY3: 0.29168
 * /vehicle/nloptcontrol_planner/PHY1: 0.0056509
 * /vehicle/nloptcontrol_planner/PHY2: -0.0020257
 * /vehicle/nloptcontrol_planner/PKY1: -10.289
 * /vehicle/nloptcontrol_planner/PKY2: 3.3343
 * /vehicle/nloptcontrol_planner/PVY1: 0.015216
 * /vehicle/nloptcontrol_planner/PVY2: -0.010365
 * /vehicle/nloptcontrol_planner/ax_max: 2.0
 * /vehicle/nloptcontrol_planner/ax_min: -2.0
 * /vehicle/nloptcontrol_planner/jx_max: 5.0
 * /vehicle/nloptcontrol_planner/jx_min: -5.0
 * /vehicle/nloptcontrol_planner/la: 1.5775
 * /vehicle/nloptcontrol_planner/lb: 1.7245
 * /vehicle/nloptcontrol_planner/m: 2688.7
 * /vehicle/nloptcontrol_planner/psi_max: 6.28318
 * /vehicle/nloptcontrol_planner/psi_min: -6.28318
 * /vehicle/nloptcontrol_planner/sa_max: 0.523598333333
 * /vehicle/nloptcontrol_planner/sa_min: -0.523598333333
 * /vehicle/nloptcontrol_planner/sr_max: 0.0872663888889
 * /vehicle/nloptcontrol_planner/sr_min: -0.0872663888889
 * /vehicle/nloptcontrol_planner/u_max: 29.0
 * /vehicle/nloptcontrol_planner/u_min: 0.0
 * /vehicle/vehicle_description/base_clearance: 0.5
 * /vehicle/vehicle_description/base_height: 1.2
 * /vehicle/vehicle_description/base_length: 3.3
 * /vehicle/vehicle_description/base_link: base_link
 * /vehicle/vehicle_description/base_width: 1.9
 * /vehicle/vehicle_description/frameName: map
 * /vehicle/vehicle_description/ground_truth_topic: base_pose_ground_...
 * /vehicle/vehicle_description/kp: 1e8
 * /vehicle/vehicle_description/la: 1.6
 * /vehicle/vehicle_description/lb: 1.7
 * /vehicle/vehicle_description/lidar_x: 1.75
 * /vehicle/vehicle_description/lidar_z: 1.4
 * /vehicle/vehicle_description/mesh_mode: 1
 * /vehicle/vehicle_description/minDepth: 0.005
 * /vehicle/vehicle_description/mu1: 0.9
 * /vehicle/vehicle_description/mu2: 0.9
 * /vehicle/vehicle_description/robotName: hmmwv
 * /vehicle/vehicle_description/robotNamespace: hmmwv
 * /vehicle/vehicle_description/scale_factor: 0.2
 * /vehicle/vehicle_description/topic: lidar_points
 * /vehicle/vehicle_description/wheel_base: 1
 * /vehicle/vehicle_description/wheel_mass: 2.5
 * /vehicle/vehicle_description/wheel_radius: 0.393
 * /vehicle/vehicle_description/wheel_width: 0.1
 * /velodyne_top_link_nodelet_manager/num_worker_threads: 20
 * /voxel_grid/filter_field_name: z
 * /voxel_grid/filter_limit_max: 3.5
 * /voxel_grid/filter_limit_min: 0.01
 * /voxel_grid/filter_limit_negative: false
 * /voxel_grid/leaf_size: 0.01

NODES
  /
    bootstrap (system/bootstrap.jl)
    frame_tf_broadcaster (vehicle_description/frame_tf_broadcaster)
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    move_obstacles (vehicle_description/move_obstacles.jl)
    move_vehicle (vehicle_description/move_vehicle.jl)
    obstacle_extractor (nodelet/nodelet)
    obstacle_paramameters (obstacle_detector/obstacle_parameters.jl)
    obstacle_tracker (nodelet/nodelet)
    point_cloud_converter (point_cloud_converter/point_cloud_converter_node)
    postion (vehicle_description/link_positions.jl)
    postion_broadcaster (vehicle_description/position_broadcaster)
    ros_get_world_time_ (get_world_time_test/ros_get_world_time)
    rviz (rviz/rviz)
    spawn_obstacles (vehicle_description/spawn_obstacles.sh)
    spawn_urdf (gazebo_ros/spawn_model)
    unpause_gazebo (vehicle_description/unpause.jl)
    velodyne_top_link_nodelet_manager (nodelet/nodelet)
    voxel_grid (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [97]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 98553e5c-bd20-11e8-b2e5-0242ac110002
process[rosout-1]: started with pid [110]
started core service [/rosout]
process[ros_get_world_time_-2]: started with pid [113]
process[gazebo-3]: started with pid [114]
process[gazebo_gui-4]: started with pid [138]
process[spawn_urdf-5]: started with pid [147]
process[spawn_obstacles-6]: started with pid [150]
process[move_obstacles-7]: started with pid [204]
process[move_vehicle-8]: started with pid [213]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
process[postion-9]: started with pid [220]
process[frame_tf_broadcaster-10]: started with pid [224]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
process[postion_broadcaster-11]: started with pid [236]
process[velodyne_top_link_nodelet_manager-12]: started with pid [278]
process[obstacle_paramameters-13]: started with pid [279]
[ INFO] [1537480842.390181179]: Initializing nodelet with 20 worker threads.
INFO: cannot create a symlink to latest log directory: [Errno 2] No such file or directory: '/home/mavs/.ros/log/latest'
process[voxel_grid-14]: started with pid [280]
[ INFO] [1537480842.705277232]: Loading nodelet /voxel_grid of type pcl/VoxelGrid to manager velodyne_top_link_nodelet_manager with the following remappings:
[ INFO] [1537480842.705328924]: /voxel_grid/input -> /lidar_points
process[point_cloud_converter-15]: started with pid [352]
process[obstacle_extractor-16]: started with pid [377]
process[obstacle_tracker-17]: started with pid [412]
process[rviz-18]: started with pid [457]
process[bootstrap-19]: started with pid [462]
process[unpause_gazebo-20]: started with pid [465]
[ INFO] [1537480848.307800850]: [Obstacle Extractor]: Initializing nodelet
[ INFO] [1537480848.520258740]: [Obstacle Tracker]: Initializing nodelet
QXcbConnection: Could not connect to display 
[rviz-18] process has died [pid 457, exit code -6, cmd /opt/ros/kinetic/lib/rviz/rviz -d /home/mavs/MAVs/ros/src/computing/perception/detection/obstacle_detection/resources/display.rviz __name:=rviz __log:=/home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/rviz-18.log].
log file: /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/rviz-18*.log
[ INFO] [1537480851.047156076]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1537480851.048839236]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
Aborted (core dumped)
[gazebo_gui-4] process has died [pid 138, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/gazebo_gui-4.log].
log file: /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/gazebo_gui-4*.log
Unhandled exception in thread started by 
sys.excepthook is missing
lost sys.stderr
[spawn_obstacles-6] process has finished cleanly
log file: /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/spawn_obstacles-6*.log
[ INFO] [1537480882.343100025]: Velodyne laser plugin ready, 16 lasers
[spawn_urdf-5] process has finished cleanly
log file: /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/spawn_urdf-5*.log
WARNING: The call to compilecache failed to create a usable precompiled cache file for module PyCall. Got:
WARNING: Module MacroTools uuid did not match cache file.
WARNING: eval from module Main to RobotOS:    
Expr(:call, Expr(:., :Base, :include_from_node1)::Any, "/home/mavs/.julia/v0.6/PyCall/src/PyCall.jl")::Any
  ** incremental compilation may be broken for this module **

WARNING: The call to compilecache failed to create a usable precompiled cache file for module PyCall. Got:
WARNING: Module MacroTools uuid did not match cache file.
WARNING: eval from module Main to RobotOS:    
Expr(:call, Expr(:., :Base, :include_from_node1)::Any, "/home/mavs/.julia/v0.6/PyCall/src/PyCall.jl")::Any
  ** incremental compilation may be broken for this module **

WARNING: The call to compilecache failed to create a usable precompiled cache file for module PyCall. Got:
WARNING: Module MacroTools uuid did not match cache file.
WARNING: eval from module Main to RobotOS:    
Expr(:call, Expr(:., :Base, :include_from_node1)::Any, "/home/mavs/.julia/v0.6/PyCall/src/PyCall.jl")::Any
  ** incremental compilation may be broken for this module **

WARNING: The call to compilecache failed to create a usable precompiled cache file for module PyCall. Got:
WARNING: Module MacroTools uuid did not match cache file.
WARNING: eval from module Main to RobotOS:    
Expr(:call, Expr(:., :Base, :include_from_node1)::Any, "/home/mavs/.julia/v0.6/PyCall/src/PyCall.jl")::Any
  ** incremental compilation may be broken for this module **

WARNING: The call to compilecache failed to create a usable precompiled cache file for module PyCall. Got:
WARNING: Module MacroTools uuid did not match cache file.
WARNING: eval from module Main to RobotOS:    
Expr(:call, Expr(:., :Base, :include_from_node1)::Any, "/home/mavs/.julia/v0.6/PyCall/src/PyCall.jl")::Any
  ** incremental compilation may be broken for this module **

the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
starting bootstrap node ...
waiting on move_vehicle.jl in vehicle_description ...
Waiting for '/gazebo/unpause_physics' service...
Waiting for 'gazebo/get_model_state' service...
Waiting for 'gazebo/set_model_state' service...
waiting on move_vehicle.jl in vehicle_description ...
lidar simulation in Gazebo has been initialized
waiting on move_obstacles.jl in vehicle_description ...
Waiting for 'gazebo/get_link_state' service...
waiting on move_obstacles.jl in vehicle_description ...
WARNING: Module PyCall uuid did not match cache file.
ERROR: LoadError: waiting on move_obstacles.jl in vehicle_description ...
Module RobotOS declares __precompile__(true) but require failed to create a usable precompiled cache file.
Stacktrace:
 [1] _require(::Symbol) at ./loading.jl:502
 [2] require(::Symbol) at ./loading.jl:405
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] process_options(::Base.JLOptions) at ./client.jl:305
 [6] _start() at ./client.jl:371
while loading /home/mavs/MAVs/ros/src/models/gazebo/vehicle_description/move_obstacles.jl, in expression starting on line 3
[move_obstacles-7] process has died [pid 204, exit code 1, cmd /home/mavs/MAVs/ros/src/models/gazebo/vehicle_description/move_obstacles.jl __name:=move_obstacles __log:=/home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/move_obstacles-7.log].
log file: /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/move_obstacles-7*.log
waiting on move_obstacles.jl in vehicle_description ...
waiting on move_obstacles.jl in vehicle_description ...
waiting on move_obstacles.jl in vehicle_description ...

The process died problem appears third times:

[rviz-18] process has died [pid 457, exit code -6, cmd /opt/ros/kinetic/lib/rviz/rviz -d /home/mavs/MAVs/ros/src/computing/perception/detection/obstacle_detection/resources/display.rviz __name:=rviz __log:=/home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/rviz-18.log].
log file: /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/rviz-18*.log
[gazebo_gui-4] process has died [pid 138, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/gazebo_gui-4.log].
log file: /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/gazebo_gui-4*.log
[move_obstacles-7] process has died [pid 204, exit code 1, cmd /home/mavs/MAVs/ros/src/models/gazebo/vehicle_description/move_obstacles.jl __name:=move_obstacles __log:=/home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/move_obstacles-7.log].
log file: /home/mavs/.ros/log/98553e5c-bd20-11e8-b2e5-0242ac110002/move_obstacles-7*.log
process[rosout-1]: started with pid [28438]
started core service [/rosout]
process[ros_get_world_time_-2]: started with pid [28462]
process[gazebo-3]: started with pid [28463]
[ INFO] [1537485514.525201602]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1537485514.526001937]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
process[gazebo_gui-4]: started with pid [28470]
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
process[spawn_urdf-5]: started with pid [28539]
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
process[spawn_obstacles-6]: started with pid [28577]
process[move_obstacles-7]: started with pid [28663]
Segmentation fault (core dumped)
[gazebo_gui-4] process has died [pid 28470, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/mavs/.ros/log/7c57e5c8-bd2b-11e8-b5eb-90cdb691c2c7/gazebo_gui-4.log].
log file: /home/mavs/.ros/log/7c57e5c8-bd2b-11e8-b5eb-90cdb691c2c7/gazebo_gui-4*.log

This issue no longer exists.