Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 171573

Summary: media-sound/lastfmplayer-1.1.3 no startup due to alsa issues
Product: Gentoo Linux Reporter: Sebastian Krämer <mail>
Component: Current packagesAssignee: Stefan Schweizer (RETIRED) <genstef>
Status: RESOLVED DUPLICATE    
Severity: normal CC: matrixhax0r, sound
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: strace -f output of lastfm execution

Description Sebastian Krämer 2007-03-20 15:01:44 UTC
After successful emerge, lasfm fails to start, it instantly returns to the prompt without giving any hint. gdb failed too. strace however gave a hint that it is related to trouble with the sound devices:

ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf8db518) = -1 ENOTTY (Inappropriate ioctl for device)

I found some issues with the sound devices here (bug #167229) and in the last.fm forums. But this issue is different in that the application doesn't even start up in my case.
I'll attach strace output, search for "ioctl". Also, I'll gladly provide further information or testing.

Reproducible: Always

Steps to Reproduce:




# emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 19 Mar 2007 12:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/portage/distfiles"
FEATURES="autoconfig ccache clean confcache distlocks fixpackages metadata-transfer noinfo parallel-fetch sandbox sfperms splitdebug strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en_US en_GB de_DE en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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/portage"
PORTDIR="/usr/portage/portage"
PORTDIR_OVERLAY="/usr/portage/local/own /usr/portage/local/xfce4-svn /usr/portage/local/layman/xeffects /usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts cairo cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr emboss encode exif fam fbsplash ffmpeg firefox flac gdbm gif glitz gpm gtk gtk2 hal iconv isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdexdeltas libg++ lirc lm_sensors mad madwifi matroska midi mikmod mmx mozsvg mp3 mpeg musicbrainz ncurses network nocardbus nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdf pic png pppd python qt qt3 qt4 readline reflection samba sasl sdl session spell spl srt sse ssl startup-notification subversion svg tcpd tetex theora threads truetype truetype-fonts type1-fonts unicode usb utf8 v4l visualization vorbis wavpack win32codecs wsconvert x86 xcomposite xine xinerama xml xml2 xorg xosd xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="via82xx emu10k1" 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" CAMERAS="directory,ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB de_DE en de" USERLAND="GNU" VIDEO_CARDS="nv nvidia vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I'm using media-sound/alsa-driver-1.0.14_rc1 modules.

From lspci: Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08), my default device (I have an onboard "VT8233/A/8235/8237 AC97 Audio Controller (rev 50)" as well)
Comment 1 Sebastian Krämer 2007-03-20 15:03:45 UTC
Created attachment 113875 [details]
strace -f output of lastfm execution

it is also available here: http://rafb.net/p/tZNXVU91.html
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2007-03-20 21:46:33 UTC

*** This bug has been marked as a duplicate of bug 167229 ***