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

Crash when runs on non default port with error: "attempt to divide by zero" #118

Closed
CompuRoot opened this issue Nov 24, 2022 · 2 comments
Closed

Comments

@CompuRoot
Copy link

CompuRoot commented Nov 24, 2022

To reproduce:

Host: debian amd64
microbin: microbin-v1.2.0-i686-unknown-linux-musl.tar.gz
run: microbin -p 15155
Action:

  • access microbin on htttp://ip.ip.ip.ip:15155
  • type anything in Content textarea and hit Save button

Fail:

  • browser redirects to htttp://ip.ip.ip.ip:15155/upload and end up with error: "This site can’t be reached. The connection was reset."
  • Error log in console where microbin is running:
thread 'actix-rt|system:0|arbiter:0' panicked at 'attempt to divide by zero', src/util/animalnumbers.rs:20:21
@goldstar611
Copy link

I think this is a duplicate of #107 Looks like the 32 bit version is being used here.

@CompuRoot
Copy link
Author

I think this is a duplicate of #107 Looks like the 32 bit version is being used here.

You are absolutely right, target machine hasn't supports for 32 bits binaries. Matched x86_64 binary works as expected.
Sorry for the noise and thank you for the microbin!

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