Bug 222265 - multimedia/avidemux dumps core on resume
Summary: multimedia/avidemux dumps core on resume
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-multimedia mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-12 16:57 UTC by rkoberman
Modified: 2018-02-03 06:09 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (multimedia)


Attachments
Log of failure in build attempt (5.04 KB, text/plain)
2017-09-30 16:34 UTC, rkoberman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rkoberman 2017-09-12 16:57:23 UTC
Since the commit of 320666 to FreeBSD-11 (and in head), avidemux is unstable. It dumps core fairly randomly on resumes after playback is paused. The dump points to a problem with qt4, but it is unlikely that there will be assistance from upstream as qt4 is no longer under development and is bitrotting rather badly.

The current port is badly out of date and shows multiple vulnerabilities. As a result, an update to the current release, 2.7, and moving to qt5 seems like an appropriate response. Upstream has supported qt5 for some time.

This is a particularly tricky port as it includes its own copy of ffmpeg and several other libraries. My efforts have, to this point, failed to get through the configure phase.
Comment 1 mikael.urankar 2017-09-22 13:12:51 UTC
Can you try v2.7.0 at https://github.com/MikaelUrankar/avidemux/
Comment 2 rkoberman 2017-09-22 20:11:18 UTC
(In reply to mikael.urankar from comment #1)
As I noted, 2.7.0 fails to configure due to not recognising FreeBSD's nasm. This is in the configuration of the internal ffmpeg.
Comment 3 mikael.urankar 2017-09-23 07:52:47 UTC
Do you have a build log? It builds fine for me.
Comment 4 rkoberman 2017-09-30 16:34:01 UTC
Created attachment 186817 [details]
Log of failure in build attempt

I've been plying with getting some progress and understanding the very complex build system (with little luck), but still cannot get past the nasm issue. This is the error log from the build attempt.

I am still unable to find the test that produces this error somewhere in the guts of the ffmpeg build.
Comment 5 mikael.urankar 2017-10-02 10:17:03 UTC
You need devel/yasm
Comment 6 rkoberman 2017-10-02 15:58:05 UTC
(In reply to mikael.urankar from comment #5)
YEs, I have yasm. The problem is that the build in looking for nasm (which I also have installed) and the version string from the BSD NASM does not match any that they are looking for.

> pkg info yasm
yasm-1.3.0
Name           : yasm
Version        : 1.3.0
Installed on   : Thu Aug  4 10:26:39 2016 PDT
Origin         : devel/yasm
Comment 7 rkoberman 2018-02-03 06:09:28 UTC
Updates to mesa and/or qt4 fix the issue without moving to 2.7.I still hope to get avidemux to build with qt5 and will open a new ticket when/if I have a patch ready.