-
Notifications
You must be signed in to change notification settings - Fork 36
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
fatal error: unexpected signal during runtime execution #57
Comments
Can you upload the file causing this? |
Thanks for the quick response. Here is the link: https://www.dropbox.com/s/wt8m4z7nr0lsjp0/big_buck_bunny_720p_1mb.mp4?dl=0 Let me know if you have issues and I'll share it elsewhere. |
Seems to affect some FFmpeg configurations addresses #57
I'm on Ubuntu 19.04 and it seems to be working fine. The one thing that might segfault there is null pointer deref on |
Unfortunately it does not. I will upgrade to 19.04 and then report back. |
I've upgraded to 19.10 and still have the same issue. What's your version of ffmpeg? thanks |
This is stock ubuntu FFmpeg and not compiled from sources, as it seems the ubuntu patch bugs no longer affect them. |
I upgraded from the manual compile I had under 18.10 to the newer 4.1.3 with 19.04. I also mocked up a standalone program with the above code and it works fine. Although my main program still does not. But I'm sure it's a fault on my end somewhere. Seeing as it works standalone, I'm closing this. Many thanks for your help and building out this library also. |
This morning, I finally got to the bottom of this. I'm using https://github.com/discordapp/lilliput for fast image resizing. If I use lilliput and thumbnailer together in the same app, then I get the crash.
I presume that because are both using cgo at the same time? It's all good now. I'm running an MQ and have put videos and other types of files into separate executables. |
The problem seems to be that lilliput
<https://github.com/discordapp/lilliput> statically links to precompiled
static FFmpeg library archives but thumbnailer links against system FFmpeg
libraries, resulting in a link conflict. These libraries can not be used
together in the same Go binary.
…On Sun, 22 Sep 2019 at 11:41, Paul ***@***.***> wrote:
This morning, I finally got to the bottom of this.
I'm using https://github.com/discordapp/lilliput for fast image resizing.
If I use lilliput and bakape together in the same app, then I get the crash.
goroutine 1 [syscall]:
runtime.cgocall(0x5bd270, 0xc000049bb8, 0x5a3cee)
/usr/lib/go-1.13/src/runtime/cgocall.go:128 +0x5b fp=0xc000049b88 sp=0xc000049b50 pc=0x4a315b
I presume that because are both using cgo at the same time?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#57?email_source=notifications&email_token=AB347MHUZQXQLYHQUJI77KLQK4VUZA5CNFSM4IY6UZI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JBKWY#issuecomment-533861723>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB347ME5B5ZLZTBQJ57Q6E3QK4VUZANCNFSM4IY6UZIQ>
.
|
Thanks for the confirmation! |
Trying to run this neat library, but keeps on crashing for me.
I tried with the ffmpeg mentioned in the readme but still the same.
My code:
Panic:
The text was updated successfully, but these errors were encountered: