The "ref" operation of GValueArray is a copy, so we don't have a choice.
I can reproduce by parsing a large number of messages from the "level" element and getting the "peak" out, if I do it fast enough (like with "audiotestsrc ! level ! fakesink"), it crashes.
The "ref" operation of GValueArray is a copy, so we don't have a choice.
I can reproduce by parsing a large number of messages from the "level" element and getting the "peak" out, if I do it fast enough (like with "audiotestsrc ! level ! fakesink"), it crashes.
I made the matching PR to the mono repo: https://github.com/mono/gtk-sharp/pull/260