QML MediaPlayer segfaults when changing source with Ogg Vorbis over HTTP
When streaming Ogg Vorbis files over HTTP to a MediaPlayer element, the element will cause a segfault roughly 10% of the time.
I've created a test case here: http://mikeasoft.com/~mike/oggcrash.qml
When run with qmlscene it'll repeatedly play 4 ogg vorbis files for 1 second each. After changing source a few times the application will segfault, with a stack trace like:
#0 0x4dc0d1c8 in gst_ogg_pad_src_query (pad=<optimized out="">, query=0x2fc678) at gstoggdemux.c:336 #1 0x45289ebc in gst_pad_query () from /usr/lib/libgstreamer-0.10.so.0 #2 0x45567230 in ?? () from /usr/lib/gstreamer-0.10/libgstcoreelements.so #3 0x45567230 in ?? () from /usr/lib/gstreamer-0.10/libgstcoreelements.so Backtrace stopped: previous frame identical to this frame (corrupt stack?)</optimized>
The crash appears to occur when the MediaPlayer is in the BufferingState having just accepted a new source. This doesn't seem to happen if the ogg files are all stored locally.
(For context, this causes issues with a Libre.fm radio client I'm working on)
Thanks! Mike.
dont know if its same issue but also internal musicplayer randomly segfault on some music for me. in my case is mostly mp3's
mike7b4 ( 2014-01-18 20:29:25 +0200 )edit