Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.2.1
-
None
-
ArchLinux x64, Qt 5.2.1
uname -a
Linux citadel 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux
Description
Following source code causes segmentation fault on my Linux system, but it works well on Windows 7
#include <QCoreApplication> #include <QMediaPlayer> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QMediaPlayer player; player.setMedia(QMediaContent(QUrl("http://www.paul.sladen.org/pronunciation/torvalds-says-linux.mp3"))); player.play(); return a.exec(); }
Crash is in setMedia method call.