Noise crashes within first 5 seconds of a song
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.
[_LOG_LEVEL_DEBUG 19:03:30.997648] Settings.vala:158: Loading settings from schema 'org.pantheon.
[_LOG_LEVEL_DEBUG 19:03:31.080433] LibraryWindow.
[_LOG_LEVEL_DEBUG 19:03:31.086014] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.088180] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.088459] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.089547] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.089971] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.090349] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.090557] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.104738] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.104966] ViewWrapper.
[_LOG_LEVEL_DEBUG 19:03:31.105026] ViewWrapper.
[_LOG_LEVEL_FATAL 19:03:31.106594] [GdkPixbuf] gdk_pixbuf_
[_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.
[_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.
[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/
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.
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: /bugs.launchpad .net/foto/ +bug/1380185
https:/