HKUST-Aerial-Robotics / EPSILON

MIT License
606 stars 220 forks source link

Process died after roslaunch #17

Closed LiJiangnanBit closed 5 months ago

LiJiangnanBit commented 2 years ago

Hi, when i run roslaunch planning_integrated test_ssc_with_eudm_ros.launch, the process just died. env: Ubuntu 18.04 log:

NODES / test_ssc_with_eudm_0 (planning_integrated/test_ssc_with_eudm)

ROS_MASTER_URI=http://localhost:11311

process[test_ssc_with_eudm_0-1]: started with pid [22092]

[ConfigLoader] Loading vehicle set terminate called after throwing an instance of 'nlohmann::detail::parse_error' what(): [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal Stack trace (most recent call last):

14 Object "/lib/x86_64-linux-gnu/ld-2.27.so", at 0xffffffffffffffff, in

13 Object "/home/caros/code/epsilon_ws/devel/lib/planning_integrated/test_ssc_with_eudm", at 0x5588b16fbf59, in _start

12 Source "../csu/libc-start.c", line 310, in __libc_start_main [0x7f9a8f5c0bf6]

11 Source "/home/caros/code/epsilon_ws/src/EPSILON/app/planning_integrated/src/test_ssc_with_eudm.cc", line 71, in main [0x5588b16fb2e8]

     68:   }
     69: 
     70:   semantic_map_manager::SemanticMapManager semantic_map_manager(
  >  71:       ego_id, agent_config_path);
     72:   semantic_map_manager::RosAdapter smm_ros_adapter(nh, &semantic_map_manager);
     73:   smm_ros_adapter.BindMapUpdateCallback(SemanticMapUpdateCallback);

10 Source "/home/caros/code/epsilon_ws/src/EPSILON/core/semantic_map_manager/src/semantic_map_manager.cc", line 11, in SemanticMapManager [0x7f9a903e865b]

      8:   p_config_loader_ = new ConfigLoader();
      9:   p_config_loader_->set_ego_id(ego_id_);
     10:   p_config_loader_->set_agent_config_path(agent_config_path_);
  >  11:   p_config_loader_->ParseAgentConfig(&agent_config_info_);
     12:   global_timer_.tic();
     13: }

9 | Source "/home/caros/code/epsilon_ws/src/EPSILON/core/semantic_map_manager/src/config_loader.cc", line 12, in operator>>

|    10:   std::fstream fs(agent_config_path_);
|    11:   Json root;
| >  12:   fs >> root;
|    13: 
|    14:   Json agent_config_json = root["agent_config"];
  Source "/home/caros/code/epsilon_ws/src/EPSILON/core/common/thirdparty/json/json.hpp", line 20946, in ParseAgentConfig [0x7f9a90405325]
   20943:     */
   20944:     friend std::istream& operator>>(std::istream& i, basic_json& j)
   20945:     {
  >20946:         parser(detail::input_adapter(i)).parse(false, j);
   20947:         return i;
   20948:     }

8 Source "/home/caros/code/epsilon_ws/src/EPSILON/core/common/thirdparty/json/json.hpp", line 8767, in parse [0x7f9a904134c7]

   8764:         else
   8765:         {
   8766:             json_sax_dom_parser<BasicJsonType> sdp(result, allow_exceptions);
  >8767:             sax_parse_internal(&sdp);
   8768:             result.assert_invariant();
   8769: 
   8770:             // in strict mode, input must be completely read

7 Source "/home/caros/code/epsilon_ws/src/EPSILON/core/common/thirdparty/json/json.hpp", line 8995, in sax_parse_internal<nlohmann::detail::json_sax_dom_parser<nlohmann::basic_json<> > > [0x7f9a90411fee]

   8992:                         return sax->parse_error(m_lexer.get_position(),
   8993:                                                 m_lexer.get_token_string(),
   8994:                                                 parse_error::create(101, m_lexer.get_position(),
  >8995:                                                         exception_message(token_type::literal_or_value, "value")));
   8996:                     }
   8997:                 }
   8998:             }

6 Source "/home/caros/code/epsilon_ws/src/EPSILON/core/common/thirdparty/json/json.hpp", line 4816, in parse_error [0x7f9a90408353]

   4813:             switch ((ex.id / 100) % 100)
   4814:             {
   4815:                 case 1:
  >4816:                     JSON_THROW(*static_cast<const detail::parse_error*>(&ex));
   4817:                 case 4:
   4818:                     JSON_THROW(*static_cast<const detail::out_of_range*>(&ex));
   4819:                 // LCOV_EXCL_START

5 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25", at 0x7f9a8fc3ad53, in __cxa_throw

4 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25", at 0x7f9a8fc3ab20, in std::terminate()

3 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25", at 0x7f9a8fc3aae5, in

2 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25", at 0x7f9a8fc34956, in

1 Source "/build/glibc-S9d2JN/glibc-2.27/stdlib/abort.c", line 79, in abort [0x7f9a8f5df920]

0 Source "../sysdeps/unix/sysv/linux/raise.c", line 51, in raise [0x7f9a8f5ddfb7]

Aborted (Signal sent by tkill() 22092 1001) [test_ssc_with_eudm_0-1] process has died [pid 22092, exit code -6, cmd /home/caros/code/epsilon_ws/devel/lib/planning_integrated/test_ssc_with_eudm ~arena_info_static:=/arena_info_static ~arena_info_dynamic:=/arena_info_dynamic ~ctrl:=/ctrl/agent_0 name:=test_ssc_with_eudm_0 log:=/home/caros/.ros/log/3dad14cc-6851-11ec-82ac-2cf05dcb5434/test_ssc_with_eudm_0-1.log]. log file: /home/caros/.ros/log/3dad14cc-6851-11ec-82ac-2cf05dcb5434/test_ssc_with_eudm_0-1*.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete