Noise crashes with gee_linked_list_real_get: assertion failed: (_tmp1_ < _tmp2_)

Bug #1138182 reported by Cody Smith
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Noise
Fix Released
High
Corentin Noël

Bug Description

Noise crashes on startup (and this bug has not been reported as far as I can tell) with gee_linked_list_real_get: assertion failed: (_tmp1_ < _tmp2_)

This has only started happening with the last update to Noise.

Steps to repeat this:

1. Completely update Noise
2. Delete Noise's config files
3. Start Noise

Revision history for this message
Luis E. Rubio (ejdren) wrote :

I had the same thing happen to me yesterday too. I think I may have figured out the problem.

Set all the settings back to default in noise through dconf-editor (/org/pantheon/noise) and everything should be great again.

I hope this helps you out.

Revision history for this message
Luis E. Rubio (ejdren) wrote :

Woops! It seems I spoke too soon. It has happened twice again since doing the dconf "fix".

This time though, I figured out you don't have to revert back to default every single setting in /org/pantheon/noise. Just go to /org/pantheon/noise/settings and change last-media-playing and last-media-position to 0. It'll start up again.

I hope the developers can figure what's happening with noise and fix it.

I'm confident they will.

Changed in noise:
status: New → Confirmed
Revision history for this message
Marcus Lundgren (marcus-lundgren) wrote :

Removing a playlist will also trigger this exception, probably because of how the signals are connected. It seems like the remove_playlist methods goes into an eternal loop until an index out of bounds occures in the LocalLibrary.

Adding something like this at the beginning remove_playlist method in LocalLibrary:

   stdout.printf("Trying to remove %d and have %d playlists\n", id, _playlists.size);

Will produce the following output when trying to remove a single playlist:

  Trying to remove 4 and have 5 playlists
  Trying to remove 4 and have 4 playlists
  **
  ERROR:linkedlist.c:946:gee_linked_list_real_remove_at: assertion failed: (_tmp1_ < _tmp2_)
  Aborted (core dumped)

Revision history for this message
Corentin Noël (tintou) wrote :

I know why this happens, you can expect a fix next week when I'll be back from holidays ;)

Cody Garver (codygarver)
Changed in noise:
milestone: none → luna-beta3
importance: Undecided → High
Revision history for this message
Shawn McTear (syst3mfailur3) wrote :

Noise is also crashing on me with this when I launch it. http://pastebin.com/vJRTtKig

Revision history for this message
Raphael Isemann (teemperor) wrote :

Quickfix for the most people: run this in terminal "gsettings reset org.pantheon.noise.settings last-media-playing"

Corentin Noël (tintou)
Changed in noise:
assignee: nobody → Corentin Noël (tintou)
status: Confirmed → Fix Committed
Cody Garver (codygarver)
Changed in noise:
status: Fix Committed → Fix Released
Cody Garver (codygarver)
Changed in noise:
milestone: luna-rc1 → noise-0.3
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.