From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 13 21:18:43 2015 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 292C4B57 for ; Mon, 13 Apr 2015 21:18:43 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E9A22A0B for ; Mon, 13 Apr 2015 21:18:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3DLIgbA015456 for ; Mon, 13 Apr 2015 21:18:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-multimedia@FreeBSD.org Subject: [Bug 198758] multimedia/mpv don't start/crash 100% times Date: Mon, 13 Apr 2015 21:18:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: keep.in.mind19@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gblach@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 21:18:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198758 Frans Suber changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |keep.in.mind19@gmail.com --- Comment #5 from Frans Suber --- 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.