GNOME Bugzilla – Bug 702633
Uploading with HTTP Post throws criticals
Last modified: 2013-08-06 13:19:45 UTC
(lt-rygel:11855): MediaExport-CRITICAL **: rygel_media_export_media_cache_remove_object: assertion `object != NULL' failed (lt-rygel:11855): MediaExport-CRITICAL **: rygel_media_export_trackable_db_container_on_child_removed: assertion `object != NULL' failed
Apparently object removal queue triggers on an object that already has been destroyed and happens after upload of LPCM data.
Created attachment 250886 [details] [review] media-export: Fix crash on item removal MediaCache.get_object can return null if the object wasn't found in the cache. On certain conditions this can happen while uploading (removal queue vs. manual remove from client). Take this into account and just warn instead of crash.
Created attachment 250944 [details] [review] server: Dequeue item upon manual removal If the client creates an object in DLNA.ORG_AnyContainer but doesn't upload anything to it and then removes it within the 35s timeout, the ObjectRemovalQueue would still trigger and cause criticals. This change just tries to dequeue everything we remove to fix this.
Comment on attachment 250944 [details] [review] server: Dequeue item upon manual removal Attachment 250944 [details] pushed as 2728cfb - server: Dequeue item upon manual removal