spotify 安装,运行错误

spotify 安装,运行错误

终端说:

(spotify:20514): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
22:11:19.149 I [ap_connection.cpp:1767          ] Connecting to AP fonda.lon.spotify.com:4070
22:11:19.155 I [AppRunner.cpp:55                ] onboarding-popup: not installed
22:11:19.155 I [AppRunner.cpp:252               ] onboarding-popup: installing app
22:11:19.155 I [AppRunner.cpp:273               ] onboarding-popup (version 0.0.0): metadata query started
22:11:19.156 I [AppManager.cpp:206              ] Creating instance of the application install.

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

(spotify:20514): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
22:11:19.173 I [ap_connection.cpp:1234          ] Connected to AP: 78.31.8.102:4070
22:11:19.499 I [AppRunner.cpp:273               ] onboarding-popup (version 0.0.0): metadata query complete
22:11:19.499 I [AppRunner.cpp:273               ] onboarding-popup (version 0.0.0): download started
22:11:19.526 I [MainView.cpp:7250               ] Load complete (0) url: sp://faa645cea6e98f854b789c7a6f4beeef6d3ca53c.home/index.html
22:11:19.604 I [upnp.cpp:508                    ] 192.168.1.1: got external ip 0xD56A4C28
22:11:19.646 E [file_system_monitor_linux.cpp:500] FileSystemMonitorLinux() failed [inotify_init()]
Segmentation fault (core dumped)

怎么了 ?

Ubuntu 12.10 32 位。

Spotify 安装没有任何问题,但当我尝试运行 spotify 时,问题就开始了。

答案1

遇到同样问题的人说,升级到内核 linux-image-3.5.0-23-generic 后问题就解决了。

在此之前,他们通过增加 max_user_instances 的数量解决了这个问题,方法是运行:

sudo echo 8192 > /proc/sys/fs/inotify/max_user_instances

(取自:Spotify 无法启动:FileSystemMonitorLinux() 失败

这似乎是有道理的,因为您收到的错误消息显示failed [inotify_init()]。的手册页inotify_init显示了几种可能的错误,包括

The user limit on the total number of inotify instances has been reached.

The system limit on the total number of file descriptors has been reached.

相关内容