[MPlayer-users] -user-agent option causes mplayer to crash.

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jun 12 14:59:08 CEST 2008

On Thu, Jun 12, 2008 at 06:48:42AM -0600, Kevin DeKorte wrote:
> In the gnome-mplayer application I add the option "-user-agent NSPlayer"
> when playing remote media. Today I found a site that works correctly
> without it, and crashes mplayer with it. Any ideas
> mplayer -user-agent NSPlayer http://srv2.lusomundo.net/tsfdirecto
> MPlayer dev-SVN-r27048-4.1.2 (C) 2000-2008 MPlayer Team
> CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model:
> 15, Stepping: 11)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> Playing http://srv2.lusomundo.net/tsfdirecto.
> Resolving srv2.lusomundo.net for AF_INET6...
> Couldn't resolve name for AF_INET6: srv2.lusomundo.net
> Resolving srv2.lusomundo.net for AF_INET...
> Connecting to server srv2.lusomundo.net[]: 80...
> Cache size set to 320 KBytes
> Cache fill:  0.78% (2567 bytes)
> Found plugin: libcdaudio.so (CD Audio Player 1.2.10).
> Found plugin: libwav.so (Wave Player 1.2.10).
> Found plugin: libtimidity.so (TiMidity Player 0.1).
> Found plugin: libvorbis.so (Ogg Vorbis Player 1.2.10).
> Found plugin: libmikmod.so (MikMod Player 1.2.10).
> Found plugin: libtonegen.so (Tone Generator 1.2.10).
> Found plugin: librh_mp3.so (MPEG Layer 1/2/3 Placeholder Plugin).
> GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup):
> assertion `hash_table != NULL' failed.

Uh, that has not really anything to do with -user-agent - you compiled
MPlayer with xmms plugin support, which is disabled for a very good
reason since a lot of plugins are _completely unstable_ and will crash
all the time with MPlayer.
Either recompile without it, or remove any plugins that cause a crash
(and risk that the remaining ones may cause a crash from time to time,

Reimar Doeffinger

More information about the MPlayer-users mailing list