Date: Mon, 13 Apr 2015 21:18:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-multimedia@FreeBSD.org Subject: [Bug 198758] multimedia/mpv don't start/crash 100% times Message-ID: <bug-198758-5956-Hy4dvgdGRx@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-198758-5956@https.bugs.freebsd.org/bugzilla/> References: <bug-198758-5956@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198758 Frans Suber <keep.in.mind19@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |keep.in.mind19@gmail.com --- Comment #5 from Frans Suber <keep.in.mind19@gmail.com> --- It is the -O2 flag that makes mpv segfaults with every file. So my blind guess is clang is the problem. Set the CFLAGS environment variable to something like "-Wall -g" or just "" will solve it. ( I know there is --disable-optimize in Makefile but it didn't work the first time for me). I'm not sure about this as I cannot replicate it anymore : If I have not yet tried setting CFLAGS, the system will enable -O2 on every mpv compilation, even with --disable-optimize in mpv Makefile. If I have tried at least once, then that symptom goes away. I suspect the mpv binaries that I get using pkg install suffers from the above symptom too, which means it is built with -O2 enabled regardless of --disable-optimize. I only have DEVELOPER="yes" in /etc/make.conf. I have not changed anything related to pkg settings. I upgraded my ports yesterday using portsnap fetch and portsnap update. I only use 'pkg delete mpv' to remove mpv binaries and build ports and 'make install'. FreeBSD ksix.freebsd 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 -- You are receiving this mail because: You are on the CC list for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198758-5956-Hy4dvgdGRx>