hmm, this looks like a bug. Do you want to file a ticket on it? One can do that here.
https://sourceforge.net/p/iperf2/tickets/ Bob PS. I'm way behind in sending out shirts to iperf 2 volunteers. I need to figure out a system to collect mail to addresses and size that's secure and private. On Fri, Jun 18, 2021 at 10:41 AM Gustavo Silva <[email protected]> wrote: > Hi, > I'm running iperf-2.1.1-dev on an OpenWRT system using the following > command: > > iperf --client "server-url" -p 5001 --format m --time 10 --reverse > > The measurement is successful but there seems to be a thread that is never > joined, therefore making the process run endlessly. I cross-compiled iperf > from source for my target using debugging flags such as > --enable-thread-debug and the resulting log can be seen in the attached > file iperflog-openwrt.txt. > > For comparison, I also runned the same measurement on my PC (Ubuntu 20.04) > and the process terminated correctly. See the attached file > iperflog-ubuntu.txt. > The difference can be seen in the last few lines of the log files. While > on Ubuntu the reporter thread finishes correctly: > > THREAD(45773):[16:52:03.100912] Free common=0x7f5e84000d50 > THREAD(45773):[16:52:03.100965] reporter thread job queue request lock > THREAD(45773):[16:52:03.101013] reporter thread job queue unlock > THREAD(45773):[16:52:03.101059] Reporter thread finished user/traffic 1/0 > THREAD(45773):[16:52:03.101139] Free thread settings=0x55d046cda8d0 > > On OpenWRT it doesn't: > > THREAD(17129):[19:33:26.868959] Free common=0x77de58e0 > THREAD(17129):[19:33:26.869685] Server destructor sock=3 fullduplex=false > THREAD(17129):[19:33:26.870928] Free thread settings=0x77f3f730 > THREAD(17127):[19:33:27.864247] Jobq *WAIT* exit 0/0 cond=0x447ac4 > threads=1 > THREAD(17127):[19:33:28.864703] Jobq *WAIT* exit 0/0 cond=0x447ac4 > threads=1 > THREAD(17127):[19:33:29.865145] Jobq *WAIT* exit 0/0 cond=0x447ac4 > threads=1 > THREAD(17127):[19:33:30.865592] Jobq *WAIT* exit 0/0 cond=0x447ac4 > threads=1 > > Some additional information: > OS: OpenWRT 19.07.7 > Processor architecture: MIPS 32 > > Thank you in advance! > > > > _______________________________________________ > Iperf-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/iperf-users > -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Iperf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iperf-users
