Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201431 - media-libs/flac-1.2.1-r2 : SIGILL in in FLAC__cpu_info()
Summary: media-libs/flac-1.2.1-r2 : SIGILL in in FLAC__cpu_info()
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 22:57 UTC by Rafał Mużyło
Modified: 2008-05-28 18:00 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 Rafał Mużyło 2007-12-05 22:57:29 UTC
Summary says it all. This is something I noticed while testing a problem in audacious. It was about something different, but I noticed that one of the messages while loading plugins is one from the summary (I've never tried playing flacs in audacious before). This causes annoying behavior during playback - it plays about a second (maybe less), then it stops, and so on.
Important details: Duron 650.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-05 23:00:30 UTC
Not KDE. Plus any debug output whatsover missing, and emerge --info as well. :/
Comment 2 Rafał Mużyło 2007-12-05 23:38:32 UTC
Must have slipped, when I clicked it.
There's not much debug output then the summary
Program received signal SIGILL, Illegal instruction.
0xb531c356 in FLAC__cpu_info () from /usr/lib/libFLAC.so.8
(gdb) bt
#0  0xb531c356 in FLAC__cpu_info () from /usr/lib/libFLAC.so.8
#1  0xb5330363 in ?? () from /usr/lib/libFLAC.so.8
#2  0x0826d2f4 in ?? ()
#3  0x0826f868 in ?? ()
#4  0x00000000 in ?? ()
while loading the plugin.
As for info:
sys-devel/gcc-4.2.2
nasm: both 0.98.39-r3 and 2.0
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-12-06 14:12:49 UTC
Still no emerge --info..
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-12-06 14:13:31 UTC
and "cat /proc/cpuinfo"
Comment 5 Rafał Mużyło 2007-12-06 18:58:29 UTC
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 3
model name      : AMD Duron(tm) Processor
stepping        : 1
cpu MHz         : 651.181
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow up
bogomips        : 1304.01
clflush size    : 32
Comment 6 Rafał Mużyło 2007-12-06 19:01:41 UTC
CFLAGS="-O2 -pipe -march=athlon -mtune=athlon"
And I have recompiled flac to make sure, yeah, same result.
Comment 7 Rafał Mużyło 2007-12-09 15:08:39 UTC
My emerge --info

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Duron(tm) Processor
Timestamp of tree: Fri, 07 Dec 2007 06:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r2, 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -mtune=athlon -pipe -fgnu89-inline"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -mtune=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.prz.rzeszow.pl/ http://gentoo.zie.pg.gda.pl/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.osuosl.org/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,relro"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi afs alsa apache2 apm audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 bzlib cairo caps cdr cjk cli cracklib crypt cscope curl dbus directfb doc dri dvd dvdr dvdread eds emboss encode esd evo fam fbcon ffmpeg firefox flac fortran ftp gdbm ggi gif glut gmp gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imagemagick imap ipv6 isdnlog java javascript joystick jpeg jpeg2k kerberos lcms ldap leim libwww mad maildir matroska midi mikmod mmap mmx mng motif mp3 mpeg mudflap mysql ncurses nis nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png posix pppd python qt qt3support qt4 quicktime readline reflection ruby sasl sdl session sharedext slp sndfile sockets speex spell spl ssl svg tcpd tetex theora tiff tk tokenizer truetype truetype-fonts type1-fonts unicode v4l vcd vhosts vorbis win32codecs wmf wxwindows x86 xcb xface xinerama xml xml2 xorg xosd xv xvid zlib" ALSA_CARDS="dummy virmidi ens1371 mpu401 via82xx" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev linuxinput ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

not that this would help much you more than what I already posted, it states x86, but my packages.keywords is rather impressing (after all, gcc-4.2.2 is not x86).
Comment 8 Rafał Mużyło 2007-12-13 00:39:21 UTC
Well, it seems that nobody cares about this bug.
Then again this might not be a bug after all. It looks like flac developers decided to handle SIGILL by themselves, so this SIGILL may be intended (and it does not happen when lib is compiled without asm optimizations).
And this audacious behavior seems to be audacious bug, as flac123 plays files without a problem.
Comment 9 Rafał Mużyło 2007-12-23 19:28:19 UTC
OK, after some more testing I think this bug was invalid and not flac related in the first place. I'm opening a new bug for audacious about this problem.
Comment 10 Rafał Mużyło 2008-05-28 18:00:04 UTC
As I learned awhile ago this bug is invalid, so I'm closing it.