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

[Bug] z_ping and z_pong examples hanging #227

Closed
imstevenpmwork opened this issue Jul 4, 2023 · 1 comment
Closed

[Bug] z_ping and z_pong examples hanging #227

imstevenpmwork opened this issue Jul 4, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@imstevenpmwork
Copy link
Contributor

Describe the bug

Related to #226.
In the latest master both z_ping and z_pong example hang, even when there is a zenoh running. The order in which they are executed seem to have no effect.

To reproduce

  1. Fresh build from the 9b663d5 commit
  2. Run zenohd
  3. Run ./z_ping or ./z_pong

System info

System:

  • OS: macOS 13.4.1 22F82 arm64
  • CPU & GPU: Apple M2

Zenoh:

λ › zenohd --version                                                                                                                 ~
[2023-07-04T13:10:59Z INFO  zenohd] zenohd v0.7.0-rc-401-gb9103c3d built with rustc 1.70.0 (90c541806 2023-05-31)
The zenoh router v0.7.0-rc-401-gb9103c3d built with rustc 1.70.0 (90c541806 2023-05-31)
@imstevenpmwork imstevenpmwork added the bug Something isn't working label Jul 4, 2023
@cguimaraes cguimaraes self-assigned this Jul 4, 2023
@cguimaraes
Copy link
Member

This is most likely because the read and lease tasks were not started.
I will provide a PR in a while.

cguimaraes added a commit to cguimaraes/zenoh-pico that referenced this issue Jul 5, 2023
cguimaraes added a commit to cguimaraes/zenoh-pico that referenced this issue Jul 5, 2023
cguimaraes added a commit that referenced this issue Jul 6, 2023
* Fix ping-pong examples (#226) (#227)

* Fix ping-pong examples (#226) (#227)

* Address review comments and stop tasks

* C99 uses the explicit way

* Fix variable name
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