You are not logged in.

#1 2013-07-03 17:56:41

amiacamal
Member
Registered: 2013-07-03
Posts: 4

Segfault in spotify

Hi there,

I installed arch about 24 hours ago and so far so good, except that I get a segfault when loading spotify. Spotify was installed using yaort command:

yaort -S spotify

The error i get is :

(spotify:711): GLib-GObject-WARNING **: invalid cast from `GtkFixed' to `GtkBox'

(spotify:711): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed

(spotify:711): GLib-GObject-WARNING **: invalid cast from `GtkFixed' to `GtkBox'

(spotify:711): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed

(spotify:711): GLib-GObject-WARNING **: invalid cast from `GtkFixed' to `GtkBox'

(spotify:711): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
17:54:43.517 I [ap_connection_impl.cpp:904      ] Connecting to AP claire.lon.spotify.com:4070
17:54:43.524 I [AppManager.cpp:267              ] Creating instance of the application feed.

(spotify:711): GLib-GObject-WARNING **: invalid cast from `GtkFixed' to `GtkBox'

(spotify:711): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
17:54:43.582 I [MainView.cpp:7183               ] Load complete (0) url: sp://c0c40d8d07838822845839c9b0921d854c5fad2c.discover/index.html
17:54:43.586 I [ap_connection_impl.cpp:544      ] Connected to AP: 78.31.8.80:4070
/usr/bin/spotify: line 6:   711 Segmentation fault      (core dumped) LD_LIBRARY_PATH="/usr/share/ffmpeg-spotify/lib/:/opt/spotify/libs/" /opt/spotify/spotify-client/spotify "$@"

I have tried installing ffmpeg-spotify and get the same error regardless of whether it is insalled or not.

Any help would be appreciated!

Offline

#2 2013-07-03 23:15:05

mynis01
Member
Registered: 2011-04-29
Posts: 71

Re: Segfault in spotify

Not sure how to fix your problem, but a workaround would be to use the spotify web player: http://lifehacker.com/5961136/enable-sp … -right-now

Offline

#3 2013-07-03 23:42:47

abrambleninja
Member
Registered: 2013-06-19
Posts: 18

Re: Segfault in spotify

Did Spotify successfully install, or is it an installation problem? I can't quite tell from your post.

If it's an installation problem, I'd recommend trying again using http://aur.sh (I recommend that over yaourt). If it's a Spotify problem, I'd either recommend trying again to install, or using the spotify web player, as mynis01 suggested.


Such is life in glorious Arstotzka.

Offline

#4 2013-07-04 06:42:28

amiacamal
Member
Registered: 2013-07-03
Posts: 4

Re: Segfault in spotify

Installing via aur.sh didn't help either. below is the full output of the install and the error.

[simon@simon-arch Downloads]$ ./aur.sh spotify -si
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2659  100  2659    0     0   6741      0 --:--:-- --:--:-- --:--:--  6748
==> Making package: spotify 0.9.1.55-1 (Thu Jul  4 07:40:09 BST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 39.7M  100 39.7M    0     0  5463k      0  0:00:07  0:00:07 --:--:-- 5919k
  -> Found spotify
  -> Found spotify.protocol
==> Validating source files with md5sums...
    spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb ... Passed
    spotify ... Passed
    spotify.protocol ... Passed
==> Extracting sources...
  -> Extracting spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging unwanted files...
  -> Compressing man and info pages...
==> Creating package "spotify"...
  -> Generating .PKGINFO file...
  -> Adding changelog file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: spotify 0.9.1.55-1 (Thu Jul  4 07:41:13 BST 2013)
==> Installing package spotify with pacman -U...
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): spotify-0.9.1.55-1

Total Installed Size:   91.62 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) installing spotify                           [######################] 100%
Optional dependencies for spotify
    desktop-file-utils: Adds URI support to compatible desktop environments
    [installed]
    ffmpeg-spotify: Adds playback support for local files
[simon@simon-arch Downloads]$ 
[simon@simon-arch Downloads]$ 
[simon@simon-arch Downloads]$ spotify
/opt/spotify/spotify-client/spotify: /opt/spotify/libs/libcrypto.so.0.9.8: no version information available (required by /opt/spotify/spotify-client/spotify)
/opt/spotify/spotify-client/spotify: /opt/spotify/libs/libssl.so.0.9.8: no version information available (required by /opt/spotify/spotify-client/spotify)
06:41:36.193 I [breakpad.cpp:107                ] Registered Breakpad for product: spotify

06:41:36.195 I [translate.cpp:139               ] Reloading language file
06:41:36.202 I [translate.cpp:139               ] Reloading language file
06:41:36.203 I [breakpad.cpp:261                ] Searching for crashdumps: /home/simon/.cache/spotify/*.dmp

06:41:36.203 I [breakpad.cpp:219                ] Uploading crash dump: /home/simon/.cache/spotify/28507e10-d40c-5a84-6c9db574-026f8663.dmp

06:41:36.311 A [CefModule.cpp:446               ] Check failed: g_cef_handle: 
06:41:36.423 I [MainView.cpp:1087               ] Registering bundled framework bridge-desktop with version 0.14.0
06:41:36.423 I [MainView.cpp:1087               ] Registering bundled framework import with version 0.1.0
06:41:36.423 I [MainView.cpp:1087               ] Registering bundled framework resources with version 0.3.1
06:41:36.423 I [MainView.cpp:1087               ] Registering bundled framework playlist-framework with version 0.2.0
06:41:36.423 I [MainView.cpp:1087               ] Registering bundled framework shared with version 0.2.1
06:41:36.423 I [MainView.cpp:1087               ] Registering bundled framework social-artist-shared with version 0.1.2
06:41:36.423 I [MainView.cpp:1087               ] Registering bundled framework util with version 0.2.4
06:41:36.423 I [MainView.cpp:1084               ] Registering bundled app album with version 0.2.2
06:41:36.423 I [MainView.cpp:1084               ] Registering bundled app artist with version 0.5.2
06:41:36.423 I [MainView.cpp:1084               ] Registering bundled app bundles with version 1.2.0
06:41:36.423 I [MainView.cpp:1084               ] Registering bundled app collection with version 0.0.1
06:41:36.423 I [MainView.cpp:1084               ] Registering bundled app error with version 1.0.0
06:41:36.423 I [MainView.cpp:1084               ] Registering bundled app feed with version 1.4.10
06:41:36.423 I [MainView.cpp:1084               ] Registering bundled app finder with version 1.1.10
06:41:36.423 I [MainView.cpp:1084               ] Registering bundled app follow with version 1.0.22
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app home with version 1.5.2
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app html with version 0.1.0
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app install with version 1.0.0
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app notification-popup with version 0.1.8
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app playlist-header with version 1.1.0
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app profile with version 1.6.6
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app radio with version 2.0.11
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app search with version 2.3.1
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app search-single with version 2.3.1
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app search-dropdown with version 1.4.3
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app share with version 1.2.4
06:41:36.424 I [MainView.cpp:1087               ] Registering bundled framework api with version 1.28.0
06:41:36.424 I [MainView.cpp:1087               ] Registering bundled framework api with version 0.2.8
06:41:36.424 I [MainView.cpp:1087               ] Registering bundled framework views with version 1.39.1
06:41:36.424 I [MainView.cpp:1087               ] Registering bundled framework test-utils with version 0.1.0
06:41:36.424 I [MainView.cpp:1087               ] Registering bundled framework unstable with version 0.10.2
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app discover with version 0.1.0
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app inspector with version 0.3.1
06:41:36.424 I [MainView.cpp:1087               ] Registering bundled framework logging-utils with version 0.0.8
06:41:36.424 I [MainView.cpp:1087               ] Registering bundled framework recommendations-shared with version 0.1.0
06:41:36.424 I [MainView.cpp:1084               ] Registering bundled app test-runner with version 0.2.1
06:41:36.424 I [MainView.cpp:1087               ] Registering bundled framework cosmos with version 0.0.1
06:41:36.495 I [AppManager.cpp:267              ] Creating instance of the application discover.
06:41:36.500 I [AppManager.cpp:267              ] Creating instance of the application search-dropdown.
06:41:36.502 I [AppManager.cpp:267              ] Creating instance of the application notification-popup.
06:41:36.505 I [offline_manager.cpp:1733        ] Storage has been cleaned
06:41:36.505 3 [playlist_be_toplist.cpp:212     ] [spotify:user:amiacamal:top:tracks] Synchronization starting
06:41:36.505 3 [playlist_be_pl4_context.h:1006  ] [spotify:user:amiacamal:purchaselist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 
06:41:36.506 3 [playlist_be_pl4_context.h:1006  ] [spotify:user:amiacamal:inbox] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 
06:41:36.506 3 [playlist_be_pl4_context.h:1006  ] [spotify:user:amiacamal:rootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 
06:41:36.506 3 [playlist_be_pl4_context.h:1006  ] [spotify:user:amiacamal:collectionrootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 
06:41:36.506 3 [playlist_be_pl4_context.h:1006  ] [spotify:user:amiacamal:publishedrootlist] Synchronization starting: GET (from revision 0,726f6f7400000000000000000000000000000000) 

(spotify:2516): GLib-GObject-WARNING **: invalid cast from `GtkFixed' to `GtkBox'

(spotify:2516): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed

(spotify:2516): GLib-GObject-WARNING **: invalid cast from `GtkFixed' to `GtkBox'

(spotify:2516): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed

(spotify:2516): GLib-GObject-WARNING **: invalid cast from `GtkFixed' to `GtkBox'

(spotify:2516): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
06:41:36.655 I [ap_connection_impl.cpp:904      ] Connecting to AP christopher.lon.spotify.com:4070
06:41:36.664 I [AppManager.cpp:267              ] Creating instance of the application feed.

(spotify:2516): GLib-GObject-WARNING **: invalid cast from `GtkFixed' to `GtkBox'

(spotify:2516): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
06:41:36.727 I [MainView.cpp:7183               ] Load complete (0) url: sp://c0c40d8d07838822845839c9b0921d854c5fad2c.discover/index.html
06:41:36.741 I [ap_connection_impl.cpp:544      ] Connected to AP: 78.31.8.82:4070
/usr/bin/spotify: line 6:  2516 Segmentation fault      (core dumped) LD_LIBRARY_PATH="/usr/share/ffmpeg-spotify/lib/:/opt/spotify/libs/" /opt/spotify/spotify-client/spotify "$@"

Unfortunatly the web UI doesn't support playlist folders, which is exactly the feature I want to use!

Offline

#5 2013-07-07 21:51:19

abrambleninja
Member
Registered: 2013-06-19
Posts: 18

Re: Segfault in spotify

I have the same problem. I'd appreciate a fix if anyone has it.


Such is life in glorious Arstotzka.

Offline

#6 2013-07-07 22:51:30

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Segfault in spotify

Hmmm, I've been running spotify here for quite some time with no issues. Try deleting your ~/.cache/spotify if it exists. Another silly questions...is it available in your respective countries? I don't know what effect that would have...just that it seems to dump right after connecting to the spotify AP. You could also post this (or a link to the thread) on the AUR page and see if the maintainer has any thoughts.

Scott

Offline

#7 2013-07-12 06:10:33

abrambleninja
Member
Registered: 2013-06-19
Posts: 18

Re: Segfault in spotify

firecat53 wrote:

Hmmm, I've been running spotify here for quite some time with no issues. Try deleting your ~/.cache/spotify if it exists. Another silly questions...is it available in your respective countries? I don't know what effect that would have...just that it seems to dump right after connecting to the spotify AP. You could also post this (or a link to the thread) on the AUR page and see if the maintainer has any thoughts.

Scott

It's definitely available in my country. It worked on Windows (what I was using before Linux) and also Ubuntu.

I'm just trying to reinstall it right now. If that doesn't work, I'll delete the cache, and if that still doesn't work, I'll email the maintainer.

EDIT: No difference after reinstalling and removing the cache.

Last edited by abrambleninja (2013-07-12 06:21:38)


Such is life in glorious Arstotzka.

Offline

#8 2013-07-15 01:30:39

abrambleninja
Member
Registered: 2013-06-19
Posts: 18

Re: Segfault in spotify

For some reason, it magically started working! I just launched it using Synapse (not sure if this matters) and it started working! I didn't change anything.

EDIT: I didn't launch it as root. That's what changed.

Last edited by abrambleninja (2013-07-15 01:31:09)


Such is life in glorious Arstotzka.

Offline

#9 2013-07-18 20:45:12

amiacamal
Member
Registered: 2013-07-03
Posts: 4

Re: Segfault in spotify

It has also started to work for me, though I have no idea what changed!

Offline

Board footer

Powered by FluxBB