Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585042 - media-sound/spotify-1.0.31: Segmentation Fault when network is up
Summary: media-sound/spotify-1.0.31: Segmentation Fault when network is up
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL: https://community.spotify.com/t5/Help...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-04 20:15 UTC by Thymo van Beers
Modified: 2016-06-29 16:24 UTC (History)
2 users (show)

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


Attachments
strace (spotify-dump.zip,90.60 KB, application/zip)
2016-06-09 22:34 UTC, Alexandre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thymo van Beers 2016-06-04 20:15:50 UTC
After updating to the latest version spotify segfaults on startup.

Reproducible: Always

Gentoo ~ # emerge --info spotify
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo-thymo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.6-gentoo-thymo-x86_64-AMD_FX-tm-8320_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:     8188072 total,   3600776 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 04 Jun 2016 19:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://mirror.leaseweb.com/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acpi alsa amd64 berkdb bindist branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus declarative dhcpcd dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv icu jpeg kde kipi lcms ldap libnotify logrotate mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 rar readline samba sddm sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vlc vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" GRUB_PLATFORMS="pc efi-64" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-sound/spotify-1.0.31::gentoo was built with the following:
USE="-gnome -pax_kernel -pulseaudio" ABI_X86="64"
Comment 1 Thymo van Beers 2016-06-06 08:04:25 UTC
This bug seems to be happening only when the network is up. When the network is brought down spotify will launch but crashes as soon as the network is bought back up and a song is played.
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-09 19:48:29 UTC
you tried this (was displayed on emerge)

	ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
	ewarn "To remove the cache:"
	ewarn "rm -rf ~/.cache/spotify"

that said, it's working for me
Comment 3 Thymo van Beers 2016-06-09 20:08:47 UTC
Tried that multiple times. No change.
Comment 4 Alexandre 2016-06-09 20:22:31 UTC
I am also having problems with spotify.

It return "Segmentation Fault" when I try to play anything. I just use the streaming feature, and I already had removed all spotify folders.

Spotify messages: http://pastebin.com/vrSA1URW

I had spotify-1.0.31 working. I believe some dependency updated later broke it. I tried downgrading nss but without luck.
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-09 20:27:58 UTC
can you ldd this?

/opt/spotify/spotify-client/spotify
Comment 6 Alexandre 2016-06-09 20:31:44 UTC
I just had downgraded nss again, I do not know if will make any difference.

/opt/spotify/spotify-client/spotify: /usr/lib64/libssl.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libcurl.so.4: no version information available (required by /opt/spotify/spotify-client/spotify)
        linux-vdso.so.1 (0x00007fffba3fb000)
        libasound.so.2 => /usr/lib64/libasound.so.2 (0x0000003a73800000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003a64000000)
        libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x0000003ff6000000)
        libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x000000324c600000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x000000324a600000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003a6ec00000)
        libz.so.1 => /lib64/libz.so.1 (0x0000003a64400000)
        libcef.so => /opt/spotify/spotify-client/libcef.so (0x00007f3fcbcf8000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a63c00000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003a65000000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003a63800000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003244e00000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x0000003243600000)
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f3fcb6c0000)
        libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007f3fcb408000)
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x000000324e200000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x0000003249600000)
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007f3fcb1f0000)
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007f3fcafe0000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x000000324d200000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f3fcacb8000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x000000324de00000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f3fcaa70000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x0000003248e00000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f3fca7a8000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/libstdc++.so.6 (0x0000003243200000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/libgcc_s.so.1 (0x0000003242e00000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003a63400000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003a63000000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x0000003248600000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x000000324be00000)
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x000000324d600000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003245200000)
        libnss3.so => /usr/lib64/libnss3.so (0x00007f3fca488000)
        libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007f3fca258000)
        libsmime3.so => /usr/lib64/libsmime3.so (0x00007f3fca030000)
        libnspr4.so => /usr/lib64/libnspr4.so (0x0000003a78200000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x0000003247e00000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x0000003246a00000)
        libXtst.so.6 => /usr/lib64/libXtst.so.6 (0x0000003250200000)
        libgconf-2.so.4 => /usr/lib64/libgconf-2.so.4 (0x000000324b000000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x000000324c200000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x000000324a200000)
        libXss.so.1 => /usr/lib64/libXss.so.1 (0x0000003250a00000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x000000324b600000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x0000003243e00000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x0000003249a00000)
        libcups.so.2 => /usr/lib64/libcups.so.2 (0x0000003398000000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003244a00000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x000000324ba00000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f3fc9db0000)
        libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x0000003a75000000)
        libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x000000368d800000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x0000003243a00000)
        libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x000000324ca00000)
        libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x000000324ce00000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x0000003247a00000)
        libffi.so.6 => /usr/lib64/libffi.so.6 (0x0000003a6d800000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x0000003a65800000)
        libplc4.so => /usr/lib64/libplc4.so (0x0000003a79400000)
        libplds4.so => /usr/lib64/libplds4.so (0x0000003a7b000000)
        libdbus-glib-1.so.2 => /usr/lib64/libdbus-glib-1.so.2 (0x000000324f000000)
        libgnutls.so.30 => /usr/lib64/libgnutls.so.30 (0x0000003394c00000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003a66c00000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x0000003244200000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x0000003a66400000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x0000003246200000)
        libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x0000003246600000)
        libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x0000003248a00000)
        libxcb-dri3.so.0 => /usr/lib64/libxcb-dri3.so.0 (0x0000003245600000)
        libxcb-present.so.0 => /usr/lib64/libxcb-present.so.0 (0x0000003245a00000)
        libxcb-sync.so.1 => /usr/lib64/libxcb-sync.so.1 (0x0000003246e00000)
        libxshmfence.so.1 => /usr/lib64/libxshmfence.so.1 (0x0000003a68800000)
        libgbm.so.1 => /usr/lib64/libgbm.so.1 (0x000000368d400000)
        libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x000000368cc00000)
        libwayland-server.so.0 => /usr/lib64/libwayland-server.so.0 (0x000000368d000000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x0000003245e00000)
        libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x0000003247600000)
        libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x0000003248200000)
        libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x0000003247200000)
        libidn.so.11 => /usr/lib64/libidn.so.11 (0x0000003a64800000)
        libtasn1.so.6 => /usr/lib64/libtasn1.so.6 (0x0000003a79000000)
        libnettle.so.6 => /usr/lib64/libnettle.so.6 (0x0000003a78600000)
        libhogweed.so.4 => /usr/lib64/libhogweed.so.4 (0x0000003a78c00000)
        libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x0000003a76800000)
        libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x0000003244600000)
Comment 7 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-09 20:33:25 UTC
I'm on nss 3.23 right now, doesn't look like you are missing a library (new dep).
Comment 8 Thymo van Beers 2016-06-09 20:36:01 UTC
Here it is: http://pastebin.com/AJjqZ6sT
Comment 9 Alexandre 2016-06-09 20:50:01 UTC
I did a strace file but I can not attach or pastebin it due to its size (2.5MB).

What is the preferable option?
Comment 10 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-09 21:46:13 UTC
email? can't compress it?
Comment 11 Alexandre 2016-06-09 22:34:27 UTC
Created attachment 437030 [details]
strace

Sorry, I had forget about compressing. :-|
Comment 12 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-09 22:58:43 UTC
can you try building with pulse? zlg built with it and it works for him
Comment 13 Alexandre 2016-06-09 23:01:30 UTC
I will do it now.
Comment 14 zlg (RETIRED) gentoo-dev 2016-06-09 23:12:53 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #12)
> can you try building with pulse? zlg built with it and it works for him

For the sake of clarity, here's my emerge --info:

Portage 2.3.0_rc1 (python 3.4.3-final-0, default/linux/amd64/13.0/developer, gcc-5.3.0, glibc-2.23-r2, 4.4.6-gentoo x86_64)
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:    16433420 total,  11744876 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gamerlay: Thu, 28 Jan 2016 08:06:57 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2-r2::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: rsync://rsync.at.gentoo.org
    priority: -1000

zlg-overlay
    location: /usr/local/portage
    masters: gentoo

anders-larsson
    location: /var/lib/layman/anders-larsson
    sync-type: laymansync
    sync-uri: https://github.com/anders-larsson/gentoo-overlay.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: https://github.com/sporkbox/gamerlay.git
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

maxik-overlay
    location: /var/lib/layman/maxik-overlay
    sync-type: laymansync
    sync-uri: https://github.com/mradermaxlol/maxik-overlay.git
    masters: gentoo
    priority: 50

obs-studio-overlay
    location: /var/lib/layman/obs-studio-overlay
    sync-type: git
    sync-uri: https://github.com/saintdev/obs-studio-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @base, @dev, @games, @main
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="--ask-enter-invalid --binpkg-respect-use=y --oneshot"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ http://gentoo.cs.uni.edu/ rsync://gentoo.cs.uni.edu/gentoo-distfiles"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bindist branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session snmp spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev unicode usb vim-syntax vorbis wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" 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" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 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="keyboard mouse evdev joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

---

Output when I ran spotify:

┖─» spotify
/opt/spotify/spotify-client/spotify: /usr/lib64/libssl.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libcurl.so.4: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libdbus-1.so.3: no version information available (required by /usr/lib64/libgconf-2.so.4)
[0609/155316:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
/opt/spotify/spotify-client/spotify: /usr/lib64/libssl.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libcurl.so.4: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /usr/lib64/libdbus-1.so.3: no version information available (required by /usr/lib64/libgconf-2.so.4)
[0609/155316:ERROR:main_delegate.cc(764)] Could not load cef_extensions.pak
/proc/self/exe: /usr/lib64/libssl.so.1.0.0: no version information available (required by /proc/self/exe)
/proc/self/exe: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /proc/self/exe)
/proc/self/exe: /usr/lib64/libcurl.so.4: no version information available (required by /proc/self/exe)
/proc/self/exe: /usr/lib64/libdbus-1.so.3: no version information available (required by /usr/lib64/libgconf-2.so.4)
[0609/155316:ERROR:main_delegate.cc(764)] Could not load cef_extensions.pak
22:53:21.121 E [storage_impl.cpp:2732           ] Storage error: realm: -1, file: 0000000000000000000000000000000000000000, error: 18, OS error: 61, count: 1, path /home/daniel/.cache/spotify/Storage/

Spotify did, however, work. I don't have an account so I didn't login, but I browsed the other pages like proxy settings, etc. All worked as expected.
Comment 15 Alexandre 2016-06-09 23:19:40 UTC
Yes, it works now with pulseaudio.


Good point about emerge --info:

Portage 2.3.0_rc1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.23-r2, 4.6.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.6.2-gentoo-x86_64-AMD_A6-4400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     5561476 total,    856516 free
KiB Swap:    3145724 total,   3145724 free
Timestamp of repository gentoo: Thu, 09 Jun 2016 17:02:30 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2-r2::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo.git
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/43kdepaths /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/ssh/ssh_config /etc/ssh/sshd_config /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup 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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.c3sl.ufpr.br/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apparmor berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups custom-cflags custom-optimization cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fontconfig gdbm gif glamor gnutls gpg gpm iconv ipv6 jit jpeg kde kipi lcms libnotify lz4 mad matroska mmx mmxext mng modules mp3 mp4 mpeg ncurses networkmanager nls nptl offensive ogg opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vdpau vim-syntax vlc vorbis vpx widgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel loopback" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-sound/spotify-1.0.31::gentoo was built with the following:
USE="pulseaudio -gnome -pax_kernel" ABI_X86="64"


###
Thinking about it, I had upgraded to kernel 4.6.x a few days back, and maybe do not had used spotify after that. 

IIRC I saw on Phoronix the 4.6 kernel bring relevant changes on alsa.
Comment 16 Alexandre 2016-06-09 23:24:06 UTC
@Daniel Campbell

Spotify is breaking exactly when you click to the music start to play, I mean, when the streaming start.
Comment 17 Alexandre 2016-06-09 23:29:26 UTC
Just to point out, my card is:

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)

Using: SND_HDA_GENERIC
Comment 18 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-10 01:56:15 UTC
I think I remember hearing about them having issues with non-pulse setups I might need to make pulse mandatory :(
Comment 19 Alexandre 2016-06-10 02:16:13 UTC
The fact of the Linux version not being officially supported make the things even worse.

I opened a post of their community because sometimes they reply.

https://community.spotify.com/t5/forums/postpage/board-id/001
Comment 20 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-10 02:21:56 UTC
Ya, was going to suggest that next, add the link to your post in the url field here when you do post.
Comment 21 Alexandre 2016-06-10 02:26:26 UTC
Sorry, I placed the wrong url before. This is the right one:

https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Linux-spotify-1-0-31-segfault-when-when-using-alsa-without/td-p/1364026

For some reason I can not add it to URL field, perhaps because I am not whom opened the bug.

Thanks!
Comment 22 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-10 02:27:41 UTC
I added it :D
Comment 23 Alexandre 2016-06-10 02:29:34 UTC
Thanks! :-)
Comment 24 Alexandre 2016-06-10 02:33:58 UTC
Sorry, I fixed the double "when" on the topic and that changed the url too:

https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Linux-spotify-1-0-31-segfault-when-using-alsa-without-pulseaudio/td-p/1364026

:-/
Comment 25 Thymo van Beers 2016-06-10 05:26:27 UTC
Anyway we can get the old ebuild back for the moment? Then we'd have something that atleast works.
Comment 26 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-10 05:29:51 UTC
the old ebuild references sources that are not available, yay spotify removing sources.
Comment 27 Mike Nelson 2016-06-11 23:10:50 UTC
I have this same issue. 

That sucks with spotify removing old sources!
Comment 28 Guillaume Gelin 2016-06-13 01:47:38 UTC
I'm running into that issue too.

Do they have a real reason at Spotify to remove the old versions of the software at each "upgrade"?

I guess we should just gently ask them to keep at least one or two revisions for rollbacks.
Comment 29 Chris Henhawke 2016-06-19 21:12:28 UTC
i am also affected.  immediate segfaults if i try to play something or change outputs between computers.
Comment 30 Alexandre 2016-06-19 21:15:32 UTC
I fix is already expected to be on v.1.0.32. :-D
Comment 31 Thymo van Beers 2016-06-19 21:16:56 UTC
Tried again after instelling PulseAudio. Everything is working as expected.

I guess they dropped support for alsa.
Comment 32 Alexandre 2016-06-19 21:20:02 UTC
No, they are having problems. Take a look on the post I did on Spotify community.
Comment 33 Chris Henhawke 2016-06-19 21:22:42 UTC
i'll go back to 1.0.29 before i even consider installing something made by poettering.  thankfully i keep all my old distfiles.
Comment 34 Alexandre 2016-06-19 22:09:48 UTC
@Chris Henhawke

May you share the 1.0.29 source with us?

Thanks!
Comment 35 Chris Henhawke 2016-06-19 22:22:21 UTC
(In reply to Alexandre from comment #34)
> @Chris Henhawke
> 
> May you share the 1.0.29 source with us?
> 
> Thanks!

https://www.dropbox.com/s/qag4p6lnqp1iuwj/spotify-client_1.0.29.92.g67727800-21_amd64.deb?dl=0

I don't have the x86 file, if ebuild digest complains, just remove those lines from the ebuild (unless you need it, in that case, sorry).  Cheers
Comment 36 Alexandre 2016-06-19 22:25:45 UTC
Thanks! :-D
Comment 37 dptr1988 2016-06-28 01:23:25 UTC
v1.0.32 is up and fixes this bug. 

It built successfully for me on amd64 just by updating the ebuild SRC_URI to use the new deb packages listed at http://repository.spotify.com/pool/non-free/s/spotify-client/
Comment 38 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2016-06-29 16:24:24 UTC
fixed, packaged, thanks