[gstreamer-bugs] [Bug 344748] Fails with non-writable registry

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jun 13 07:04:39 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=344748
 GStreamer | gstreamer (core) | Ver: 0.10.6





------- Comment #3 from Tim-Philipp Müller  2006-06-13 14:04 UTC -------
Created an attachment (id=67260)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=67260&action=view)
proposed fix


 - refactor registry scanning and writing code into own function, so it
   can be used by fork() parent when registry writing fails in the child
   and by the non-fork() code path

 - make child exit with EXIT_FAILURE exit code if it can't write an updated
   registry, to make the parent aware that it needs to re-scan stuff itself
   rather than just read things from the (missing or stale) cache file

 - re-scan things in fork() parent if the child wanted to write an
   updated registry but couldn't. This isn't exactly optimal, but at least
   solves the problems in the unusual case where a registry cannot be written.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list