Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170552 - /etc/init.d/alsasound provided by alsa-utils 1.0.14_rc1 crashes runscript/depscan.sh
Summary: /etc/init.d/alsasound provided by alsa-utils 1.0.14_rc1 crashes runscript/dep...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 11:22 UTC by yasen
Modified: 2007-05-24 20:53 UTC (History)
0 users

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 yasen 2007-03-12 11:22:18 UTC
It seems that it causes infinite recursion, thus leading to high load, creating a lot of temporary files and crashing the system or making /sbin/depscan.sh to die unexpectedly while trying to cache service dependencies. This also leads to all kinds of problems caused by /sbin/depscan.sh failing to work properly while this package is installed or until removing /etc/init.d/alsasound.

Reproducible: Always

Steps to Reproduce:
1.emerge alsa-utils
2./sbin/depscan.sh -u
OR
2./etc/init.d/alsasound status
Actual Results:  
it hangs because of the bottomless recursion occurs (ps axf snapshot provided)

Expected Results:  
/sbin/depscan.sh to work properly not to crash while trying to cache service depencies.

ps axf snapshot follows:
22360 pts/6    S+     0:00  |               \_ /bin/bash /sbin/runscript.sh /etc/init.d/alsasound status
22370 pts/6    S+     0:00  |                   \_ /bin/bash /sbin/depscan.sh
22385 pts/6    S+     0:00  |                       \_ bash /var/lib/init.d/depcache
22421 pts/6    S+     0:00  |                       |   \_ bash /var/lib/init.d/depcache
22422 pts/6    S+     0:00  |                       |       \_ /bin/bash /sbin/runscript.sh /etc/init.d/alsasound restart
22429 pts/6    S+     0:00  |                       |           \_ /bin/bash /sbin/depscan.sh
22444 pts/6    S+     0:00  |                       |               \_ bash /var/lib/init.d/depcache
22480 pts/6    S+     0:00  |                       |               |   \_ bash /var/lib/init.d/depcache
22481 pts/6    S+     0:00  |                       |               |       \_ /bin/bash /sbin/runscript.sh /etc/init.d/alsasound restart
22488 pts/6    S+     0:00  |                       |               |           \_ /bin/bash /sbin/depscan.sh
22503 pts/6    S+     0:00  |                       |               |               \_ bash /var/lib/init.d/depcache
22539 pts/6    S+     0:00  |                       |               |               |   \_ bash /var/lib/init.d/depcache
22540 pts/6    S+     0:00  |                       |               |               |       \_ /bin/bash /sbin/runscript.sh /etc/init.d/alsasound restart
22547 pts/6    S+     0:00  |                       |               |               |           \_ /bin/bash /sbin/depscan.sh
... and so on...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-12 12:55:54 UTC
emerge --info, please.
Comment 2 yasen 2007-03-12 16:32:31 UTC
(In reply to comment #1)
> emerge --info, please.
> 

Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 12 Mar 2007 07:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.ludost.net/gentoo/"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 bash-completion berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd fortran fuse gdbm gif gpm gtk2 iconv ipv6 isdnlog kde libg++ midi ncurses nls nptl nptlonly nvidia opengl pam pcre perl ppds pppd python readline reflection sdl session spl ssl tcpd truetype truetype-fonts type1-fonts unicode win32codecs x86 xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-12 16:41:51 UTC
Can you perhaps try w/ baselayout-1.13.0_alpha12? You'll need to unmask sys-apps/makedev as well (plus media-gfx/splashutils if you are using bootsplash). It works just fine here.
Comment 4 yasen 2007-03-13 10:35:51 UTC
(In reply to comment #3)
> Can you perhaps try w/ baselayout-1.13.0_alpha12? You'll need to unmask
> sys-apps/makedev as well (plus media-gfx/splashutils if you are using
> bootsplash). It works just fine here.
> 

I am failing to do so with the following error:
!!! Digest verification failed:
!!! /usr/portage/distfiles/baselayout-1.13.0_alpha12.tar.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 230982
!!! Expected: 132853

PS I have done emerge --sync just before trying to emerge =baselayout-1.13.0_alpha12
Comment 5 yasen 2007-05-24 20:53:43 UTC
I have switched to baselayout-1.13.0_alpha12 and everything works fine. Thanks for your help.