Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Autoware-01] AST merging #185

Open
tobiasduerschmid opened this issue Sep 15, 2021 · 2 comments
Open

[Autoware-01] AST merging #185

tobiasduerschmid opened this issue Sep 15, 2021 · 2 comments

Comments

@tobiasduerschmid
Copy link
Collaborator

tobiasduerschmid commented Sep 15, 2021

It seems like AST merging is still an issue, as the recovery of node xbeeCoordinator in package autorally_core shows.
Directly after saying built 3 ASTs the analysis fails with RuntimeError: static recovery process failed
buggy.system-recovery.log

@ChrisTimperley
Copy link
Member

building ASTs..
In file included from /ros_ws/src/autorally/autorally_core/src/xbee/XbeeCoordinator.cpp:1:
In file included from /ros_ws/src/autorally/autorally_core/src/xbee/XbeeCoordinator.h:11:
In file included from /ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.h:19:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/SerialInterfaceThreaded.h:37:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/SerialCommon.h:37:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/Diagnostics.h:37:
In file included from /opt/ros/indigo/include/diagnostic_updater/diagnostic_updater.h:45:
In file included from /ros_ws/devel/include/diagnostic_msgs/DiagnosticArray.h:16:
�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:42:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, const M& value)
�[0;1;32m                                                   ^
�[0m�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:54:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, int8_t value)
�[0;1;32m                                                   ^
�[0m�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:64:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, uint8_t value)
�[0;1;32m                                                   ^
�[0mIn file included from /ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:41:
In file included from /ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.h:19:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/SerialInterfaceThreaded.h:37:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/SerialCommon.h:37:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/Diagnostics.h:37:
In file included from /opt/ros/indigo/include/diagnostic_updater/diagnostic_updater.h:45:
In file included from /ros_ws/devel/include/diagnostic_msgs/DiagnosticArray.h:16:
�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:42:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, const M& value)
�[0;1;32m                                                   ^
�[0m�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:54:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, int8_t value)
�[0;1;32m                                                   ^
�[0m�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:64:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, uint8_t value)
�[0;1;32m                                                   ^
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:262:71: �[0m�[0;1;35mwarning: �[0m�[1madding 'const char' to a string does not append to the string [-Wstring-plus-int]�[0m
      m_port.diag_warn("Xbee: transmit error (likely wrong address):" + message[5]);
�[0;1;32m                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:262:71: �[0m�[0;1;30mnote: �[0muse array indexing to silence this warning�[0m
      m_port.diag_warn("Xbee: transmit error (likely wrong address):" + message[5]);
�[0;1;32m                                                                      ^
�[0m�[0;32m                       &                                              [           ]
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:494:66: �[0m�[0;1;35mwarning: �[0m�[1madding 'char' to a string does not append to the string [-Wstring-plus-int]�[0m
        m_port.diag_error("Xbee: hexToString Invalid hex digit:" + a);
�[0;1;32m                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:494:66: �[0m�[0;1;30mnote: �[0muse array indexing to silence this warning�[0m
        m_port.diag_error("Xbee: hexToString Invalid hex digit:" + a);
�[0;1;32m                                                                 ^
�[0m�[0;32m                          &                                      [  ]
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:502:67: �[0m�[0;1;35mwarning: �[0m�[1madding 'char' to a string does not append to the string [-Wstring-plus-int]�[0m
        m_port.diag_error("Xbee:  hexToString Invalid hex digit:" + b);
�[0;1;32m                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:502:67: �[0m�[0;1;30mnote: �[0muse array indexing to silence this warning�[0m
        m_port.diag_error("Xbee:  hexToString Invalid hex digit:" + b);
�[0;1;32m                                                                  ^
�[0m�[0;32m                          &                                       [  ]
�[0mIn file included from /ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:41:
In file included from /ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.h:19:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/SerialInterfaceThreaded.h:37:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/SerialCommon.h:37:
In file included from /ros_ws/src/autorally/autorally_core/include/autorally_core/Diagnostics.h:37:
In file included from /opt/ros/indigo/include/diagnostic_updater/diagnostic_updater.h:45:
In file included from /ros_ws/devel/include/diagnostic_msgs/DiagnosticArray.h:16:
�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:42:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, const M& value)
�[0;1;32m                                                   ^
�[0m�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:54:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, int8_t value)
�[0;1;32m                                                   ^
�[0m�[1m/ros_ws/src/roscpp_core/roscpp_traits/include/ros/message_operations.h:64:52: �[0m�[0;1;35mwarning: �[0m�[1munused parameter 'indent' [-Wunused-parameter]�[0m
  static void stream(Stream& s, const std::string& indent, uint8_t value)
�[0;1;32m                                                   ^
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:262:71: �[0m�[0;1;35mwarning: �[0m�[1madding 'const char' to a string does not append to the string [-Wstring-plus-int]�[0m
      m_port.diag_warn("Xbee: transmit error (likely wrong address):" + message[5]);
�[0;1;32m                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:262:71: �[0m�[0;1;30mnote: �[0muse array indexing to silence this warning�[0m
      m_port.diag_warn("Xbee: transmit error (likely wrong address):" + message[5]);
�[0;1;32m                                                                      ^
�[0m�[0;32m                       &                                              [           ]
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:494:66: �[0m�[0;1;35mwarning: �[0m�[1madding 'char' to a string does not append to the string [-Wstring-plus-int]�[0m
        m_port.diag_error("Xbee: hexToString Invalid hex digit:" + a);
�[0;1;32m                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:494:66: �[0m�[0;1;30mnote: �[0muse array indexing to silence this warning�[0m
        m_port.diag_error("Xbee: hexToString Invalid hex digit:" + a);
�[0;1;32m                                                                 ^
�[0m�[0;32m                          &                                      [  ]
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:502:67: �[0m�[0;1;35mwarning: �[0m�[1madding 'char' to a string does not append to the string [-Wstring-plus-int]�[0m
        m_port.diag_error("Xbee:  hexToString Invalid hex digit:" + b);
�[0;1;32m                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
�[0m�[1m/ros_ws/src/autorally/autorally_core/src/xbee/XbeeInterface.cpp:502:67: �[0m�[0;1;30mnote: �[0muse array indexing to silence this warning�[0m
        m_port.diag_error("Xbee:  hexToString Invalid hex digit:" + b);
�[0;1;32m                                                                  ^
�[0m�[0;32m                          &                                       [  ]
�[0mbuilt 3 ASTs
importing decls from translation unit [1/2]

@ChrisTimperley
Copy link
Member

It looks like there's no problem building the ASTs. Some unspecified failure occurs during AST merging. I'll run this with gdb later to figure out what's happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants