Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328819 - media-video/xine-ui-0.99.6 hangs on exit when using lirc
Summary: media-video/xine-ui-0.99.6 hangs on exit when using lirc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-18 14:22 UTC by Tom Dexter
Modified: 2014-06-22 17:57 UTC (History)
2 users (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 Tom Dexter 2010-07-18 14:22:52 UTC
When lirc is in use media-video/xine-ui-0.99.6 hangs in what appears to to a deadlock or loop when you try to exit playback of VIDEO_TS or DVD iso files with either the remote of 'q' on the keyboard.  I'm already working with the upstream devs trying to resolve it:

http://bugs.xine-project.org/show_bug.cgi?id=362

There is at least on other Gentoo user on the mythtv-users mailing list who experienced the same thing.  It's especially inconvenient as media-video/xine-ui-0.99.5-r1 (which works ok) has been removed from portage.

Reproducible: Always

Steps to Reproduce:
1. Play a VIDEO_TS direcory
2. Try to exit
3. xine freezes
Comment 1 Tom Dexter 2010-07-24 15:29:21 UTC
The last patch posted on the above xine bug (posted in comment #29) corrects this issue for me, although I had to modify it slightly to get it to apply against the xine-ui head release.  I posted a unified diff of the resulting changes here:

http://bugs.xine-project.org/attachment.cgi?id=232
Comment 2 Adam Felson 2010-08-05 16:46:33 UTC
also seen on my system.  If I hit stop, xine never exits.  I built xine-lib and xine-ui from cvs and they don't hang.

Linux myth 2.6.31-gentoo-r10 #11 SMP PREEMPT Tue Apr 20 12:38:05 MST 2010 x86_64 AMD Phenom(tm) 8750 Triple-Core Processor AuthenticAMD GNU/Linux

[ebuild  N    ] media-libs/xine-lib-1.1.18.1  USE="X a52 aac aalib alsa css dts flac gtk imagemagick ipv6 mad mng modplug musepack nls opengl sdl speex theora truetype v4l vcd vorbis xcb xv (-altivec) -directfb -dxr3 -esd -fbcon -gnome -jack -libcaca -mmap -oss -pulseaudio (-real) -samba (-vidix) (-vis) -wavpack (-win32codecs) -xinerama -xvmc" 5,673 kB

[ebuild  N    ] media-video/xine-ui-0.99.6  USE="X aalib curl lirc nls readline -debug -libcaca -vdr -xinerama" 1,756 kB

Comment 3 Carl G. Pettit 2010-09-19 20:50:10 UTC
(In reply to comment #2)
> also seen on my system.  If I hit stop, xine never exits.  I built xine-lib and
> xine-ui from cvs and they don't hang.
> 
> Linux myth 2.6.31-gentoo-r10 #11 SMP PREEMPT Tue Apr 20 12:38:05 MST 2010
> x86_64 AMD Phenom(tm) 8750 Triple-Core Processor AuthenticAMD GNU/Linux
> 
> [ebuild  N    ] media-libs/xine-lib-1.1.18.1  USE="X a52 aac aalib alsa css dts
> flac gtk imagemagick ipv6 mad mng modplug musepack nls opengl sdl speex theora
> truetype v4l vcd vorbis xcb xv (-altivec) -directfb -dxr3 -esd -fbcon -gnome
> -jack -libcaca -mmap -oss -pulseaudio (-real) -samba (-vidix) (-vis) -wavpack
> (-win32codecs) -xinerama -xvmc" 5,673 kB
> 
> [ebuild  N    ] media-video/xine-ui-0.99.6  USE="X aalib curl lirc nls readline
> -debug -libcaca -vdr -xinerama" 1,756 kB
> 

Bump

I'm using 0.99.6 and xine hang on Pause, Stop and exit when using a remote. Keyboard works fine. But remote causes a lockup.

Running xine dvd:// --verbose=9

Pressing the button assinged as exit, xine licks up and eventually returns:

Stuck in _x_demux_control_headers_done(). Taking the emergency exit
ao_flush (loop running: 1)
Stuck in demux_loop(). Taking the emergency exit
input_cache: read calls: 6897, main input read calls: 6897
input_cache: seek_calls: 0, main input seek calls: 0
xine_dispose
shutdown audio

but never returns to the command line.

opengl implementation is xorg-x11
xvmc implementation is openchrome-pro

emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r4-i686-VIA_Nehemiah-with-gentoo-1.12.13
Timestamp of tree: Sun, 19 Sep 2010 02:05:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2                                                    
virtual/os-headers:  2.6.30-r1                                                  
ACCEPT_KEYWORDS="x86"                                                           
ACCEPT_LICENSE="* -@EULA"                                                       
CBUILD="i686-pc-linux-gnu"                                                      
CFLAGS="-O2 -march=c3-2 -mtune=c3-2 -mmmx -msse -pipe -fomit-frame-pointer"     
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=c3-2 -mtune=c3-2 -mmmx -msse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccahe distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
SYNC="rsync://www.cpedesign/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvb dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l2 vorbis x264 x86 xcb xml xorg xulrunner xv xvid xvmc 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 cgi cgid 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" DVB_CARDS="cx2341x" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

HTH

Comment 4 Adam Felson 2010-11-12 23:36:02 UTC
It is five months later and xine still hangs on exit.  If I install the cvs (now hg) version, there is no hang.

Please help.  
Comment 5 Tom Dexter 2011-09-24 18:20:51 UTC
I was just going over my overlays.  I had totally forgotten about this one.

I can confirm that mine still hangs on exit if I don't use the patch I posted above.
Comment 6 Tom Dexter 2013-03-24 14:19:18 UTC
As of the last version update to xine-ui 0.99.6 I was still encountering this issue, but I can confirm that it appears to have been fixed as of 0.99.7.  xine exits with no issue when using lirc.  Thanks!
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2014-06-22 17:57:00 UTC
(In reply to Tom Dexter from comment #6)
> As of the last version update to xine-ui 0.99.6 I was still encountering
> this issue, but I can confirm that it appears to have been fixed as of
> 0.99.7.  xine exits with no issue when using lirc.  Thanks!

Thanks for testing. I've removed 0.99.6 from Portage, 0.99.7 is the current stable. Nothing left to do here then, closing the bug.