[SOLVED] Slackware current - MPlayer + ffmpeg-3.3 segfault
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I noticed that ffmpeg-3.3 was added to current and as I have been building both MPlayer and ffmpeg myself for a while I noticed that it now segfaults with ffmpeg newer than 3.2 when switching between videos in a playlist. So in the event anyone else will now run into this issue I thought it'd be best to mention it here since upstream doesn't seem to care.
Actually, you got me to look at this a bit closer and I think its connected to hwdec as I can not reproduce it without it. Possibly only with nouveau? Following the directions from the nouveau documentation I installed the required firmware and configured mplayer.
To make this worse it the backtrace is not the same every time and it does not crash in valgrind. It also occurs with the llvmpipe here so I guess its not only nouveau. It would be helpful if someone with intel or amd hardware using the free drivers in mesa could try to reproduce this too.
Possibly unrelated but I had to downgrade from 3.3 > 3.2.4 because it would break often on x264/ffh264vdpau
Hard to reproduce the issue cause sometimes the file plays fine, sometimes just freezes the machine.
The same file can play perfectly and freeze the next time it's opened, and it's not just one file, I've tested about a dozen mp4 and mkv files.
I tested this on my desktop and i can't reproduce it. Pressing ">" several times jump to the next song in the playlist.
PS: I always rebuilt ffmpeg using Slackware's ffmpeg SlackBuild script with no changes nor additional parameters since i may have more additional libraries installed from SBo that may be auto-detected by ffmpeg.
Thanks for the additional tests. I guess it seems likely there is something specific in my setup causing this. I can try bisecting ffmpeg when I have a chance to see where this started...
Quote:
Originally Posted by elcore
Possibly unrelated but I had to downgrade from 3.3 > 3.2.4 because it would break often on x264/ffh264vdpau
Hard to reproduce the issue cause sometimes the file plays fine, sometimes just freezes the machine.
The same file can play perfectly and freeze the next time it's opened, and it's not just one file, I've tested about a dozen mp4 and mkv files.
This sounds familiar, except that only MPlayer freezes/crashes for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.