Python GI problems with MPEGTS library

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Python GI problems with MPEGTS library

Marcwell Helpdesk
Hi,

There seems to be an introspection problem with array objects in GStreamer 1.16, when used from Python 3, that generates a core dump. The error occurs in MPEGTS functions with a GPtrArray out parameter (may apply to other libraries as well). For example ‘parse_dvb_content’ and 'parse_dvb_parental_rating'. A few times, just before the core dump, the following message appeared on-screen: “free(), invalid pointer” so it is most likely related to the auto-free functionality used when allocating the array with ‘g_ptr_array_new_with_free_func’. Other, non-array parameter functions, works just fine.

Furthermore, since the data buffer inside the descriptor is transferred as an ‘int’, instead of an immutable byte array, it is not possible to do a manual parse in Python to work around the problem.

Any thoughts or advice on this?

Regards,
Chris
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel