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

Error running client #12

Open
louisroyer opened this issue Sep 27, 2021 · 3 comments
Open

Error running client #12

louisroyer opened this issue Sep 27, 2021 · 3 comments

Comments

@louisroyer
Copy link

Hello, when running a qperf server and a qperf client, on client side I have the following error then client exits:

qperf: /qperf/extern/quicly/lib/quicly.c:470: lock_now: Assertion `is_reentrant && "caller must be reentrant"' failed.

Have I done any mistake?

Here is my setup (using docker-compose): https://github.com/louisroyer/qperf-docker/tree/v1.0.0

Full logs here:

$ docker-compose up
Starting qperf-client ... done
Starting qperf-server ... done
Attaching to qperf-client, qperf-server
qperf-client    | [2021-09-27T16:56:31+00:00] Running client-entrypoint.sh
qperf-server    | [2021-09-27T16:56:31+00:00] Running server-entrypoint.sh
qperf-client    | [2021-09-27T16:56:31+00:00] Starting client in 5 seconds.
qperf-server    | [2021-09-27T16:56:31+00:00] Change working directory to /qperf
qperf-client    | qperf: /qperf/extern/quicly/lib/quicly.c:470: lock_now: Assertion `is_reentrant && "caller must be reentrant"' failed.
qperf-client    | /usr/local/bin/entrypoint.sh: line 12:    12 Aborted                 (core dumped) qperf "$@"
qperf-client    | [2021-09-27T16:56:36+00:00] Running client-exitpoint.sh
qperf-client exited with code 0
qperf-server    | starting server with pid 9, port 18080, cc reno, iw 10
qperf-server    | got new connection
qperf-server    | request received, sending data
qperf-server    | connection 0 second 0 send window: 16890 packets sent: 27 packets lost: 0
qperf-server    | connection 0 second 1 send window: 16890 packets sent: 2 packets lost: 0
qperf-server    | connection 0 second 2 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 3 send window: 16890 packets sent: 2 packets lost: 0
qperf-server    | connection 0 second 4 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 5 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 6 send window: 16890 packets sent: 2 packets lost: 0
qperf-server    | connection 0 second 7 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 8 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 9 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 10 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 11 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 12 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 13 send window: 16890 packets sent: 2 packets lost: 0
qperf-server    | connection 0 second 14 send window: 16890 packets sent: 0 packets lost: 0
qperf-server    | connection 0 second 15 send window: 16890 packets sent: 0 packets lost: 0
^CGracefully stopping... (press Ctrl+C again to force)
Stopping qperf-server ... 
Killing qperf-server  ... done

Regards

@rbruenig
Copy link
Owner

Sorry for late reply. I don't see a mistake right away, but this could be cause by the currently out-dated quicly version that qperf uses. I will update this in the near future.

@rbruenig
Copy link
Owner

Just updated to newest quicly version. Could you please try if this issue is still preset with updated qperf? Make sure to run git submodule update --recursive after you pull the newest commit.

@louisroyer
Copy link
Author

After updating qperf and rebuilding my docker images, I still have this issue:

qperf-client    | [2022-02-27T11:56:41+00:00] Running client-entrypoint.sh                                                                                                                        
qperf-client    | [2022-02-27T11:56:41+00:00] Starting client in 5 seconds.                                                                                                                       
qperf-server    | [2022-02-27T11:56:41+00:00] Running server-entrypoint.sh                                                                                                                        
qperf-server    | [2022-02-27T11:56:41+00:00] Change working directory to /qperf                                                                                                                  
qperf-client    | qperf: /qperf/extern/quicly/lib/quicly.c:494: lock_now: Assertion `is_reentrant && "caller must be reentrant"' failed.                                                          
qperf-client    | /usr/local/bin/entrypoint.sh: line 12:    11 Aborted                 (core dumped) qperf "$@"                                                                                   
qperf-client    | [2022-02-27T11:56:46+00:00] Running client-exitpoint.sh                                                                                                                         
qperf-client exited with code 0                                                                  
qperf-server    | starting server with pid 11, port 18080, cc reno, iw 10                                                                                                                         
qperf-server    | got new connection                                                                                                                                                              
qperf-server    | request received, sending data                                                                                                                                                  
qperf-server    | connection 0 second 0 send window: 16890 packets sent: 27 packets lost: 0                                                                                                       
qperf-server    | connection 0 second 1 send window: 16890 packets sent: 2 packets lost: 0                                                                                                        
qperf-server    | connection 0 second 2 send window: 16890 packets sent: 0 packets lost: 0                                                                                                        
^CGracefully stopping... (press Ctrl+C again to force) 

Also, git submodule update --recursive is well run.

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