Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287856 - media-video/cheese-2.26.3 crashes with X Window System errors
Summary: media-video/cheese-2.26.3 crashes with X Window System errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on: 314899
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-10-06 07:48 UTC by Priit Laes (IRC: plaes)
Modified: 2010-05-05 17:47 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 Priit Laes (IRC: plaes) 2009-10-06 07:48:39 UTC
The program 'cheese' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadIDChoice (invalid resource ID chosen for this connection)'.
  (Details: serial 897 error_code 14 request_code 1 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)



plaes@chi ~ $ emerge --info
Portage 2.2_rc43 (default/linux/amd64/2008.0/no-multilib, gcc-4.4.1, glibc-2.10.1-r0, 2.6.32-rc3-00049-g19d031e x86_64)
=================================================================
System uname: Linux-2.6.32-rc3-00049-g19d031e-x86_64-Intel-R-_Core-TM-2_CPU_L7400_@_1.50GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 06 Oct 2009 05:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
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.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -ggdb -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="et_EE.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en et"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /home/plaes/code/gentoo/gnome /home/plaes/code/gentoo/local /home/plaes/code/gentoo/tryton-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi adns alsa amd64 amr apache2 ares autoipd avahi berkdb blas bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl daap dbus dga djvu dri dvd dvdr dvi eds encode exif faac faad fam ffmpeg fftw flac fortran fuse galago gcj gd gdbm gif gimp git glib glitz gmp gnome gnome-keyring gnuplot gnutls gphoto2 gs gsl gstreamer gtk h323 hal hardened hdri iconv idn imagemagick introspection ipv6 isdnlog jingle jpeg jpeg2k kdrive kpathsea lapack laptop latex lcms libffi libnotify lzma lzo mad mmx mng moonlight mozdevelop mp3 mpeg msn mudflap music nautilus ncurses network network-cron networkmanager nls nptl nptlonly nsplugin numpy ogg openexr opengl openmp pam pcmcia pcre pcsc-lite pdf perl png policykit pppd pygments python qt3support raw readline reflection resolvconf samba sasl sdl session sip smartcard smp sound source spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd theora tiff truetype unicode upnp usb v4l v4l2 vim-syntax vorbis webkit wps x264 xcb xinerama xml xmp xorg xulrunner xv xvid xvmc zeroconf zlib" 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en et" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pablo Cholaky 2009-10-13 16:38:58 UTC
Same results
Comment 2 Pablo Cholaky 2009-10-13 16:40:06 UTC
emerge --info 

waltercool@miniCompu ~ $ emerge --info
Portage 2.1.7.1 (default/linux/x86/2008.0/developer, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo-waltercool i686)
=================================================================
System uname: Linux-2.6.31-gentoo-waltercool-i686-Intel-R-_Celeron-R-_M_processor_900MHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 13 Oct 2009 03:00:01 +0000
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r2, 3.1.1-r1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests cvs distlocks fixpackages metadata-transfer multilib-strict news parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test unmerge-logs unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/official"
PORTDIR_OVERLAY="/usr/local/portage/layman/gnash-cvs /usr/local/portage/layman/science /usr/local/portage/layman/gnome /usr/local/portage/layman/mods"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X a52 aac acl acpi additions aim aio alsa amr amrnb amrwb apm applet archive aspell autoipd autoreplace avahi bash-completion bittorrent bittorrent-external bogofilter bonjour branding bzip2 cairo cdr chm cli clucene connection-sharing connectionstatus consolekit cracklib crypt cups curl custom-optimization cxx dbus dhclient djvu dri dvd dvdr eds emboss emerald encode eolconv evo exif extras faac faad fam fasttrack ffmpeg flac fontconfig foomaticdb fortran fuse gcj gdbm gif git glade glib glitz gmp gnome gnome-keyring gnutella gnutls gpgme gpm grammar gstreamer gtk hal hdri history iceweasel iconv icq imagemagick imap injection inotify ipv6 irc isdnlog jabber javascript joystick jpeg jpeg2k justify kipi lapack laptop latex lcms libcaca libffi libnl libnotify lzo mad map matroska mdnsresponder-compat mikmod mmx mmxext mng modules mozdevelop mp3 mp4 mpeg mplayer msn mudflap mysql nautilus ncurses network networkmanager nls nowlistening nptl nptlonly nsplugin ntp odbc offline ogg openal opencore-amr openexr opengl openmp pam pascal pdf pidgin png policykit pop ppds pppd psyco pth python python3 qt-static quicktime raptor rar readline redland reflection restrict-javascript rss rubrica samba sasl sdl server session sip small-gui smime smtp snmp sound spell spl splash sql sqlite sqlite3 sse sse2 ssh ssl startup-notification statistics subversion svg symlink sysfs tcl tcpd texteffect theora thesaurus threads threadsafe thumbnail thunar tidy tk truetype unicode unsupported usb v4l v4l2 vcd vhook vim vim-syntax vim-with-x vnc vorbis webdav-neon webkit wifi wlm wps wv2 x264 x86 xcb xcomposite xft xine xml xmlpatterns xorg xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard joystick synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa intel v4l i810" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-10-14 13:06:02 UTC
Could give the output of the following command ? :
$ cheese --sync --verbose 

thanks in advance
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-10-14 13:06:41 UTC
btw, I can reproduce the problem here
Comment 5 Pablo Cholaky 2009-10-14 14:12:37 UTC
Fixed on Gnome Overlay... a new ebuild.
Comment 6 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-30 01:59:44 UTC
So it's fixed with 2.28?
Comment 7 Priit Laes (IRC: plaes) 2010-01-02 05:24:12 UTC
(In reply to comment #6)
> So it's fixed with 2.28?
> 

Yes it was. (But no cam atm, so I can't test it :S )
Comment 8 Romain Perier (RETIRED) gentoo-dev 2010-01-02 13:48:36 UTC
Pablo: did you test it ? (with 2.28)
Comment 9 Pablo Cholaky 2010-01-02 16:45:35 UTC
Oh yes, i told it before... fixed on gnome overlay... but now on portage =)

Thanks
Comment 10 Romain Perier (RETIRED) gentoo-dev 2010-01-02 20:41:21 UTC
mhhh.. So we've to make a patch.
Idealy diff the C module which causes the crash (so, between 2.28 and 2.26), or browse the timeline on git.gnome.org (the fix exists somewhere)
Comment 11 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-01-04 17:07:00 UTC
(In reply to comment #10)
> mhhh.. So we've to make a patch.
> Idealy diff the C module which causes the crash (so, between 2.28 and 2.26), or
> browse the timeline on git.gnome.org (the fix exists somewhere)
> 

Or, we don't care since cheese-2.26.3 is not stable? We can just go ahead with 2.28; the only extra dep is gtk+-2.18
Comment 12 Romain Perier (RETIRED) gentoo-dev 2010-01-05 12:13:13 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > mhhh.. So we've to make a patch.
> > Idealy diff the C module which causes the crash (so, between 2.28 and 2.26), or
> > browse the timeline on git.gnome.org (the fix exists somewhere)
> > 
> 
> Or, we don't care since cheese-2.26.3 is not stable? We can just go ahead with
> 2.28; the only extra dep is gtk+-2.18
> 

Eventually yup :)
Comment 13 Alessandro Capogna 2010-03-22 23:22:32 UTC
I had this problem too, but now seems to be solved. Don't know whats happened. Recently i have updated gstreamer (new version marked as stable).

this is my "cheese -v" command output

Cheese 2.24.3 
Probing devices with HAL...
Found device 04f2:b159, getting capabilities...
Detected v4l2 device: CNF8243
Driver: uvcvideo, version: 256
Capabilities: 0x04000001

Probing supported video formats...
Device: CNF8243 (/dev/video0)
video/x-raw-yuv 1600 x 1200 num_framerates 1
5/1 video/x-raw-yuv 1600 x 904 num_framerates 1
5/1 video/x-raw-yuv 1280 x 1024 num_framerates 1
8/1 video/x-raw-yuv 1280 x 720 num_framerates 1
5/1 video/x-raw-yuv 1024 x 768 num_framerates 1
8/1 video/x-raw-yuv 640 x 480 num_framerates 1
30/1 video/x-raw-yuv 320 x 240 num_framerates 1
30/1 video/x-raw-yuv 176 x 144 num_framerates 1
30/1 
v4l2src name=video_source device=/dev/video0 ! capsfilter name=capsfilter caps=video/x-raw-rgb,width=1600,height=904,framerate=5/1;video/x-raw-yuv,width=1600,height=904,framerate=5/1 ! identity
Comment 14 Serg 2010-05-04 20:00:12 UTC
(In reply to comment #13)
> I had this problem too, but now seems to be solved. Don't know whats happened.

~ $ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.11.1-r0, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Athlon-tm-_Neo_X2_Dual_Core_Processor_L3

With cheese --verbose I had no problem:
Cheese 2.24.3 
Probing devices with HAL...
Found device 5986:02c1, getting capabilities...
Detected v4l2 device: BisonCam, NB Pro
Driver: uvcvideo, version: 256
Capabilities: 0x04000001

Probing supported video formats...
Device: BisonCam, NB Pro (/dev/video0)
video/x-raw-yuv 1280 x 1024 num_framerates 2
15/2 5/1 video/x-raw-yuv 1024 x 768 num_framerates 2
15/2 5/1 video/x-raw-yuv 800 x 600 num_framerates 2
15/2 5/1 video/x-raw-yuv 640 x 480 num_framerates 7
30/1 25/1 20/1 15/1 10/1 15/2 5/1 video/x-raw-yuv 352 x 288 num_framerates 7
30/1 25/1 20/1 15/1 10/1 15/2 5/1 video/x-raw-yuv 320 x 240 num_framerates 7
30/1 25/1 20/1 15/1 10/1 15/2 5/1 video/x-raw-yuv 176 x 144 num_framerates 7
30/1 25/1 20/1 15/1 10/1 15/2 5/1 video/x-raw-yuv 160 x 120 num_framerates 7
30/1 25/1 20/1 15/1 10/1 15/2 5/1 
v4l2src name=video_source device=/dev/video0 ! capsfilter name=capsfilter caps=video/x-raw-rgb,width=1280,height=1024,framerate=15/2;video/x-raw-yuv,width=1280,height=1024,framerate=15/2 ! identity

With cheese; cheese --sync; cheese --sync --verbose => error
Cheese 2.24.3 
Probing devices with HAL...
Probing supported video formats...
The program 'cheese' received an X Window System error.
Comment 15 Alessandro Capogna 2010-05-05 16:11:25 UTC
problem seems to be solved in cheese-2.28.1-r1 (on my amd64 stable system)
Comment 16 Pacho Ramos gentoo-dev 2010-05-05 17:47:14 UTC
Yes, we can already close this since it's fixed in latest testing and new cheese is already going stable