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 383814 - Segfault using the GstColorBalance interface
Segfault using the GstColorBalance interface
Status: RESOLVED DUPLICATE of bug 383805
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-08 18:06 UTC by Alessandro Decina
Modified: 2006-12-08 18:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (359 bytes, patch)
2006-12-08 18:08 UTC, Alessandro Decina
none Details | Review

Description Alessandro Decina 2006-12-08 18:06:57 UTC
GstColorBalanceChannel is not a GstObject derived object but it is wrapped as such in gst-python.
The segfault can be reproduced with the following three lines:

>>> import gst
>>> pipeline = gst.parse_launch("videotestsrc ! videobalance name=Balance ! fakesink")
>>> balance = pipeline.get_by_name("Balance")
>>> balance.list_colorbalance_channels()
__main__:1: Warning: invalid cast from `GstColorBalanceChannel' to `GstObject'
Segmentation fault
Comment 1 Alessandro Decina 2006-12-08 18:08:00 UTC
Created attachment 77978 [details] [review]
Fix
Comment 2 René Stadler 2006-12-08 18:22:26 UTC
Same issue and same patch as bug #383805, which was reported 20 minutes earlier :-)
Comment 3 Tim-Philipp Müller 2006-12-08 18:39:29 UTC
Marking as duplicate ... (sorry, I should probably have mentioned on IRC what the issue was, didn't expect anyone else to start looking into it right away :)).




*** This bug has been marked as a duplicate of 383805 ***