gen2brain / heic

HEIC image decoder
MIT License
9 stars 2 forks source link

wasm error: out of bounds memory access #5

Open tucocsa opened 3 months ago

tucocsa commented 3 months ago

If I convert one image it works great, but when I try to convert multiple images in a row I get this error:

wasm error: out of bounds memory access\nwasm stack trace:\n\t.$1551(i32,i32,i32) i32\n\t.$9(i32,i32,i32,i32,i32,i32,i32,i32,i32) i32

is it possible to fix it?

macos go version go1.22.5 darwin/amd64

eduardo-mior commented 1 week ago

I have the same problem even though I'm trying to convert just one image

eduardo-mior commented 1 week ago

image.zip

This photo was taken directly from my iPhone camera and when I tried to convert it I got the following error

wasm error: out of bounds memory access
wasm stack trace:
        .$1551(i32,i32,i32) i32
        .$9(i32,i32,i32,i32,i32,i32,i32,i32,i32) i32

go version go1.22.6 windows/amd64

gen2brain commented 1 week ago

@eduardo-mior Can you tell me if you are using iOS 18?

eduardo-mior commented 1 week ago

@gen2brain No, this photo was taken using an iPhone 7, iOS 15.8

eduardo-mior commented 6 days ago

@gen2brain Can I contribute any more test images or files?

gen2brain commented 4 days ago

Thank you, when I find time I will check this.