Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 182058

Summary: x11-libs/cairo-1.4.8 breaks gmplayer left-click menu
Product: Gentoo Linux Reporter: Haykel <haykel_tagourti>
Component: [OLD] LibraryAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: VERIFIED TEST-REQUEST    
Severity: minor CC: compnerd
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Haykel 2007-06-14 21:02:05 UTC
After upgrading to Cairo 1.4.8, gmplayer crashes when invoking the menu and the gnome-terminal no longer respond

Reproducible: Always

Steps to Reproduce:
1.Play a movie with gmplayer
2.Left-click on the movie (as if to call the menu)


Actual Results:  
Mplayer crashes immediately with:
[ws] Error in display.
[ws]  Error code: 191 ( RenderBadPicture (invalid Picture parameter) )
[ws]  Request code: 158
[ws]  Minor code: 7
[ws]  Modules: vo_check_events

And the gnome terminal used for launching gmplayer breaks: keyboard input no longer writes in the term.


Happens with every movie format. Downgraded to cairo-1.4.6 and all works just fine.

My info:
Portage 2.1.2.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.18-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 14 Jun 2007 09:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl aiglx alsa amd64 avahi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr emerald firefox fortran gdbm gif glitz gnome gpm gtk hal iconv ieee1394 ipv6 isdnlog java jpeg libg++ live matroska midi mikmod mmx mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 readline reflection samba server session spl srt sse sse2 ssl svg tcpd tetex theora truetype-fonts type1-fonts unicode vorbis xanim xorg xv xvid" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-06-14 21:06:15 UTC
the fact that gnome-terminal gives you issues is because of the way gmplayer is handling input and screwing up the terminal when it crashes.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2007-06-14 21:06:37 UTC
Did you make sure you restart your X session after you upgraded to cairo 1.4.8?
Comment 3 Haykel 2007-06-14 21:19:59 UTC
Yes, I did restart my X session... no good
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-06-15 16:37:47 UTC
Can't seem to reproduce this but others can. This bug is related to bug #182127
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2007-06-15 21:56:06 UTC
please unmask cairo 1.4.8 and test with the current version. It should apply the following patch:

cairo-1.4.8-XError.patch
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-06-16 11:10:26 UTC
WFM. Well done! :)
Comment 7 Haykel 2007-06-17 12:27:51 UTC
Tested it and it works fine, thanks!