GNOME Bugzilla – Bug 668335
rygel hits endless loop when coping file to empty media directory
Last modified: 2012-01-20 21:20:05 UTC
Preconditions: Have MediaExport plugin enabled and empty media directory. Steps to reproduce: 1. Run rygel 2. Copy media file to media directory. Results: rygel hits endless loop: (rygel:13520): GLib-GIO-CRITICAL **: g_file_get_parent: assertion `G_IS_FILE (file)' failed (rygel:13520): MediaExport-CRITICAL **: rygel_media_export_media_cache_get_id: assertion `file != NULL' failed (rygel:13520): MediaExport-CRITICAL **: rygel_media_export_media_cache_get_object: assertion `object_id != NULL' failed
Fall-back to root container is missing...
The following fix has been pushed: c6e60de media-export: Fix endless loop
Created attachment 205732 [details] [review] media-export: Fix endless loop If a file is added in a directory tree that didn't contain anything sharable before, the code would loop endlessly marching up the filesystem hierarchy.