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
Debian Bookworm Segfault #138
Comments
Thanks! Can you check a few things for me on Bookworm?
I hope that these things will help me understand the problem. |
@joeyparrish I've not ventured into this type of territory before, so I might've done something wrong. But here's what I got:
|
Whoops, accidental closure. |
I don't see any obvious reason why ffprobe should fail. It's statically linked as it should be, and it's the correct architecture, which matches the architecture of Debian's own executables... except for one detail, which I'm not familiar with. The Debian executable is marked This is helpful info, though, and the Dockerfile is also very helpful. I should be able to look at it more closely in Docker, but I don't have much free time at the moment. If you want to continue looking into it yourself, you might want to check out the project where ffprobe gets built: https://github.com/shaka-project/static-ffmpeg-binaries Specifically, what I would do to debug this is to manually run the build steps in this workflow: https://github.com/shaka-project/static-ffmpeg-binaries/blob/main/.github/workflows/build.yaml I would run them on a Debian or Ubuntu host system other than Bookworm, possibly with a modification to the ffmpeg configure to enable debugging, then I would try them again on Bookworm. I would play with those two ffprobe executables, and I would use gdb to get a backtrace for the crash. If the Bookworm-built executable works, that tells us that static linking is feasible in general, but maybe a special build is needed for Bookworm or similar systems. If any executable crashes in gdb with some meaningful backtrace, it may point to a specific feature or library that doesn't work in a static executable on Bookworm, which may point toward a resolution. I don't have time to pursue this yet, so I hope this is useful information. I will try to get to this eventually, but I can't promise when. I'm very busy with the projects that are more critical to my employer. |
Debian bookworm was released on
2023-06-10
and it seems as though theshaka-streamer-binaries
aren't compatible with it. Things still work fine onbullseye
, but just wanted to flag the issue for the future.Specifically I'm seeing a segfault when calling
ffprobe
The text was updated successfully, but these errors were encountered: