Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2049 - mplayer glib critcal
Summary: mplayer glib critcal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jared H. Hudson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-23 22:40 UTC by John Bauman
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Bauman 2002-04-23 22:40:41 UTC
i've emerged mplayer twice on new system builds and have not gotten it to work.
 i saw someone online tonight that had the same error so i'm wondering if there
is  a problem with the build - since i did have it working before the lastest
ebuild. this was my commandline when it used to work:  

mplayer -gui -dvd 1 /dev/cdroms/cdrom0 -ao sdl 

with the commandline mplayer -gui i get the folowing error. 

Reading /usr/share/mplayer/codecs.conf: 31 audio & 81 video codecs
font: can't open file: /home/demian/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion
`hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion
`hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion
`hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion
`hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion
`hash_table != NULL' failed.

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkLabel'
Segmentation fault

if i try player -dvd 1 /dev/cdroms/cdrom0, it says:
(incidentally, i tried re-emerging mplayer and assured myslef that the library
was installed).

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
MPlayer was compiled WITHOUT libdvdread support!
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-24 00:18:55 UTC
What happens when you remerge gtk and glib ?
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-04-24 01:29:40 UTC
to play a DVD you must have compiled in libdvdread support
Comment 3 Matt Taylor 2002-04-24 01:33:55 UTC
To get mplayer to compile with dvd support you need to add "dvd" to your USE
var.  If you want mencoder you need to add "encode" to you USE var.  
Comment 4 Artur Brodowski 2002-04-24 12:06:07 UTC
i got the same GLib-CRITICAL / ghash.c errors with the newest ebuild (0.90pre1).
earlier versions (that means 0.60-rX) worked fine, so i don't think remerging 
gtk/glib would help anything. 
i didn't use dvd flag, i don't need it, but new player segfaults exactly the
same way.
Comment 5 John Bauman 2002-04-25 07:54:49 UTC
i tried reemergeing gtk and glib.  i noticed glib was at 1.2.10-r4, so i
upgraded it to 2.01-r2.  this did not help with the errors.  i then unmerged
mplayer and libdvdread.  i reemerged libdvdread and then mplayer with the use
settings dvd and encode (which incidentally i did not need in previous
e-builds).  either reemerging mplayer with the new glib or the use settings
fixed the error.  i don't get the g-lib error now.  mplayer is crashing on me,
but it may be a configuration issue.  it looked like it was still looking for
/dev/dvd.  i'll work on it later and report back.  gotta head to work.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-25 15:33:46 UTC
OK, the DVD problem can be because libdvdcss-1.1.1 was unmasked (WHY?).

The GLIB problem ... try to unmerge gtk+-2.0 and glib-2.0, and remerge
mlayer.
Comment 7 John Bauman 2002-04-25 21:16:19 UTC
i'm not sure what fixed it specifically, but i got it working again by remerging
gtk+ and (upgrading) glib to 2.01.  unmerging libdvdread and mplayer and
remerging them with the use settings (which werent needed in the past).  the fix
is somewhere within that process.  nevertheless, i believe there is still a
problem in how this is being built since i've seen this problem twice and others
have seen it as well.  don't know. 

incidentally, i linked /dev/dvd to /dev/cdroms/cdrom0 to fix that last problem i
saw before heading to work.  the command line included the path to the device,
but it didn't seem to work for me.      
Comment 8 John Bauman 2002-04-25 22:37:23 UTC
after seeeing someone in irc with the problem tonight, i had them do what i did
without the use settings change and it DID NOT work.  he then tried the USE (dvd
and encode) settings and it worked!  i'll be damned.  it was the use settings
afterall. also, unmerging is not necessary.  just reemerge mplayer and that's it.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-01 17:05:10 UTC
Seems it was a bug in pre1 ... see if you still need "encode" in USE with
pre2 ?
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-24 13:20:59 UTC
Latest pre's looks fine.