Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141228 - media-video/xine-ui-0.99.4-r{5,} - infinite loop when opening a directory with insufficient permissions
Summary: media-video/xine-ui-0.99.4-r{5,} - infinite loop when opening a directory wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 173952
Blocks:
  Show dependency tree
 
Reported: 2006-07-20 18:41 UTC by Aaron Sheldon
Modified: 2007-05-11 08:26 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 Aaron Sheldon 2006-07-20 18:41:20 UTC
If one runs Xine from a directory that you don't have the permissions necessary to be in, then it causes an infinite number of error boxes to open (or so it seems) very quickly.  One way to easily cause this is as follows (though other ones with changing directory permissions are also applicable):

From console, before starting X, log in as root
su into a user from the root's home.  (su username)
startx

From now on, when you open a terminal, you will be in /root instead of your user's home initally (or, at the very least, I don't start off in $HOME).  Run xine.

Choose to open a file, and Xine should go into an infinite loop as it does not have permission to read in the directory it was started from.  This behavior is probably undesirable, even if the setup very uncommon.

I am running Xine 0.99.4-r5.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 00:07:00 UTC
xine-ui version? emerge --info?
Comment 2 Aaron Sheldon 2006-07-21 03:27:48 UTC
When Xine attempts to read an unreadable directory at all, apparently, it displays this bug.  The setup I previously believed necessary is not.  As user, merely attempting to access /root from the GUI causes this bug.

xine-ui version was 0.99.4-r5 at first reporting (the most recent stable), as stated in the original post, but I upgraded to 0.99.4-r6 and the bug still remains.

emerge --info is below:
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r4, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.UTF8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi aim alsa apache2 apm asf audiofile automount avi bash-completion berkdb bidi bitmap-fonts bzip2 cdr cj  k cli crypt cups curl dri dts dvd dvdr dvdread emboss encode exif expat fam firefox foomaticdb fortran fuse gd gdbm gif glut g  nome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipod ipv6 isdnlog jabber java javascript joystick jpeg kde lcms libg  ++ libwww mad matroska mikmod mmx mmxext mng motif mp3 mpeg ncurses nls no-helper nptl nsplugin ogg opengl openssh oscar oss p  am pcmcia pcre pdflib perl php png pppd python qt3 qt4 quicktime rdesktop readline real reflection reiser4 reiserfs samba sdl   session slp spell spl sse sse2 sse3 ssl stream subtitles svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev un  icode usb v4l v4l2 vorbis wifi win32codecs wmf xine xinerama xml xml2 xmms xorg xscreensaver xv xvid zlib userland_GNU kernel_  linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-21 09:01:01 UTC
Can you please give a try to the 0.99.5_pre we have in tree? The behaviour *might* have been fixed, but if not it would be useful to know .
Comment 4 Aaron Sheldon 2006-07-21 10:30:56 UTC
Yes, the bug still exists with 0.99.5_pre20060716.
Comment 5 Pacho Ramos gentoo-dev 2007-03-03 22:54:07 UTC
Seems fixed in media-video/xine-ui-0.99.5_pre20070303

Good luck!

Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 03 Mar 2007 21:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/armagetron /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 arts asf audiofile bash-completion beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cpdflib cpudetection cracklib cross crypt cscope cups curl dbus dga divx4linux dlloader dri dts dvb dvd dvdr dvdread encode erandom escreen esd evo evolution exif fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp gimpprint glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib isdnlog ithreads jabber jack java jpeg kde kdeenablefinal kdehiddenvisibility latex lcms libg++ libnotify logrotate mad madwifi midi mikmod mime mng mono motif mp3 mpeg mpi mplayer musepack musicbrainz nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection rtc ruby scanner sdl seamonkey session slang slp sockets spell spl sse3 ssl svg sysvipc tcltk tcpd tetex theora threads tiff timidity tk totem trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xcomposite xine xml xml2 xorg xpm xv xvid 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 mulaw multi null plug rate route share shm softvol" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-05-11 08:26:25 UTC
(In reply to comment #5)
> Seems fixed in media-video/xine-ui-0.99.5_pre20070303
> 

xine-ui-0.99.5.ebuild:KEYWORDS="~alpha ~amd64 ~hppa ppc ppc64 sparc x86 ~x86-fbsd"
xine-ui-0.99.5_pre20070303.ebuild:KEYWORDS="alpha amd64"

Seems fixed then?