-
Notifications
You must be signed in to change notification settings - Fork 45
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
Node crashes without showing an error message #116
Comments
Does this mean that the environment variable
It is expected behavior that a node without credential fails to be created if the prompt is configured to use SROS2.
Does |
Yes.
That error message didn't appear.
Yes, that one failed with an error message. I will try to reproduce this error in linux too, to check if it happens or not. |
Can't reproduce it on Linux, I see the error message you're mentioning in that case. On Windows, I only see that error message when doing a remapping on talker or listener demos. But when running any other executable (intra_process_demo cyclic_pipeline, demo_nodes_cpp add_two_ints_server, demo_nodes_cpp parameter_blackboard), it crashes without printing an error message. |
hmmm that is odd, and definitely not expected behavior. I don't have the ability to test on Windows at the moment. Maybe you will get more hints of where it's crashing by enabling more logging? e.g. if you run
Bypassing Python and running you executable directly may also help getting more information Is it also crashing if you set |
I guess you clarified to @mikaelarguedas that you did set
What do you mean by remapping? If you remap/change the ros2 topic/service names, you'd need to update the DDS topic permission accordingly. |
@ruffsl I did exactly the same steps in windows and linux, and the behavior is different.
In a new terminal/command-prompt:
All the @mikaelarguedas I will later try to reproduce that cases and answer.
I used the same settings, both on Windows and Linux.
I meant remapping the node name, as the example above ( |
Running
And then it crashes.
I ran
No, it doesn't crash. Extra note: I realized that the wrong behavior is only with cpp executables. I see the expected error with python executables. For example, demo_nodes_py add_two_ints_service output:
|
Bug report
Required Info:
Steps to reproduce issue
Follow https://github.com/ros2/sros2/blob/master/SROS2_Windows.md tutorial.
After having configuring the command prompt for using security (with or without
Authentication
), run any other example not related to talker/listener. e.g.:Expected behavior
It should show a nice error.
Actual behavior
It's finished without saying nothing.
Additional information
Doing
echo %errorlevel%
returns-1
.I don't know if this is the known behavior of it's a bug.
If it's known, it would be nice to at least show an error message.
The text was updated successfully, but these errors were encountered: