Bug 41452 - [Qt] fast/dom/beforeload/remove-video-in-beforeload-listener.html crashy, needs updated Phonon in Qt
Summary: [Qt] fast/dom/beforeload/remove-video-in-beforeload-listener.html crashy, nee...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks: 79668
  Show dependency treegraph
 
Reported: 2010-07-01 03:24 PDT by Csaba Osztrogonác
Modified: 2012-05-16 14:57 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2010-07-01 03:24:44 PDT
fast/dom/beforeload/script-before-load-dynamic.html crashes intermittently:
http://build.webkit.org/results/Qt%20Linux%20Release/r62246%20%2814367%29/results.html

It might be a regression, because it wasn't flakey earlier.
Comment 1 Csaba Osztrogonác 2010-07-01 06:01:33 PDT
I can't reproduce it with WebKitTools/Scripts/run-webkit-tests fast/dom/beforeload/script-before-load-dynamic.html --iterations 1000, but
WebKitTools/Scripts/run-webkit-tests fast/dom/beforeload/ --iterations 1000

Here is the backtrace after segfault:

(gdb) bt
#0  Phonon::Gstreamer::Backend::debugLevel (this=0x8351298) at ../../../3rdparty/phonon/gstreamer/backend.cpp:438
#1  0xf119935e in Phonon::Gstreamer::Backend::handleBusMessage (this=0x821f140, message={m_message = 0xffffa614, m_source = 0x5}) at ../../../3rdparty/phonon/gstreamer/backend.cpp:417
#2  0xf1199411 in Phonon::Gstreamer::Backend::qt_metacall (this=0x821f140, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8215070) at .moc/release-shared/moc_backend.cpp:82
#3  0xf3e1b435 in QMetaObject::metacall (object=0x0, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x8215070) at kernel/qmetaobject.cpp:237
#4  0xf3e25a36 in QMetaCallEvent::placeMetaCall (this=0x81de190, object=0x821f140) at kernel/qobject.cpp:561
#5  0xf3e26fc3 in QObject::event (this=0x821f140, e=0x81de190) at kernel/qobject.cpp:1240
#6  0xf40870dc in QApplicationPrivate::notify_helper (this=0x81310c0, receiver=0x821f140, e=0x81de190) at kernel/qapplication.cpp:4300
#7  0xf408db22 in QApplication::notify (this=0xffffae94, receiver=0x821f140, e=0x81de190) at kernel/qapplication.cpp:3704
#8  0xf3e15feb in QCoreApplication::notifyInternal (this=0xffffae94, receiver=0x821f140, event=0x81de190) at kernel/qcoreapplication.cpp:704
#9  0xf3e16f4f in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x811b478) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#10 0xf3e170fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#11 0xf3e42c5f in postEventSourceDispatch (s=0x812a218) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#12 0xf33131d8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0xf3316873 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x08121018 in ?? ()
#15 0x00000000 in ?? ()
Comment 2 Csaba Osztrogonác 2010-07-01 06:27:21 PDT
fast/dom/beforeload/remove-video-in-beforeload-listener.html 
is added in http://trac.webkit.org/changeset/61744 and it make 
fast/dom/beforeload/script-before-load-dynamic.html crash

$ WebKitTools/Scripts/run-webkit-tests fast/dom/beforeload/remove-video-in-beforeload-listener.html fast/dom/beforeload/script-before-load-dynamic.html --debug --iterations 100

182 test cases (91%) succeeded
18 test cases (9%) crashed

If I put fast/dom/beforeload/remove-video-in-beforeload-listener.html into
the Skipped list, other tests never crash with this:
$ WebKitTools/Scripts/run-webkit-tests fast/dom/beforeload --debug --iterations 1000
Comment 3 Csaba Osztrogonác 2010-07-08 14:04:57 PDT
fast/dom/beforeload/remove-video-in-beforeload-listener.html skipped until fix by http://trac.webkit.org/changeset/62833
Comment 4 Eric Seidel (no email) 2010-07-08 14:07:55 PDT
I wonder if this could be related to bug 41871.  Probably not.
Comment 5 Benjamin Poulain 2011-01-28 17:18:07 PST
Should this really be a P1?
Comment 6 Andreas Kling 2011-03-29 07:08:04 PDT
Taking.
Comment 7 Andreas Kling 2011-03-29 07:50:04 PDT
This is a bug in the Phonon GStreamer backend, which won't let you delete MediaObjects when you feel like it. It's already fixed upstream on projects.kde.org, and should be downstreamed into Qt before the next release.

Leaving this bug open to track the skipped test.
Comment 8 Philippe Normand 2012-05-16 14:57:58 PDT
The Phonon backend is no longer used by QtWebKit on Linux.