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

Simulation crash due to WebsocketServer #674

Closed
zbynekwinkler opened this issue Oct 16, 2020 · 2 comments
Closed

Simulation crash due to WebsocketServer #674

zbynekwinkler opened this issue Oct 16, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@zbynekwinkler
Copy link

In simulation d7741e9d-b97c-4757-a918-d02a8a9736df I see the following stacktrace in the simulation console:

[Err] [WebsocketServer.cc:537] Null pointer to a conection. This should not happen.
Stack trace (most recent call last) in thread 66:
#7    Object "", at 0xffffffffffffffff, in 
#6    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb409648a3e, in clone
#5    Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7fb40930f6da, in start_thread
#4    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fb4065af6de, in std::error_code::default_error_condition() const
#3    Object "/usr/lib/x86_64-linux-gnu/libignition-transport7.so.7", at 0x7fb40501b863, in ignition::transport::v7::NodeSharedPrivate::PublishThread()
#2    Object "/usr/lib/x86_64-linux-gnu/libignition-transport7.so.7", at 0x7fb405038b7a, in ignition::transport::v7::RawSubscriptionHandler::RunRawCallback(char const*, unsigned long, ignition::transport::v7::MessageInfo const&)
#1    Object "/usr/lib/x86_64-linux-gnu/ign-launch-1/plugins/libignition-launch-websocket-server.so", at 0x7fb4054a1e9c, in ignition::launch::WebsocketServer::OnWebsocketSubscribedMessage(char const*, unsigned long, ignition::transport::v7::MessageInfo const&)
#0    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fb40659bfa3, in std::_Rb_tree_increment(std::_Rb_tree_node_base*)
Segmentation fault (Signal sent by the kernel [(nil)])
./run_sim.bash: line 17:    54 Segmentation fault      (core dumped) ign launch -v 4 $@
[Dbg] [VisibilityRfModel.cc:134] Range: 0, Exp: 1.5, Num hops: 0, TX: 20
@nkoenig nkoenig self-assigned this Oct 16, 2020
@nkoenig
Copy link
Contributor

nkoenig commented Oct 16, 2020

Thanks. The fix is here: gazebosim/gz-launch#68

@nkoenig nkoenig added the bug Something isn't working label Oct 19, 2020
@nkoenig
Copy link
Contributor

nkoenig commented Dec 16, 2020

This has been fixed and released.

@nkoenig nkoenig closed this as completed Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants