[gst-devel] plugin loader segfault handler
in7y118 at public.uni-hamburg.de
Mon Dec 15 08:13:02 CET 2003
Is it possible to put the segfault handler into gst-register.c somehow or
is that not possible because gst-register doesn't know which plugin is
I'd prefer not to have signal handlers in a lib, so if there's a way
On Mon, 15 Dec 2003, Thomas Vander Stichele wrote:
> lately xvid is throwing segfaults at me while loading plugins. Ronald
> said he saw the same.
> Anyway, I got fed up with the fact that gst-register segfaults. This is
> the one thing that isn't supposed to segfault :)
> So, I implemented a trapper in gstplugin.c, which gets turned on and off
> for each plugin around loading. It's probably not reentrant and
> whatever but I don't think that matters much in this case, or is at all
> You can run any app with --gst-enable-segfault to disable this trapper
> so you can still debug segfaults on loading when they happen.
> But in the general case, it will print out a nice message on what to do
> if this happens, and that's the important thing.
> If this breaks anything, let me know. I'm specifically interested in
> cases where the filename it prints out for the offending plugin is
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
More information about the gstreamer-devel