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 118113 - [PATCH] spider causes registry infinite loop
[PATCH] spider causes registry infinite loop
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.6.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-07-23 12:19 UTC by Joshua N Pritikin
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bzip2 log file of gst debug output (without colors) (45.50 KB, application/octet-stream)
2003-07-23 12:21 UTC, Joshua N Pritikin
  Details
patch to detect the problem and warn about it (931 bytes, patch)
2003-07-24 12:41 UTC, Joshua N Pritikin
none Details | Review

Description Joshua N Pritikin 2003-07-23 12:19:53 UTC
I don't know how to reproduce this, but my gstreamer became unusable due to
the spider causing the registry to enter an infinite recursion.  The last
message is repeated 10000s of times:

DEBUG       GST_TYPES(24863)
gstxmlregistry.c(708):gst_type_type_find_dummy: gsttype: need to load
typefind function for video/avi

I don't even care about video/avi so I would be perfectly happy for this to
fail in a normal way.  This should absolutely never happen.  If there isn't
a better solution, you should keep a recursion counter to bail out after
more than 10 recursions.  The full gst log is attached.  This is gstreamer
HEAD 23 Jul 2003.
Comment 1 Joshua N Pritikin 2003-07-23 12:21:24 UTC
Created attachment 18540 [details]
bzip2 log file of gst debug output (without colors)
Comment 2 Joshua N Pritikin 2003-07-24 12:41:31 UTC
Created attachment 18570 [details] [review]
patch to detect the problem and warn about it
Comment 3 Joshua N Pritikin 2003-07-25 02:12:03 UTC
patch committed