My Mediatomb config file has not changed for a while. I am using a transcode-all config file based on the one published here : http://mediatomb.cc/dokuwiki/transcoding:transcoding However, since mediatomb-0.12 at least, I noticed that after each movie watched 2 mencoder processes are launched on 2 different FIFOs. One of them transmit the actual transcoded video to the renderer (a PS3), but the other remains kernel-blocked, writing into a pipe for which no one is actually reading to (only a kill -KILL can kill it). Some traces are in attachment. As shown, two pipes are created for two processes, however only one process is killed... I downloaded static binary version: mediatomb-static-0.11.0-r2-linux-uclibc-i386.tar.gz from the upstream web site. And this problem does not happened with this version. I tried to debug (using ddd/gdb). However the multi-threading make the task too cumbersome for me. If you have any idea how I can help, please tell me so. Regards. Reproducible: Always Steps to Reproduce: 1.emerge mediatomb-0.12.1-r1 2.use a transcode-all config file such as the one provided at http://mediatomb.cc/dokuwiki/transcoding:transcoding 3.Launch /etc/init.d/mediatomb start 4.Watch a media file (so transcoding happen) Actual Results: 4.ps aux|grep mencoder should list 2 mencoder processes 5.Stop watching the media file 6.ps aux|grep mencoder should list 1 mencoder process, you need a kill -KILL ta actually kill it (kernel blocked, writing to a FIFO with no reader). Expected Results: ps aux|grep mencoder should only list 1 mencoder process The said process should be killed after watching the media file so no mencoder remains at the end. Portage 2.1.11.31 (default/linux/x86/10.0/desktop/kde, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo i686) ================================================================= System uname: Linux-3.5.7-gentoo-i686-Intel-R-_Core-TM-_i3-2310M_CPU_@_2.10GHz-with-gentoo-2.1 Timestamp of tree: Sat, 08 Dec 2012 02:00:01 +0000 ld GNU ld (GNU Binutils) 2.22 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 3.1.8 [enabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/ccache: 3.1.8 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.6 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo location: /mnt/portage/tree sync: rsync://gaia/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ALSA_CARDS="hda-intel" 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" ANT_HOME="/usr/share/ant" 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" ARCH="Linux" AUTOCLEAN="yes" BOOTSTRAP_USE="cxx unicode" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" CBUILD="i686-pc-linux-gnu" CCACHE_SIZE="2G" CFLAGS="-mtune=pentium-m -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" COLLISION_IGNORE="/lib/modules/* *.py[co]" COLORFGBG="15;0" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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" CVS_RSH="ssh" CXXFLAGS="-mtune=pentium-m -Os -pipe -fomit-frame-pointer" DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-XgCJF8OZfv,guid=d2fb8554ea6e594b23429eb1509688cb" DCCC_PATH="/usr/lib/distcc/bin" DESKTOP_SESSION="KDE-4" DISPLAY=":0" DISTCC_LOG="" DISTCC_VERBOSE="" DISTDIR="/mnt/portage/distfiles" DM_CONTROL="/var/run/xdmctl" EDITOR="vi" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--verbose --keep-going --jobs --load-average=10.0 --usepkg --binpkg-respect-use --autounmask-write" EMERGE_WARNING_DELAY="10" EPREFIX="" EROOT="/" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" FFLAGS="-O2 -march=i686 -pipe" FLTK_DOCDIR="/usr/share/doc/fltk-1.3.0-r1/html" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="http://distfiles.gentoo.org" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="" GSETTINGS_BACKEND="gconf" GS_LIB="/home/pierre/.fonts" GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/pierre/.gtkrc-2.0:/home/pierre/Config/kde4.cfg/share/config/gtkrc-2.0" GTK_RC_FILES="/etc/gtk/gtkrc:/home/pierre/.gtkrc:/home/pierre/Config/kde4.cfg/share/config/gtkrc" HG="/usr/bin/hg" HISTSIZE="1024" HOME="/home/pierre" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.5.4/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.22/info:/usr/share/info/emacs-24" INPUT_DEVICES="keyboard mouse synaptics evdev" IUSE_IMPLICIT="prefix" JAVAC="/home/pierre/.gentoo/java-config-2/current-user-vm/bin/javac" JAVACC_HOME="/usr/share/javacc/" JAVA_HOME="/home/pierre/.gentoo/java-config-2/current-user-vm" JDK_HOME="/home/pierre/.gentoo/java-config-2/current-user-vm" KDE_FULL_SESSION="true" KDE_MULTIHEAD="false" KDE_SESSION_UID="1000" KDE_SESSION_VERSION="4" KERNEL="linux" KONSOLE_DBUS_SERVICE=":1.30" KONSOLE_DBUS_SESSION="/Sessions/14" LADSPA_PATH="/usr/lib/ladspa" LANG="en_US.utf8" LANGUAGE="" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_CTYPE="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--sort-common" LESS="-R -M --shift 5" LESSOPEN="|lesspipe %s" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr"
Created attachment 331844 [details] Mediatomb log showing transcoding is launched two times for a single media file.
I don't use the transcoding functionality, so I'm not going to be able to help here. Have you tried raising the issue upstream? Is this still an issue with the latest version?
No response in ~7 months... closing.