[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-devel
Subject: Re: [gst-devel] [PATCH] seg fault in gstsnapshot.c
From: Stephane LOEUILLET <stephane.loeuillet () tiscali ! fr>
Date: 2004-12-19 1:19:37
Message-ID: 1103419177.23397.4.camel () localhost
[Download RAW message or body]
hi,
Le samedi 18 décembre 2004 à 16:30 -0800, Jack, Paul a écrit :
> $ gst-launch-0.8 videotestsrc num-buffers=10 ! snapshot frame=5
> location=z.png ! fakesink
> RUNNING pipeline ...
> Segmentation fault
>
> The problem was caused by what looks like a stray signal handler: The
> snapshot_handler function was setting a flag to TRUE, so the
> gstsnapshot_chain
> function was trying to write the PNG image twice. After the first attempt,
> the PNG library structures are destroyed, so the second attempt seg faults.
>
> The attached patch eliminates the snapshot_handler function. The only thing
please report the bug in gnome bugzilla :
product = GStreamer
module =gst-plugins
attach the patch there
put a name like : [PATCH] [snapshot] segfault in signal handler
and finally, add PATCH to keywords
yes, i know, it's a borring process. but patches sent to the ML has
great chances to be forgotten/never applied/...
thanks for your patch btw
bye
--
Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic