-
Notifications
You must be signed in to change notification settings - Fork 69
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
Segmentation error #15
Comments
Check if using safe encoding fixes it, see #3 |
lsapiserv bin boot camel.heic convertheictojpg dev etc home lib lib32 lib64 libx32 media mnt opt proc root run sbin srv sys tmp usr var ./convertheictojpg camel.heic test.jpegunexpected fault address 0x7f51e0221010 goroutine 1 [running]: exit |
do you fix it? now ? |
if you set the global variable |
I've the following error:
`../testdata/camel.heic: heif: no EXIF found
unexpected fault address 0x7f3c51b1e010
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x7f3c51b1e010 pc=0x4cdf70]
goroutine 1 [running]:
runtime.throw(0x569c6d, 0x5)
/usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc00012b390 sp=0xc00012b360 pc=0x445172
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:702 +0x3cc fp=0xc00012b3c0 sp=0xc00012b390 pc=0x4590dc
image/jpeg.yCbCrToYCbCr(0xc000116100, 0x0, 0x0, 0xc00012b4c0, 0xc00012b9c0, 0xc00012b5c0)
/usr/local/go/src/image/jpeg/writer.go:461 +0x140 fp=0xc00012b438 sp=0xc00012b3c0 pc=0x4cdf70
image/jpeg.(*encoder).writeSOS(0xc00014a000, 0x58d020, 0xc000116100)
/usr/local/go/src/image/jpeg/writer.go:547 +0x383 fp=0xc00012bde8 sp=0xc00012b438 pc=0x4ce503
image/jpeg.Encode(0x58bf60, 0xc00000fa00, 0x58d020, 0xc000116100, 0x0, 0x58bf60, 0xc00000fa00)
/usr/local/go/src/image/jpeg/writer.go:634 +0x299 fp=0xc00012be60 sp=0xc00012bde8 pc=0x4ceac9
main.main()
/home/chillaso/proyectos/goheif/heic2jpg/main.go:93 +0x2fa fp=0xc00012bf88 sp=0xc00012be60 pc=0x4e054a
runtime.main()
/usr/local/go/src/runtime/proc.go:203 +0x1fa fp=0xc00012bfe0 sp=0xc00012bf88 pc=0x4477da
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc00012bfe8 sp=0xc00012bfe0 pc=0x472071`
I'm using Ubuntu 20.04. GCC 9.3.0 and go 1.14 in a linux/amd64
The text was updated successfully, but these errors were encountered: