GNOME Bugzilla – Bug 330301
Crash on Startup
Last modified: 2007-01-05 15:30:47 UTC
With CVS as of a little bit ago, getting the attached crash on startup.
Created attachment 58879 [details] BT of crash Here's the actually backtrace
some frames similar to bug 145217
+ Trace 65995
Thread 1 (Thread -1208256320 (LWP 13457))
To save anyone else the effort of digging through the stack trace, this happens when we update audio CD tracks with metadata. What seems to be happening here is that chained query models emit the entry property changed signal twice for each change, since they get the change directly from the db and also from the base model. I think the fix is just to kill rhythmdb_query_model_base_entry_prop_changed entirely. Property models attached to chained query models end up with broken refcounts, since changing from "Unknown" to "random artist x" twice will decrement the "unknown" refcount twice. Eventually the "unknown" property gets removed from the property model, and next time an entry changes from "unknown" to something else, we get this assertion failure.
Removing the CD from the drive got this to work ok for me for now.
Created attachment 58895 [details] [review] patch to remove rhythmdb_query_model_base_entry_prop_changed Since the query model will get the change from the db, removing rhythmdb_query_model_base_entry_prop_changed as Jonathan suggests sounds good. The patch does this.
fixes it for moi.
Committed to cvs.
*** Bug 393127 has been marked as a duplicate of this bug. ***