Noise crashes within first 5 seconds of a song

Bug #1376367 reported by Kirue
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Noise
New
Undecided
Unassigned

Bug Description

I am running noise on elementary OS Luna. Since a few days, noise repeatedly crashed within the first 5 to 10 seconds of playing a song. Somtimes this happens at the first song I play, sometimes later, but it always happens during the first few seconds of a song.

noise -d gave this (only the last few lines):

[_LOG_LEVEL_DEBUG 19:03:30.996188] Streamer.vala:97: setURI seeking to 0
[_LOG_LEVEL_DEBUG 19:03:30.996727] Settings.vala:158: Loading settings from schema 'org.pantheon.noise.lastfm'
[_LOG_LEVEL_DEBUG 19:03:30.997648] Settings.vala:158: Loading settings from schema 'org.pantheon.noise.lastfm'
[_LOG_LEVEL_DEBUG 19:03:31.080433] LibraryWindow.vala:739: UPDATE SENSITIVITIES
[_LOG_LEVEL_DEBUG 19:03:31.086014] ViewWrapper.vala:518: SETTING MEDIA [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST]
[_LOG_LEVEL_DEBUG 19:03:31.088180] ViewWrapper.vala:431: UPDATING VISIBLE MEDIA [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST]
[_LOG_LEVEL_DEBUG 19:03:31.088459] ViewWrapper.vala:330: updating statusbar info [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST]
[_LOG_LEVEL_DEBUG 19:03:31.089547] ViewWrapper.vala:223: update_library_window_widgets [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST]
[_LOG_LEVEL_DEBUG 19:03:31.089971] ViewWrapper.vala:330: updating statusbar info [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST]
[_LOG_LEVEL_DEBUG 19:03:31.090349] ViewWrapper.vala:223: update_library_window_widgets [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST]
[_LOG_LEVEL_DEBUG 19:03:31.090557] ViewWrapper.vala:330: updating statusbar info [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST]
[_LOG_LEVEL_DEBUG 19:03:31.104738] ViewWrapper.vala:584: REMOVING MEDIA [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST]
[_LOG_LEVEL_DEBUG 19:03:31.104966] ViewWrapper.vala:388: Selecting proper content view automatically
[_LOG_LEVEL_DEBUG 19:03:31.105026] ViewWrapper.vala:391: [NOISE_VIEW_WRAPPER_HINT_READ_ONLY_PLAYLIST] Showing view: NOISE_VIEW_WRAPPER_VIEW_TYPE_LIST
[_LOG_LEVEL_FATAL 19:03:31.106594] [GdkPixbuf] gdk_pixbuf_scale_simple: assertion `GDK_IS_PIXBUF (src)' failed
[_LOG_LEVEL_FATAL 19:03:31.106668] Musik will not function properly.
[_LOG_LEVEL_DEBUG 19:03:33.998111] Core.vala:288: Last.FM user not logged in
[_LOG_LEVEL_DEBUG 19:03:33.998295] Threads.vala:59: Creating task [164]
[_LOG_LEVEL_DEBUG 19:03:33.998461] Threads.vala:59: Creating task [165]
[_LOG_LEVEL_DEBUG 19:03:33.998733] Threads.vala:154: -- Dispatching task [164]
[_LOG_LEVEL_DEBUG 19:03:33.998964] Threads.vala:157: -- starting [164]
[_LOG_LEVEL_DEBUG 19:03:33.999077] SimilarMedia.vala:77: In the similar thread
[_LOG_LEVEL_DEBUG 19:03:33.998796] Threads.vala:154: -- Dispatching task [165]
[_LOG_LEVEL_DEBUG 19:03:33.999977] Threads.vala:157: -- starting [165]
[_LOG_LEVEL_DEBUG 19:03:34.185202] Core.vala:288: Last.FM user not logged in
[_LOG_LEVEL_DEBUG 19:03:34.185402] Threads.vala:59: Creating task [166]
[_LOG_LEVEL_DEBUG 19:03:34.186072] Threads.vala:154: -- Dispatching task [166]
[_LOG_LEVEL_DEBUG 19:03:34.186208] Threads.vala:157: -- starting [166]
I/O warning : failed to load HTTP resource
[_LOG_LEVEL_DEBUG 19:03:34.430888] Threads.vala:159: -- finished [165]
[_LOG_LEVEL_DEBUG 19:03:34.431015] Threads.vala:64: ~Destroying task [165]
I/O warning : failed to load HTTP resource
[_LOG_LEVEL_DEBUG 19:03:34.461118] Threads.vala:159: -- finished [166]
[_LOG_LEVEL_DEBUG 19:03:34.461223] Threads.vala:64: ~Destroying task [166]
[_LOG_LEVEL_DEBUG 19:03:41.542045] Settings.vala:158: Loading settings from schema 'org.pantheon.noise.lastfm'
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
[_LOG_LEVEL_DEBUG 19:03:41.551425] Threads.vala:159: -- finished [164]
[_LOG_LEVEL_DEBUG 19:03:41.551835] Threads.vala:64: ~Destroying task [164]
noise: ../../src/xcb_io.c:179: dequeue_pending_request: Zusicherung »!xcb_xlib_unknown_req_in_deq« nicht erfüllt.
Abgebrochen

For the output of (gdb) run -d see attached file.

I felt the bug occurs more frequently when a song choosen via noise is playing but the next song in the queue was added from the file manager. Noise then crashed when that song started.

Sorry for the long and partly german output, but I hope this helps to fix the bug.

Revision history for this message
Kirue (kirue) wrote :
Kirue (kirue)
description: updated
Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

Similar bug affects lp:foto/foto-1.0

Can't confirm it's the same, but after some research, I discovered that calling X.init_threads(); before Gtk.init (or GtkClutter.init) solves the problem, at least for foto. Then, I found this:

http://stackoverflow.com/questions/18647475/threading-problems-with-gtk

link to related bug:
https://bugs.launchpad.net/foto/+bug/1380185

Revision history for this message
Jano (jherder) wrote :

For me this bug is still existing on Freya Final! Most of the time it crashes on the second song played. For example, I start listening to the first song of an album which works well, then after 5 seconds of the second song noise crashes. But Sometimes it also crashes during the first song. Anyone else expieriencing this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.