Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161930 - media-video/vlc-0.8.6-r1 module RC takes 100% cpu usage
Summary: media-video/vlc-0.8.6-r1 module RC takes 100% cpu usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-13 19:24 UTC by Bas Nedermeijer
Modified: 2008-04-06 13:20 UTC (History)
0 users

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


Attachments
Patch to close STDIN when using rc (vlc_patch_high_cpu_usage.patch,329 bytes, patch)
2007-01-13 19:26 UTC, Bas Nedermeijer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bas Nedermeijer 2007-01-13 19:24:21 UTC
When using the RC module and start VLC in the background, the program takes up 100% cpu-usage

Reproducible: Always

Steps to Reproduce:
1. vlc --extraintf rc --no-wx-embed --rc-fake-tty --rc-unix /tmp/vlc_cmd

Actual Results:  
vlc takes op 100%

Expected Results:  
vlc takes up 10%
Comment 1 Bas Nedermeijer 2007-01-13 19:26:15 UTC
Created attachment 106831 [details, diff]
Patch to close STDIN when using rc

This patch closes stdin when using another socket
Comment 2 Kevin Wilson 2007-01-13 22:29:22 UTC
I can't reproduce this bug.


Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 13 Jan 2007 21:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig colorgcc distlocks metadata-transfer multilib-strict parallel-fetch prelink sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j3"
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/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi aim alsa alsa_cards_emu10k1 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 bash-completion beagle berkdb bitmap-fonts bittorrent browserplugin bzip2 cairo canna cddb cdparanoia cdr cjk cli cracklib crypt css cups dbus dga dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode esd fam fastcgi ffmpeg firefox flac fortran gcc64 gd gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javascript jpeg kerberos kernel_linux libg++ linguas_en lm_sensors mad maildir mbox mikmod mime mmx2 mono mp3 mpeg mplayer msn ncurses nls nptl nptlonly nsplugin offensive ogg opengl oscar oss pam pcre perl png ppds pppd python quicktime readline reflection samba sdl session speex spell spl ssl startup-notification subtitles svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia vim-syntax vorbis xine xinerama xml xorg xosd xpm xv xvid yahoo zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-13 23:51:02 UTC
Cannot reproduce either...
Comment 4 Bas Nedermeijer 2007-01-14 02:41:08 UTC
(In reply to comment #3)
> Cannot reproduce either...
> 

(In reply to comment #3)
> Cannot reproduce either...
> 
sorry, maybe wasn't clear. This bug only occurs when starting this binary from a batchfile/shellscript. So please try prepending the "kstart"-command or appending the "&"-sign. Or just launching it from a shell-script.

 vlc --extraintf rc --no-wx-embed --rc-fake-tty --rc-unix /tmp/vlc_cmd&
Comment 5 Alexis Ballier gentoo-dev 2007-02-13 13:12:01 UTC
Did you try to report this upstream ?

I've found this : https://trac.videolan.org/vlc/ticket/986

Especially if you have a patch they might be interested in fixing this.
Comment 6 Bas Nedermeijer 2007-03-26 15:31:37 UTC
(In reply to comment #5)
> Did you try to report this upstream ?
> 
> I've found this : https://trac.videolan.org/vlc/ticket/986
> 
> Especially if you have a patch they might be interested in fixing this.
> 

Tried is the correct description. Around the same time i reported it on this form. Some developer wasnt able to reproduce it. Also sent the mentioned link, but no response since then.
Comment 7 Alexis Ballier gentoo-dev 2008-04-06 13:20:51 UTC
shoud be finally fixed in 0.8.6f