Bug in mt causes SEGV #11

Open
opened 2 months ago by prologic · 0 comments
Owner
error generating thumbnail: cmd.CombinedOutput error: exit status 2 time=“2021-11-17T11:47:40Z” level=info msg=“useing font: DroidSans.ttf” time=“2021-11-17T11:47:40Z” level=info msg=“generating contact sheet for /data/uploads/tube-transcode-520949016.mp4” fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x7f366f6e2f0a] runtime stack: runtime.throw(0x903ee5, 0x2a) /usr/local/go/src/runtime/panic.go:1116 +0x72 runtime.sigpanic() /usr/local/go/src/runtime/signal_unix.go:704 +0x4ac goroutine 1 [syscall]: runtime.cgocall(0x81fda0, 0xc00012f500, 0x7f366d8bd108) /usr/local/go/src/runtime/cgocall.go:133 +0x5b fp=0xc00012f4d0 sp=0xc00012f498 pc=0x406f9b github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen._Cfunc_sws_scale_wrapper(0x187f400, 0x165ea80, 0x165eac0, 0x2d000000000, 0xc000200000, 0xc0000291d0, 0x0) _cgo_gotypes.go:1334 +0x4d fp=0xc00012f500 sp=0xc00012f4d0 pc=0x6d246d github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen.(*Generator).ImageWxH.func11(0x187f400, 0x165ea80, 0x165eac0, 0xc000163ba0, 0xc000200000, 0xc0000291d0, 0x0) /go/src/github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen/screengen.go:303 +0xbe fp=0xc00012f550 sp=0xc00012f500 pc=0x6d46de github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen.(*Generator).ImageWxH(0xc000163ba0, 0x1f400, 0x156, 0x2d0, 0x0, 0x0, 0x0, 0x0) /go/src/github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen/screengen.go:303 +0x46d fp=0xc00012f610 sp=0xc00012f550 pc=0x6d37ed github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen.(*Generator).Image(…) /go/src/github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen/screengen.go:217 main.GenerateScreenshots(0x7ffc1a8e8f24, 0x2a, 0x0, 0x0, 0x0) /go/src/github.com/mutschler/mt/mt.go:164 +0x126d fp=0xc00012fd28 sp=0xc00012f610 pc=0x814a4d main.main() /go/src/github.com/mutschler/mt/mt.go:805 +0x3b74 fp=0xc00012ff88 sp=0xc00012fd28 pc=0x81d794 runtime.main() /usr/local/go/src/runtime/proc.go:204 +0x209 fp=0xc00012ffe0 sp=0xc00012ff88 pc=0x43b909 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc00012ffe8 sp=0xc00012ffe0 pc=0x46d221


``` error generating thumbnail: cmd.CombinedOutput error: exit status 2 time=“2021-11-17T11:47:40Z” level=info msg=“useing font: DroidSans.ttf” time=“2021-11-17T11:47:40Z” level=info msg=“generating contact sheet for /data/uploads/tube-transcode-520949016.mp4” fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x7f366f6e2f0a] runtime stack: runtime.throw(0x903ee5, 0x2a) /usr/local/go/src/runtime/panic.go:1116 +0x72 runtime.sigpanic() /usr/local/go/src/runtime/signal_unix.go:704 +0x4ac goroutine 1 [syscall]: runtime.cgocall(0x81fda0, 0xc00012f500, 0x7f366d8bd108) /usr/local/go/src/runtime/cgocall.go:133 +0x5b fp=0xc00012f4d0 sp=0xc00012f498 pc=0x406f9b github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen._Cfunc_sws_scale_wrapper(0x187f400, 0x165ea80, 0x165eac0, 0x2d000000000, 0xc000200000, 0xc0000291d0, 0x0) _cgo_gotypes.go:1334 +0x4d fp=0xc00012f500 sp=0xc00012f4d0 pc=0x6d246d github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen.(*Generator).ImageWxH.func11(0x187f400, 0x165ea80, 0x165eac0, 0xc000163ba0, 0xc000200000, 0xc0000291d0, 0x0) /go/src/github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen/screengen.go:303 +0xbe fp=0xc00012f550 sp=0xc00012f500 pc=0x6d46de github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen.(*Generator).ImageWxH(0xc000163ba0, 0x1f400, 0x156, 0x2d0, 0x0, 0x0, 0x0, 0x0) /go/src/github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen/screengen.go:303 +0x46d fp=0xc00012f610 sp=0xc00012f550 pc=0x6d37ed github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen.(*Generator).Image(…) /go/src/github.com/mutschler/mt/vendor/gitlab.com/opennota/screengen/screengen.go:217 main.GenerateScreenshots(0x7ffc1a8e8f24, 0x2a, 0x0, 0x0, 0x0) /go/src/github.com/mutschler/mt/mt.go:164 +0x126d fp=0xc00012fd28 sp=0xc00012f610 pc=0x814a4d main.main() /go/src/github.com/mutschler/mt/mt.go:805 +0x3b74 fp=0xc00012ff88 sp=0xc00012fd28 pc=0x81d794 runtime.main() /usr/local/go/src/runtime/proc.go:204 +0x209 fp=0xc00012ffe0 sp=0xc00012ff88 pc=0x43b909 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc00012ffe8 sp=0xc00012ffe0 pc=0x46d221 ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.