From owner-freebsd-questions@FreeBSD.ORG Mon Aug 25 00:45:19 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 841F19FC for ; Mon, 25 Aug 2014 00:45:19 +0000 (UTC) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C1A9379E for ; Mon, 25 Aug 2014 00:45:18 +0000 (UTC) Received: from [192.168.0.181] (unknown [192.168.0.181]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 998282733D for ; Mon, 25 Aug 2014 10:45:09 +1000 (EST) Message-ID: <53FA8715.5020202@herveybayaustralia.com.au> Date: Mon, 25 Aug 2014 10:45:09 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 10 - mplayer issue References: <53F88676.3060702@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2014 00:45:19 -0000 On 23/08/2014 23:19, Elliot Robinson wrote: > Possibly orthogonal to your question, but is it an option to consider > another product? MPV is an mplayer2 fork (which was [until development > stalled] a fork of/drop-in replacement for mplayer), and seems to be pretty > well supported on FreeBSD. It's pretty featureful (10-bit video and > whatnot), and has a relatively fast development cycle (particularly > compared to the crawl mplayer operates at), though it's at the expense of > losing mencoder. Some of the command-line flags have been changed as well, > which may require tweaking in your work-related tools (if they can be > tweaked). Need mencoder unfortunately, but I may reconsider that. It has just been easier for users with the ui and habit now to use mplayer tools for the job until now. > > Barring that, I'd recompile with debug flags and run in gdb/lldb. Wait till > it locks, C-c, 'bt'. It's almost certainly some manner of deadlock if > you're stuck in urdlck, which may be a bug in mplayer's threading or in > pthreads. Either way, it'd help to know where the problem lock is. Ok, still haven't got used to debug tools yet, so I may need some coaching. I ran gdb mplayer and then run with args of a video; got nothing except LWP /mplayer. Then I decided to get a bit tricky and attach to a running process instead. This yielded better results, but no real info (to me anyway :) ): Attaching to program: /usr/local/bin/mplayer, process 92289 [New LWP 100131] Reading symbols from /lib/libncurses.so.8...done. [New Thread 813006800 (LWP 100131/mplayer)] Loaded symbols for /lib/libncurses.so.8 Reading symbols from /usr/local/lib/libpng15.so.15...done. Loaded symbols for /usr/local/lib/libpng15.so.15 Reading symbols from /lib/libz.so.6...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /usr/local/lib/libmng.so.1...done. Loaded symbols for /usr/local/lib/libmng.so.1 Reading symbols from /usr/local/lib/libjpeg.so.11...done. Loaded symbols for /usr/local/lib/libjpeg.so.11 Reading symbols from /usr/local/lib/libopenjpeg.so.2...done. Loaded symbols for /usr/local/lib/libopenjpeg.so.2 Reading symbols from /usr/local/lib/libgif.so.5...done. Loaded symbols for /usr/local/lib/libgif.so.5 Reading symbols from /usr/local/lib/libbluray.so.1...done. Loaded symbols for /usr/local/lib/libbluray.so.1 Reading symbols from /usr/local/lib/libfreetype.so.6...done. Loaded symbols for /usr/local/lib/libfreetype.so.6 Reading symbols from /usr/lib/libbz2.so.4...done. Loaded symbols for /usr/lib/libbz2.so.4 Reading symbols from /usr/local/lib/libfontconfig.so.1...done. Loaded symbols for /usr/local/lib/libfontconfig.so.1 Reading symbols from /usr/local/lib/libfribidi.so.3...done. Loaded symbols for /usr/local/lib/libfribidi.so.3 Reading symbols from /usr/local/lib/libenca.so.5...done. Loaded symbols for /usr/local/lib/libenca.so.5 Reading symbols from /usr/local/lib/liblzo2.so.2...done. Loaded symbols for /usr/local/lib/liblzo2.so.2 Reading symbols from /usr/local/lib/libgsm.so.1...done. Loaded symbols for /usr/local/lib/libgsm.so.1 Reading symbols from /usr/local/lib/libopus.so.0...done. Loaded symbols for /usr/local/lib/libopus.so.0 Reading symbols from /usr/local/lib/librtmp.so.0...done. Loaded symbols for /usr/local/lib/librtmp.so.0 Reading symbols from /usr/local/lib/libopencore-amrnb.so.0...done. Loaded symbols for /usr/local/lib/libopencore-amrnb.so.0 Reading symbols from /usr/local/lib/libopencore-amrwb.so.0...done. Loaded symbols for /usr/local/lib/libopencore-amrwb.so.0 Reading symbols from /usr/local/lib/libdv.so.4...done. Loaded symbols for /usr/local/lib/libdv.so.4 Reading symbols from /usr/local/lib/libschroedinger-1.0.so.11...done. Loaded symbols for /usr/local/lib/libschroedinger-1.0.so.11 Reading symbols from /usr/local/lib/libvpx.so.1...done. Loaded symbols for /usr/local/lib/libvpx.so.1 Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libv4l1.so.0...done. Loaded symbols for /usr/local/lib/libv4l1.so.0 Reading symbols from /usr/local/lib/libv4l2.so.0...done. Loaded symbols for /usr/local/lib/libv4l2.so.0 Reading symbols from /usr/local/lib/libXext.so.6...done. Loaded symbols for /usr/local/lib/libXext.so.6 Reading symbols from /usr/local/lib/libX11.so.6...done. Loaded symbols for /usr/local/lib/libX11.so.6 Reading symbols from /usr/local/lib/libXss.so.1...done. Loaded symbols for /usr/local/lib/libXss.so.1 Reading symbols from /usr/local/lib/libXv.so.1...done. Loaded symbols for /usr/local/lib/libXv.so.1 Reading symbols from /usr/local/lib/libXvMC.so.1...done. Loaded symbols for /usr/local/lib/libXvMC.so.1 Reading symbols from /usr/local/lib/libXvMCW.so.1...done. Loaded symbols for /usr/local/lib/libXvMCW.so.1 Reading symbols from /usr/local/lib/libXinerama.so.1...done. Loaded symbols for /usr/local/lib/libXinerama.so.1 Reading symbols from /usr/local/lib/libXxf86vm.so.1...done. Loaded symbols for /usr/local/lib/libXxf86vm.so.1 Reading symbols from /usr/local/lib/libXxf86dga.so.1...done. Loaded symbols for /usr/local/lib/libXxf86dga.so.1 Reading symbols from /usr/local/lib/libaa.so.1...done. Loaded symbols for /usr/local/lib/libaa.so.1 Reading symbols from /usr/local/lib/libcaca.so.0...done. Loaded symbols for /usr/local/lib/libcaca.so.0 Reading symbols from /usr/local/lib/libvga.so.1...done. Loaded symbols for /usr/local/lib/libvga.so.1 Reading symbols from /usr/local/lib/libGL.so.1...done. Loaded symbols for /usr/local/lib/libGL.so.1 Reading symbols from /usr/local/lib/libaudio.so.2...done. Loaded symbols for /usr/local/lib/libaudio.so.2 Reading symbols from /usr/local/lib/libXt.so.6...done. Loaded symbols for /usr/local/lib/libXt.so.6 Reading symbols from /usr/local/lib/libpulse.so.0...done. Loaded symbols for /usr/local/lib/libpulse.so.0 Reading symbols from /usr/local/lib/libjack.so.0...done. Loaded symbols for /usr/local/lib/libjack.so.0 Reading symbols from /usr/local/lib/libopenal.so.1...done. Loaded symbols for /usr/local/lib/libopenal.so.1 Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.0 Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...done. Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0 Reading symbols from /usr/local/lib/libXrender.so.1...done. Loaded symbols for /usr/local/lib/libXrender.so.1 Reading symbols from /usr/local/lib/libXi.so.6...done. Loaded symbols for /usr/local/lib/libXi.so.6 Reading symbols from /usr/local/lib/libXrandr.so.2...done. Loaded symbols for /usr/local/lib/libXrandr.so.2 Reading symbols from /usr/local/lib/libXcursor.so.1...done. Loaded symbols for /usr/local/lib/libXcursor.so.1 Reading symbols from /usr/local/lib/libXcomposite.so.1...done. Loaded symbols for /usr/local/lib/libXcomposite.so.1 Reading symbols from /usr/local/lib/libXdamage.so.1...done. Loaded symbols for /usr/local/lib/libXdamage.so.1 Reading symbols from /usr/local/lib/libXfixes.so.3...done. Loaded symbols for /usr/local/lib/libXfixes.so.3 Reading symbols from /usr/local/lib/libatk-1.0.so.0...done. Loaded symbols for /usr/local/lib/libatk-1.0.so.0 Reading symbols from /usr/local/lib/libcairo.so.2...done. Loaded symbols for /usr/local/lib/libcairo.so.2 Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/local/lib/libgio-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgio-2.0.so.0 Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...done. Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/local/lib/libpango-1.0.so.0...done. Loaded symbols for /usr/local/lib/libpango-1.0.so.0 Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgobject-2.0.so.0 Reading symbols from /usr/local/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/local/lib/libglib-2.0.so.0 Reading symbols from /usr/local/lib/libintl.so.9...done. Loaded symbols for /usr/local/lib/libintl.so.9 Reading symbols from /usr/local/lib/liblirc_client.so.2...done. Loaded symbols for /usr/local/lib/liblirc_client.so.2 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/liblcms.so.1...done. Loaded symbols for /usr/local/lib/liblcms.so.1 Reading symbols from /usr/local/lib/libxml2.so.2...done. Loaded symbols for /usr/local/lib/libxml2.so.2 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /usr/lib/libssl.so.7...done. Loaded symbols for /usr/lib/libssl.so.7 Reading symbols from /lib/libcrypto.so.7...done. Loaded symbols for /lib/libcrypto.so.7 Reading symbols from /usr/local/lib/liborc-0.4.so.0...done. Loaded symbols for /usr/local/lib/liborc-0.4.so.0 Reading symbols from /usr/lib/libc++.so.1...done. Loaded symbols for /usr/lib/libc++.so.1 Reading symbols from /lib/libcxxrt.so.1...done. Loaded symbols for /lib/libcxxrt.so.1 Reading symbols from /usr/local/lib/libv4lconvert.so.0...done. Loaded symbols for /usr/local/lib/libv4lconvert.so.0 Reading symbols from /usr/local/lib/libxcb.so.1...done. Loaded symbols for /usr/local/lib/libxcb.so.1 Reading symbols from /usr/lib/librpcsvc.so.5...done. Loaded symbols for /usr/lib/librpcsvc.so.5 Reading symbols from /usr/local/lib/libslang.so.2...done. Loaded symbols for /usr/local/lib/libslang.so.2 Reading symbols from /lib/libncursesw.so.8...done. Loaded symbols for /lib/libncursesw.so.8 Reading symbols from /usr/local/lib/libGLU.so.1...done. Loaded symbols for /usr/local/lib/libGLU.so.1 Reading symbols from /usr/local/lib/libglut.so.3...done. Loaded symbols for /usr/local/lib/libglut.so.3 Reading symbols from /usr/local/lib/libftgl.so.2...done. Loaded symbols for /usr/local/lib/libftgl.so.2 Reading symbols from /usr/local/lib/libglapi.so.0...done. Loaded symbols for /usr/local/lib/libglapi.so.0 Reading symbols from /usr/local/lib/libX11-xcb.so.1...done. Loaded symbols for /usr/local/lib/libX11-xcb.so.1 Reading symbols from /usr/local/lib/libxcb-glx.so.0...done. Loaded symbols for /usr/local/lib/libxcb-glx.so.0 Reading symbols from /usr/local/lib/libxcb-dri2.so.0...done. Loaded symbols for /usr/local/lib/libxcb-dri2.so.0 Reading symbols from /usr/local/lib/libdrm.so.2...done. Loaded symbols for /usr/local/lib/libdrm.so.2 Reading symbols from /usr/local/lib/libXau.so.6...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libSM.so.6...done. Loaded symbols for /usr/local/lib/libSM.so.6 Reading symbols from /usr/local/lib/libICE.so.6...done. Loaded symbols for /usr/local/lib/libICE.so.6 Reading symbols from /usr/local/lib/libpulsecommon-0.9.23.so...done. Loaded symbols for /usr/local/lib/libpulsecommon-0.9.23.so Reading symbols from /usr/local/lib/libXtst.so.6...done. Loaded symbols for /usr/local/lib/libXtst.so.6 Reading symbols from /usr/lib/libwrap.so.6...done. Loaded symbols for /usr/lib/libwrap.so.6 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/libsndfile.so.1...done. Loaded symbols for /usr/local/lib/libsndfile.so.1 Reading symbols from /usr/local/lib/libdbus-1.so.3...done. Loaded symbols for /usr/local/lib/libdbus-1.so.3 Reading symbols from /usr/local/lib/libgdbm.so.4...done. Loaded symbols for /usr/local/lib/libgdbm.so.4 Reading symbols from /usr/local/lib/libexecinfo.so.1...done. Loaded symbols for /usr/local/lib/libexecinfo.so.1 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0 Reading symbols from /usr/local/lib/libffi.so.6...done. Loaded symbols for /usr/local/lib/libffi.so.6 Reading symbols from /usr/local/lib/libpcre.so.3...done. Loaded symbols for /usr/local/lib/libpcre.so.3 Reading symbols from /usr/local/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/local/lib/libgthread-2.0.so.0 Reading symbols from /usr/local/lib/libharfbuzz.so.0...done. Loaded symbols for /usr/local/lib/libharfbuzz.so.0 Reading symbols from /usr/local/lib/libpixman-1.so.0...done. Loaded symbols for /usr/local/lib/libpixman-1.so.0 Reading symbols from /usr/local/lib/libxcb-shm.so.0...done. Loaded symbols for /usr/local/lib/libxcb-shm.so.0 Reading symbols from /usr/local/lib/libxcb-render.so.0...done. Loaded symbols for /usr/local/lib/libxcb-render.so.0 Reading symbols from /usr/lib/liblzma.so.5...done. Loaded symbols for /usr/lib/liblzma.so.5 Reading symbols from /usr/local/lib/libpthread-stubs.so.0...done. Loaded symbols for /usr/local/lib/libpthread-stubs.so.0 Reading symbols from /usr/local/lib/libXdmcp.so.6...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/lib/libusbhid.so.4...done. Loaded symbols for /usr/lib/libusbhid.so.4 Reading symbols from /usr/local/lib/libXmu.so.6...done. Loaded symbols for /usr/local/lib/libXmu.so.6 Reading symbols from /usr/local/lib/libFLAC.so.11...done. Loaded symbols for /usr/local/lib/libFLAC.so.11 Reading symbols from /usr/local/lib/libvorbisenc.so.2...done. Loaded symbols for /usr/local/lib/libvorbisenc.so.2 Reading symbols from /usr/local/lib/libgraphite2.so.3...done. Loaded symbols for /usr/local/lib/libgraphite2.so.3 Reading symbols from /usr/local/lib/libogg.so.8...done. Loaded symbols for /usr/local/lib/libogg.so.8 Reading symbols from /usr/local/lib/libvorbis.so.4...done. Loaded symbols for /usr/local/lib/libvorbis.so.4 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 [Switching to Thread 813006800 (LWP 100131/mplayer)] 0x0000000000cdcde6 in _umtx_op_err () So then I ran backtrace: #0 0x0000000000cdcde6 in _umtx_op_err () #1 0x0000000000cdf20f in rwlock_rdlock_common () #2 0x0000000809ee2d17 in g_type_register_fundamental () from /usr/local/lib/libgobject-2.0.so.0 #3 0x0000000809ee3a2a in g_type_register_static () from /usr/local/lib/libgobject-2.0.so.0 #4 0x0000000809ee9b32 in g_type_plugin_get_type () from /usr/local/lib/libgobject-2.0.so.0 #5 0x0000000809ee728c in g_type_init () from /usr/local/lib/libgobject-2.0.so.0 #6 0x0000000809eee682 in g_strdup_value_contents () from /usr/local/lib/libgobject-2.0.so.0 #7 0x0000000809ec4f76 in _init () from /usr/local/lib/libgobject-2.0.so.0 #8 0x00007fffffffcfc0 in ?? () #9 0x0000000801382691 in r_debug_state () from /libexec/ld-elf.so.1 #10 0x0000000801381d27 in __tls_get_addr () from /libexec/ld-elf.so.1 #11 0x0000000801380089 in .text () from /libexec/ld-elf.so.1 #12 0x0000000000000000 in ?? () So how does this help? What can I do now? I see a problem in what looks to be a register of sorts, but that would be in gtk. I tried using -nogui and still got the same. It should be noted that there should be a print out of version and other info prior to display, and none of that is showing at all; so we're not even getting that far. I also rebuilt it with debug in the options. Cheers > > --- > Elliot Robinson > PGP Key: 9FEDE59A > > > On Sat, Aug 23, 2014 at 8:17 AM, Da Rock < > freebsd-questions@herveybayaustralia.com.au> wrote: > >> Yet another problem in the new install saga - thankfully I have a mostly >> useable machine now. >> >> This issue hasn't been a high priority on the list - until now. Mplayer >> won't run and I can't entertain myself :) Actually, its a bit more serious >> than that as I need it for work, and several other related tools use it too. >> >> After install I ran umplayer and it gave me nothing; so I ran mplayer at >> the cli and it did nothing - and I mean absolutely nothing. Even with -vvvv >> there is not a spot of output after the command is entered. >> >> So I ran truss, and didn't see anything useful there either. Then I looked >> at top to see if it was burning the cpu at all - nope. All I see is mplayer >> in a urdlck condition. >> >> Googling this points to an issue in 10 with posix compatibility and to >> avoid it in the application programming. Some ssh problems too. >> >> Any ideas what could be wrong? Or how to diagnose? >> >> Cheers >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"