We have moved to a new Sailfish OS Forum. Please start new discussions there.

QML MediaPlayer segfaults when changing source with Ogg Vorbis over HTTP

asked 2014-01-01 04:17:15 +0300

Elleo gravatar image

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.

edit retag flag offensive close delete



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 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2014-01-18 17:40:24 +0300

Robin Burchell _ w00t gravatar image

Thanks for the testcase!

edit flag offensive delete publish link more

answered 2015-05-27 20:25:04 +0300

rzr gravatar image

Donno if it helps but I noticed weird behaviour which swtiching video on a custom tizen system so I suspect this is a Qt upstream bug...

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2014-01-01 04:17:15 +0300

Seen: 1,075 times

Last updated: May 27 '15