timvisee / ffsend

:mailbox_with_mail: Easily and securely share files from the command line. A fully featured Firefox Send client.
https://gitlab.com/timvisee/ffsend
GNU General Public License v3.0
6.89k stars 181 forks source link

ffsend upload: thread 'main' panicked at 'capacity overflow' #173

Open micronax opened 5 months ago

micronax commented 5 months ago

When I run the ffsend upload <filename> on my M1 Mac, I receive the following error:

(base) ➜  Downloads ffsend upload IMG_2901.JPG
Upload complete                                                                                               thread 'main' panicked at 'capacity overflow', library/alloc/src/raw_vec.rs:524:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ffsend(2503,0x1e4681c40) malloc: *** error for object 0x6fbb51e78000: pointer being freed was not allocated
ffsend(2503,0x1e4681c40) malloc: *** set a breakpoint in malloc_error_break to debug
[1]    2503 abort      ffsend upload IMG_2901.JPG

I installed ffsend 0.2.76 using homebrew

hostingbr00 commented 5 months ago

Same here.

caoimhebyrne commented 3 months ago

Same thing happening here! It's fine in a Linux docker container.

b1nhack commented 1 month ago

I have a fork, compiled the lite binary for aarch64-darwin, with the following features enabled: “archive”, “crypto-ring”, “send3”. The following parameters were used to reduce the file size.

strip = true # Automatically strip symbols from the binary.
opt-level = “z” # Optimize for size.
lto = true

Final size 4.1M

If this meets your expectations, this can be convenient for you.

constrain-endanger533 commented 1 month ago

Same