Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172318 - media-gfx/splashutils-1.3.1 doesn't complete resume
Summary: media-gfx/splashutils-1.3.1 doesn't complete resume
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-26 17:28 UTC by Matt
Modified: 2007-07-07 20:07 UTC (History)
0 users

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


Attachments
My hibernate log (hibernate.log,10.22 KB, text/plain)
2007-04-09 18:50 UTC, Matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2007-03-26 17:28:10 UTC
The package works for the most part.  The machine suspends and resumes (I only use to RAM not to DISK), but leaves nasty parts behind:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21054 ?        00:00:00 hibernate-ram
21318 ?        00:00:00 tee
21366 tty16    00:00:02 splash_util
21383 tty16    00:00:00 sh <defunct>
21418 tty16    00:00:00 sh <defunct>
21422 tty16    00:00:00 sh <defunct>
21432 tty16    00:00:00 sh <defunct>
21474 tty16    00:00:00 sh <defunct>
21477 tty16    00:00:00 sh <defunct>
21497 tty16    00:00:00 sh <defunct>
22454 tty16    00:00:00 sh <defunct>
22474 tty16    00:00:00 sh <defunct>
22485 tty16    00:00:00 sh <defunct>
23166 tty16    00:00:00 sh <defunct>
23211 tty16    00:00:00 sh <defunct>
23248 tty16    00:00:00 sh <defunct>
23257 tty16    00:00:00 sh <defunct>
23295 tty16    00:00:00 sh <defunct>
23355 tty16    00:00:00 sh <defunct>
23381 tty16    00:00:00 sh <defunct>
24382 tty16    00:00:00 sh <defunct>
24406 tty16    00:00:00 sh <defunct>
24427 tty16    00:00:00 sh <defunct>
24580 tty16    00:00:00 sh <defunct>
24595 tty16    00:00:00 sh <defunct>
24603 tty16    00:00:00 sh <defunct>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(I snipped out a few unrelated things like kdm, konq threads, etc.)

If I "killall -SIGTERM splash_util" all thoes extra defunct processes go away and all is well until the next resume.  I see no adverse effects of this(these) processes sitting around.  If I leave them, the machine still happily suspends and resumes 100% fine with no issues.

This behavior started with splashutils-1.3.1, anything prior didn't do this.

I hate to make this even longer, but since it's often asked for on the forums, here's my env:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man
KDE_MULTIHEAD=false
DM_CONTROL=/var/run/xdmctl
TERM=xterm
SHELL=/bin/bash
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
GTK2_RC_FILES=/home/palermo/.gtkrc-2.0:/home/palermo/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc
GTK_RC_FILES=/etc/gtk/gtkrc:/home/palermo/.gtkrc:/home/palermo/.kde3.5/share/config/gtkrc
GS_LIB=/home/palermo/.fonts
WINDOWID=62914713
QTDIR=/usr/qt/3
DISTCC_HOSTS=aragorn localhost
TMAKEPATH=/usr/lib/tmake/linux-g++
LC_ALL=en_US
KDE_FULL_SESSION=true
SGML_CATALOG_FILES=/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/sgml-docbook-4.2.cat:/etc/sgml/sgml-docbook-4.3.cat:/etc/sgml/sgml-docbook-4.4.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/xml-simple-docbook-1.0.cat:/etc/sgml/xml-simple-docbook-4.1.2.4.cat
USER=palermo
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.yuv=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:*.ra=01;36:*.mka=01;36:
PRELINK_PATH_MASK=/lib/modules:/usr/lib/locale:/usr/lib/wine:/usr/lib/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js:/usr/lib/klibc
GDK_USE_XFT=1
SESSION_MANAGER=local/toa-tahu:/tmp/.ICE-unix/17467
VMHANDLE=blackdown-jdk-1.4.2
PAGER=/usr/bin/less
CONFIG_PROTECT_MASK=/etc/java-config/vms/ /etc/env.d/java/ /etc/terminfo /etc/revdep-rebuild /etc/splash
XDG_CONFIG_DIRS=/usr/kde/3.5/etc/xdg
KONSOLE_DCOP=DCOPRef(konsole-20864,konsole)
DESKTOP_SESSION=kde-3.5
PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/sbin:/usr/sbin
KONSOLE_DCOP_SESSION=DCOPRef(konsole-20864,session-3)
DISTCC_LOG=
PWD=/home/palermo
JAVA_HOME=/home/palermo/.gentoo/java-config-2/current-user-vm
GENERATION=2
EDITOR=/bin/nano
JAVAC=/home/palermo/.gentoo/java-config-2/current-user-vm/bin/javac
LANG=en_US
QMAKESPEC=linux-g++
KDEDIRS=/usr/kde/3.5:/usr:/usr/local:/usr
DISTCC_DIR=/var/tmp/portage/.distcc
DISTCC_VERBOSE=0
DCCC_PATH=/usr/lib/distcc/bin
JDK_HOME=/home/palermo/.gentoo/java-config-2/current-user-vm
SHLVL=2
HOME=/home/palermo
XCURSOR_THEME=default
PYTHONPATH=/usr/lib/portage/pym
LESS=-R -M -i --shift 5
G_FILENAME_ENCODING=UTF-8
LOGNAME=palermo
GCC_SPECS=
CVS_RSH=ssh
XDG_DATA_DIRS=/usr/share:/usr/kde/3.5/share:/usr/local/share
CLASSPATH=.
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-rByZflzlPx,guid=e6194271545d1e07005a64004607d127
PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig:/usr/lib/pkgconfig:/usr/qt/3/lib/pkgconfig
LESSOPEN=|lesspipe.sh %s
INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info
DISPLAY=:0.0
USB_DEVFS_PATH=/dev/bus/usb
OPENGL_PROFILE=xorg-x11
SANE_CONFIG_DIR=/etc/sane.d
G_BROKEN_FILENAMES=1
CONFIG_PROTECT=/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/xdvi/ /usr/share/config
COLORTERM=
_=/usr/bin/env
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Also:
sys-power/hibernate-script-1.94-r5
sys-apps/suspend2-userui-0.6.4-r2
sys-kernel/suspend2-sources-2.6.19-r3

I hope something I've posted helps.


Thanx.
M.


Reproducible: Always

Steps to Reproduce:
1. run 'hibernate-ram'
2. resume the machine
3. run 'ps -e'




media-gfx/splashutils-1.3.1
sys-power/hibernate-script-1.94-r5
sys-apps/suspend2-userui-0.6.4-r2
sys-kernel/suspend2-sources-2.6.19-r3
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2007-04-07 20:30:10 UTC
Here are some things to check:

- Is this still an issue with splashutils-1.4?
- Are you sure that the problem originates in splashutils (i.e. does downgrading splashutils to 1.3 make it work)?
- It looks like the splash daemon is still running after you resume:
-- What happens if you do `chvt 16`? Do you see the splash screen?
-- What happens if you do `echo exit > /lib/splash/cache/.splash`? Do the sh processes go away?
Comment 2 Matt 2007-04-09 18:50:21 UTC
Created attachment 115847 [details]
My hibernate log

I'm just including this to show that the hibernate process runs and completes with out error, so it doesn't seem liken something in there is causing splash utils to not exit.
Comment 3 Matt 2007-04-09 18:54:15 UTC
(sorry for the double comment, I'm still a bit new to this interface...)


(In reply to comment #1)
> Here are some things to check:
> 
> - Is this still an issue with splashutils-1.4?

Yes, I just upgraded.  Same thing.

> - Are you sure that the problem originates in splashutils (i.e. does
> downgrading splashutils to 1.3 make it work)?

Honestly, I dont know.  After unmasking an older splashutils:

~~~~~~~~~~~~~~~~~~~~~~

# emerge -avD =media-gfx/splashutils-1.3-r3

These are the packages that would be merged, in order:

Calculating dependencies                        og
!!! All ebuilds that could satisfy ">=sys-apps/baselayout-1.13.0_alpha7-r1" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/baselayout-1.13.0_alpha12 (masked by: package.mask)
# Roy Marples <uberlord@gentoo.org> (02 Oct 2006)
# masked for testing due to major ebuild and installation changes


For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "media-gfx/splashutils-1.3-r3" [ebuild])

~~~~~~~~~~~~~~~~~~~~~~

That's starting to seems a bit spooky to me.  Shall I proceed, Captain?

> - It looks like the splash daemon is still running after you resume:
> -- What happens if you do `chvt 16`? Do you see the splash screen?

Yes.

> -- What happens if you do `echo exit > /lib/splash/cache/.splash`? Do the sh
> processes go away?
> 

No, they do not.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2007-04-09 20:54:35 UTC
> (dependency required by "media-gfx/splashutils-1.3-r3" [ebuild])
>
> That's starting to seems a bit spooky to me.  Shall I proceed, Captain?

You can proceed, but with splashutils-1.3-r2 (this one shouldn't be masked) instead of -r3. -r3 is a special version that was developed to test some new features in an experimental version of baselayout.
 
> > -- What happens if you do `echo exit > /lib/splash/cache/.splash`? Do the sh
> > processes go away?
>
> No, they do not.

And the command finish successfully, or do you have to interrupt it to get back to a shell prompt?

Also, try `echo "set mode silent" > /lib/splash/cache/.splash` and see whether this gets you into tty16 with the silent splash screen.