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

Enry binary freezes if called multiple times sequentially #8

Open
vsmaxim opened this issue Sep 28, 2020 · 1 comment
Open

Enry binary freezes if called multiple times sequentially #8

vsmaxim opened this issue Sep 28, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@vsmaxim
Copy link

vsmaxim commented Sep 28, 2020

Hi! I'm facing strange bug with enry release binaries, it freezes if called multiple times. Here is minimal bash script to reproduce such behavior (this happens not only on small files, but on large directories also).

test_dir - is directory with only one empty.py file which is empty.

#!/bin/bash
for i in {1..100}; do
  time ./enry ./test_dir -json 1>/dev/null 2>/dev/null
done

At some iteration this happen:

real    0m0.039s
user    0m0.039s
sys     0m0.010s

# This step is frozen for ~40 secs, but it can be even slower
real    0m42.637s
user    0m42.884s
sys     0m1.577s

real    0m0.044s
user    0m0.052s
sys     0m0.015s

I've tested it with enry release v 1.1.0 on these OSs:

  • macOS Catalina v. 10.15.5
  • Ubuntu 18.04.3 LTS
@vsmaxim
Copy link
Author

vsmaxim commented Sep 28, 2020

If enry is built source on target platform, there is no such bug and everything is fine.

@bzz bzz added the bug Something isn't working label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants