[Qt-interest] Kubuntu 8.10 Qt 4.4.3 phonon gstreamer mess :-( crash report

Bart van Deenen bvandeenen at infologic.nl
Thu Dec 11 16:36:49 CET 2008


In the previous posting I mentioned that just instantiating some Phonon
objects causes a crash (without even playing a movie). The crash occurs
consistently on a QFileDialog

Relevant code ( this is from a simple test application, there's not much
more than this).


    media = new Phonon::MediaObject(this);
    Phonon::VideoWidget *vwidget = new Phonon::VideoWidget(this);
    Phonon::createPath(media, vwidget);
    gridLayout->addWidget(vwidget);

    QList<Phonon::MediaSource> media_list;

    media_list.append(Phonon::MediaSource(QString("x.mpg")));    

   // no 'play command!!!

I also have a button whose clicked() signal causes this:

void MainWindow::pickfile (){
    QString filename = QFileDialog::getOpenFileName(this,
            QString("Open Movie"), "/home/bvandeenen/Videos",
            QString("Movie Files (*.mpg *.wmv *.mov *.avi)"));
    media->setCurrentSource( filename);
    media->play();

}

And it consistently crashes as soon as it hits the first line in
'pickfile'.

So what should I do? Is gstreamer just too buggy? Can I use Phonon with
xine? How?

Hope someone has some answers here. 

We're currently evaluating Qt for commercial use, and I wonder if
multimedia support is actually going to be supported by Trolltech/Nokia.


Thanks

Bart van Deenen

Infologic, Netherlands

gdb backtrace

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb616c6e0 (LWP 28279)]
0xb5e3c892 in ?? () from /usr/lib/libgstreamer-0.10.so.0
(gdb) backtrace
#0  0xb5e3c892 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#1  0xb5e3e12a in ?? () from /usr/lib/libgstreamer-0.10.so.0
#2  0x0804ad6b in MainWindow::pickfile (this=0xbfc30814) at
MainWindow.cpp:132
#3  0x0804e2ab in MainWindow::qt_metacall (this=0xbfc30814,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc2f9dc)
    at moc_MainWindow.cpp:75
#4  0xb7363a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#5  0xb7363e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#6  0xb7c5fe61 in QAbstractButton::clicked ()
from /usr/lib/libQtGui.so.4
#7  0xb79b3199 in ?? () from /usr/lib/libQtGui.so.4
#8  0xb79b4d94 in ?? () from /usr/lib/libQtGui.so.4
#9  0xb79b5026 in QAbstractButton::mouseReleaseEvent ()
from /usr/lib/libQtGui.so.4
#10 0xb76c9962 in QWidget::event () from /usr/lib/libQtGui.so.4
#11 0xb79b303e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#12 0xb7a59910 in QPushButton::event () from /usr/lib/libQtGui.so.4
#13 0xb76718ec in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#14 0xb767a0e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#15 0xb734ee61 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#16 0xb767936e in QApplicationPrivate::sendMouseEvent ()
from /usr/lib/libQtGui.so.4
#17 0xb76e3656 in ?? () from /usr/lib/libQtGui.so.4
#18 0xb76e29e5 in QApplication::x11ProcessEvent ()
from /usr/lib/libQtGui.so.4
#19 0xb770c7aa in ?? () from /usr/lib/libQtGui.so.4
#20 0xb6ba36f8 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#21 0xb6ba6da3 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb6ba6f61 in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#23 0xb7379478 in QEventDispatcherGlib::processEvents ()
from /usr/lib/libQtCore.so.4
#24 0xb770bea5 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb734d52a in QEventLoop::processEvents ()
from /usr/lib/libQtCore.so.4
#26 0xb734d6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#27 0xb734fda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#28 0xb7671767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#29 0x0804ac43 in main (argc=977781633, argv=0xec830014) at main.cpp:12





More information about the Qt-interest-old mailing list