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

Bug 519096

Summary: net-im/skype-4.3.0.37 - /opt/bin/skype: illegal instruction (SSE2) in ? at ?
Product: Gentoo Linux Reporter: Alex Efros <powerman-asdf>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: RESOLVED CANTFIX    
Severity: normal CC: joost, martin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex Efros 2014-08-05 03:00:16 UTC
This is 32-bit system on AMD Athlon(tm) XP 3000+:
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
As you see, it doesn't support SSE2 (because of this latest working adobe-flash is 10.3.183.68), and I think there is a chance skype-4.3 fail to start because of similar reason.

$ skype
Aborted

$ gdb skype
Reading symbols from /opt/bin/skype...(no debugging symbols found)...done.
(gdb) run     
Starting program: /opt/bin/skype
warning: Cannot call inferior functions, Linux kernel PaX protection forbids return to non-executabl
e pages!      
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x4c1d2b40 (LWP 25020)]
[New Thread 0x4b7f7b40 (LWP 25021)]
[New Thread 0x4ad38b40 (LWP 25022)]
[New Thread 0x4a52db40 (LWP 25023)]
[New Thread 0x49c7cb40 (LWP 25024)]
[New Thread 0x4944cb40 (LWP 25025)]
[New Thread 0x48380b40 (LWP 25027)]
[New Thread 0x48c02b40 (LWP 25026)]
[New Thread 0x47af7b40 (LWP 25028)]
[New Thread 0x47230b40 (LWP 25029)]
[New Thread 0x4699fb40 (LWP 25030)]
[New Thread 0x460afb40 (LWP 25031)]
              
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0x4944cb40 (LWP 25025)]
0x11382452 in ?? ()
(gdb) bt full 
#0  0x11382452 in ?? ()
No symbol table info available.
#1  0x11382c4f in ?? ()
No symbol table info available.
#2  0x11384357 in ?? ()
No symbol table info available.
#3  0x11384620 in ?? ()
No symbol table info available.
#4  0x113846f6 in ?? ()
No symbol table info available.
#5  0x112a6bb0 in ?? ()
No symbol table info available.
#6  0x16844958 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Portage 2.2.8-r1 (hardened/linux/x86, gcc-4.7.3, glibc-2.17, 3.15.5-hardened-r2 i686)
=================================================================
System uname: Linux-3.15.5-hardened-r2-i686-AMD_Athlon-tm-_XP_3000+-with-gentoo-2.2
KiB Mem:     2070076 total,   1494636 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Tue, 05 Aug 2014 01:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo vmware powerman perl-experimental-snapshots local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /service /usr/inferno/keydb /usr/inferno/lib /usr/inferno/services /usr/share/config /usr/share/gnupg/qualified.txt /var/log /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage-distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write --backtrack=15"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.iteam.net.ua/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage-packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /var/lib/layman/powerman /var/lib/layman/perl-experimental-snapshots /usr/local/portage"
SYNC="rsync://rsync.ua.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac alac alsa bash-completion berkdb bzip2 caps cdda cddb cli cracklib crypt cxx dbus dri drm dts dvb dvd egl flac fontconfig gallium gdbm gif gnutls gpg hardened iconv icu id3tag idn ipv6 jpeg jpeg2k libnotify mac mad matroska mbox mmx mmxext mng modules mp3 mpeg musepack mysql ncurses network-cron nls nptl nsplugin ogg opengl openmp openvg pam pax_kernel pcre perl pic png qt3support readline session spell sse ssl svg tcpd theora tiff truetype unicode urandom vim-syntax vorbis wavpack x264 x86 xattr xosd xtpax xv xvid zlib" ABI_X86="32" 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" APACHE2_MODULES="log_config vhost_alias autoindex alias rewrite dir deflate filter mime negotiation auth_basic authn_file authz_host authz_user authz_groupfile cgi actions headers env setenvif" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru ru_RU" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi fancyindex" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="r300 radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-05 15:06:01 UTC
(In reply to Alex Efros from comment #0)
> [New Thread 0x4c1d2b40 (LWP 25020)]
> [New Thread 0x4b7f7b40 (LWP 25021)]
> [New Thread 0x4ad38b40 (LWP 25022)]
> [New Thread 0x4a52db40 (LWP 25023)]
> [New Thread 0x49c7cb40 (LWP 25024)]
> [New Thread 0x4944cb40 (LWP 25025)]
> [New Thread 0x48380b40 (LWP 25027)]
> [New Thread 0x48c02b40 (LWP 25026)]
> [New Thread 0x47af7b40 (LWP 25028)]
> [New Thread 0x47230b40 (LWP 25029)]
> [New Thread 0x4699fb40 (LWP 25030)]
> [New Thread 0x460afb40 (LWP 25031)]
>               
> Program received signal SIGILL, Illegal instruction.
> [Switching to Thread 0x4944cb40 (LWP 25025)]
> 0x11382452 in ?? ()
> (gdb) bt full 

Try `t a a bt full' - you're only checking the main thread there.
Comment 2 Alex Efros 2014-08-08 10:17:26 UTC
$ gdb skype
GNU gdb (Gentoo 7.6.2 p1) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /opt/bin/skype...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/bin/skype 
warning: Cannot call inferior functions, Linux kernel PaX protection forbids return to non-executable pages!
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x482cdb40 (LWP 26398)]
[New Thread 0x478bdb40 (LWP 26399)]
[New Thread 0x46e2ab40 (LWP 26400)]
[New Thread 0x465b6b40 (LWP 26401)]
[New Thread 0x45d1eb40 (LWP 26402)]
[New Thread 0x4548ab40 (LWP 26403)]
[New Thread 0x44c36b40 (LWP 26404)]
[New Thread 0x443bfb40 (LWP 26405)]
[New Thread 0x43b1ab40 (LWP 26406)]
[New Thread 0x432ceb40 (LWP 26407)]
[New Thread 0x42a69b40 (LWP 26408)]
[New Thread 0x421acb40 (LWP 26409)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0x4548ab40 (LWP 26403)]
0x1679a452 in ?? ()
(gdb) t a a bt full

Thread 13 (Thread 0x421acb40 (LWP 26409)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b224d94 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c5869 in ?? ()
No symbol table info available.
#3  0x167c15f6 in auf_v16::TimerHandler::timerWorkLoop() ()
No symbol table info available.
#4  0x167c023c in ?? ()
No symbol table info available.
#5  0x167baa29 in ?? ()
No symbol table info available.
#6  0x167baab2 in ?? ()
No symbol table info available.
#7  0x167c96e3 in ?? ()
No symbol table info available.
#8  0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 12 (Thread 0x42a69b40 (LWP 26408)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b2249ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c9636 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#3  0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 11 (Thread 0x432ceb40 (LWP 26407)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b2249ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c9636 in ?? ()
No symbol table info available.
#3  0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 10 (Thread 0x43b1ab40 (LWP 26406)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b2249ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c9636 in ?? ()
No symbol table info available.
#3  0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 9 (Thread 0x443bfb40 (LWP 26405)):
---Type <return> to continue, or q <return> to quit---
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b2249ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c9636 in ?? ()
No symbol table info available.
#3  0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 8 (Thread 0x44c36b40 (LWP 26404)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b224d94 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c5869 in ?? ()
No symbol table info available.
#3  0x167c5ae5 in ?? ()
No symbol table info available.
#4  0x167b17c5 in auf_v16::Event::wait(unsigned int) ()
No symbol table info available.
#5  0x167be4ff in ?? ()
No symbol table info available.
#6  0x167be5c8 in ?? ()
No symbol table info available.
#7  0x167befb0 in auf_v16::ThreadPoolImp::workLoop(auf_v16::Worker*) ()
No symbol table info available.
#8  0x167bd464 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#9  0x167baa29 in ?? ()
No symbol table info available.
#10 0x167baab2 in ?? ()
No symbol table info available.
#11 0x167c96e3 in ?? ()
No symbol table info available.
#12 0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 7 (Thread 0x4548ab40 (LWP 26403)):
#0  0x1679a452 in ?? ()
No symbol table info available.
#1  0x1679ac4f in ?? ()
No symbol table info available.
#2  0x1679c357 in ?? ()
No symbol table info available.
#3  0x1679c620 in ?? ()
No symbol table info available.
#4  0x1679c6f6 in ?? ()
No symbol table info available.
#5  0x166bebb0 in ?? ()
No symbol table info available.
#6  0x1b2bd6a8 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0x45d1eb40 (LWP 26402)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1  0x4b2249ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c9636 in ?? ()
No symbol table info available.
#3  0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 5 (Thread 0x465b6b40 (LWP 26401)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b2249ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c590e in ?? ()
No symbol table info available.
#3  0x167be0d3 in auf_v16::ThreadPoolManager::run() ()
No symbol table info available.
#4  0x167bd3ec in ?? ()
No symbol table info available.
#5  0x167baa29 in ?? ()
No symbol table info available.
#6  0x167baab2 in ?? ()
No symbol table info available.
#7  0x167c96e3 in ?? ()
No symbol table info available.
#8  0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x4afff05e in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

Thread 4 (Thread 0x46e2ab40 (LWP 26400)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b224d94 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c5869 in ?? ()
No symbol table info available.
#3  0x167c5ae5 in ?? ()
No symbol table info available.
#4  0x167b17c5 in auf_v16::Event::wait(unsigned int) ()
No symbol table info available.
#5  0x16bc20f4 in auf_v16::internal::MutexDeadlockMonitor::run() ()
No symbol table info available.
#6  0x16bc1c3c in ?? ()
No symbol table info available.
#7  0x167baa29 in ?? ()
No symbol table info available.
#8  0x167baab2 in ?? ()
No symbol table info available.
#9  0x167c96e3 in ?? ()
No symbol table info available.
#10 0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x478bdb40 (LWP 26399)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1  0x4b224d94 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c5869 in ?? ()
No symbol table info available.
#3  0x167c5ae5 in ?? ()
No symbol table info available.
#4  0x167b17c5 in auf_v16::Event::wait(unsigned int) ()
No symbol table info available.
#5  0x1619a86a in ?? ()
No symbol table info available.
#6  0x167baab2 in ?? ()
No symbol table info available.
#7  0x167c96e3 in ?? ()
No symbol table info available.
#8  0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x482cdb40 (LWP 26398)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b2249ac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x167c590e in ?? ()
No symbol table info available.
#3  0x167c5ae5 in ?? ()
No symbol table info available.
#4  0x167ba5c0 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#5  0x167bb377 in ?? ()
No symbol table info available.
#6  0x167b141c in ?? ()
No symbol table info available.
#7  0x167b1523 in ?? ()
No symbol table info available.
#8  0x167c355b in auf_v16::SystemTrace::dispatchLoop(bool) ()
No symbol table info available.
#9  0x167c2445 in ?? ()
No symbol table info available.
#10 0x167baa29 in ?? ()
No symbol table info available.
#11 0x167baab2 in ?? ()
No symbol table info available.
#12 0x167c96e3 in ?? ()
No symbol table info available.
#13 0x4b220d94 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x4afff05e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x489fb740 (LWP 26394)):
#0  0x4dccaaf2 in __kernel_vsyscall ()
No symbol table info available.
#1  0x4b22770c in __lll_unlock_wake () from /lib/libpthread.so.0
No symbol table info available.
#2  0x4b223e47 in _L_unlock_463 () from /lib/libpthread.so.0
No symbol table info available.
#3  0x4b223d8a in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#4  0x167c92b5 in ?? ()
No symbol table info available.
#5  0x167ba877 in ?? ()
No symbol table info available.
#6  0x167ba8e5 in ?? ()
No symbol table info available.
#7  0x16101fdc in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) quit
A debugging session is active.

        Inferior 1 [process 26394] will be killed.

Quit anyway? (y or n) y
Comment 3 Martin Väth 2014-12-07 17:22:06 UTC
I have the same issue on x86, on a machine which does not have sse2, either:

According to some user posts on the skype page, it seems skype does no longer work on processors which have no sse2.

It would be nice to have at least some emulation (also for adobe-flash), but I do not know about such a project.
Comment 4 Amy Liffey gentoo-dev 2014-12-16 09:09:35 UTC
Report it to upstream.

Amynka