After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695651 - removing an internet radio station when it is last in the category causes an assertion failure
removing an internet radio station when it is last in the category causes an ...
Status: RESOLVED DUPLICATE of bug 692158
Product: rhythmbox
Classification: Other
Component: User Interface
2.98
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-11 18:57 UTC by mfisch@ubuntu.com
Modified: 2013-03-11 20:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mfisch@ubuntu.com 2013-03-11 18:57:23 UTC
If you go to remove the last Internet radio station in a category, you get an assertion failure and RB dies.  In the example below, I was removing the one entry in the "Trance" category (HBR1.com). I can reproduce this using any category. Upon restart, I note that both HBR1.com and the category Trance are still present, implying the delete didn't succeed. I'm not sure why in the logs below it appears to want to delete everything, perhaps a mistake in the logging.

Here are the logs:

(12:47:43) [0x7f1530003ad0] [rb_shell_clipboard_cmd_delete] rb-shell-clipboard.c:752: delete
(12:47:43) [0x7f1530003ad0] [rhythmdb_entry_delete] rhythmdb.c:3704: deleting entry 0x7f15180117f0
(12:47:43) [0x7f1530003ad0] [rhythmdb_query_model_base_row_deleted] rhythmdb-query-model.c:2695: deleting entry 0x7f15180117f0 from base model 0x1251d40 to model 0x1251e00
(12:47:43) [0x7f1530003ad0] [rb_entry_view_row_deleted_cb] rb-entry-view.c:2131: row deleted
(12:47:43) [0x7f1530003ad0] [rb_shell_clipboard_entries_changed_cb] rb-shell-clipboard.c:817: entryview changed
(12:47:43) [0x7f1530003ad0] [rb_random_play_order_get_previous] rb-play-order-random.c:395: choosing history entry
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Ambient": refcount: 1
(12:47:43) [0x7f1530003ad0] [rb_property_view_selection_changed_cb] rb-property-view.c:839: selection changed
(12:47:43) [0x7f1530003ad0] [rb_property_view_selection_changed_cb] rb-property-view.c:839: selection changed
(12:47:43) [0x7f1530003ad0] [rhythmdb_query_model_chain] rhythmdb-query-model.c:896: query model 0x1251c80 chaining to base model (nil)
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Music": refcount: 2
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Music": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "80's": refcount: 2
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "80's": refcount: 1
(12:47:43) [0x7f1530003ad0] [rb_property_view_selection_changed_cb] rb-property-view.c:839: selection changed
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Rock'n'Roll": refcount: 2
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Rock'n'Roll": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "90's": refcount: 2
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "90's": refcount: 1
(12:47:43) [0x7f1530003ad0] [rb_property_view_selection_changed_cb] rb-property-view.c:839: selection changed
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Underground": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "College Radio": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Eclectic": refcount: 2
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Eclectic": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 15
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 14
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 13
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 12
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 11
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 10
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 9
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 8
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 7
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 6
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 5
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 4
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 3
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 2
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Unknown": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "News": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Pop": refcount: 2
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Pop": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Drum & Bass": refcount: 1
(12:47:43) [0x7f1530003ad0] [rb_property_view_selection_changed_cb] rb-property-view.c:839: selection changed
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "Trance": refcount: 1
(12:47:43) [0x7f1530003ad0] [rhythmdb_property_model_delete_prop] rhythmdb-property-model.c:863: deleting "House": refcount: 1
**
RhythmDB:ERROR:rhythmdb-property-model.c:379:rhythmdb_property_model_set_query_model_internal: assertion failed: (rhythmdb_property_model_iter_n_children (GTK_TREE_MODEL (model), NULL) == 1)
Comment 1 Jonathan Matthew 2013-03-11 20:38:36 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 692158 ***