ffsend icon indicating copy to clipboard operation
ffsend copied to clipboard

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

Open micronax opened this issue 11 months ago • 5 comments

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

micronax avatar Feb 26 '24 14:02 micronax

Same here.

hostingbr00 avatar Feb 28 '24 02:02 hostingbr00

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

caoimhebyrne avatar Apr 07 '24 19:04 caoimhebyrne

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.

b1nhack avatar May 31 '24 13:05 b1nhack

Same

constrain-endanger533 avatar Jun 26 '24 04:06 constrain-endanger533

same

punqbund avatar Aug 06 '24 11:08 punqbund