RESOLVED WORKSFORME 168116
[GStreamer][MSE] Crash on yet another wrong player selection for non MSE content when there are no suitable codecs
https://bugs.webkit.org/show_bug.cgi?id=168116
Summary [GStreamer][MSE] Crash on yet another wrong player selection for non MSE cont...
Xabier Rodríguez Calvar
Reported 2017-02-10 07:25:46 PST
I am running the following local HTML on MiniBrowser: <html> <body> <video src="https://media.w3.org/2010/05/sintel/trailer.mp4" controls autoplay/> </body> </html> with GST_INSTALL_PLUGINS_HELPER environment variable pointing to a file with: #!/bin/sh echo "Installation of gst plugin requested..." echo $@ exit 0 as recommended on bug https://bugs.webkit.org/show_bug.cgi?id=147822#c14 and I am getting: #0 0x00007f27af596c0b in WebCore::MediaPlayerPrivateGStreamerMSE::buffered() const () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #1 0x00007f27af15e401 in WebCore::MediaPlayer::buffered() () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #2 0x00007f27aee55e04 in WebCore::HTMLMediaElement::buffered() const () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #3 0x00007f27af63f079 in WebCore::RenderThemeGtk::paintMediaSliderTrack(WebCore::RenderObject const&, WebCore::PaintInfo const&, WebCore::IntRect const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #4 0x00007f27af370d9d in WebCore::RenderTheme::paint(WebCore::RenderBox const&, WebCore::ControlStates&, WebCore::PaintInfo const&, WebCore::LayoutRect const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #5 0x00007f27af24ffe4 in WebCore::RenderBox::paintBoxDecorations(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #6 0x00007f27af2168cf in WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #7 0x00007f27af215fe3 in WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #8 0x00007f27af289082 in WebCore::RenderElement::paintAsInlineBlock(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #9 0x00007f27af21656f in WebCore::RenderBlock::paintChild(WebCore::RenderBox&, WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool, WebCore::RenderBlock::PaintBlockType) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #10 0x00007f27af29830e in WebCore::RenderFlexibleBox::paintChildren(WebCore::PaintInfo&, WebCore::LayoutPoint const&, WebCore::PaintInfo&, bool) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #11 0x00007f27af216b09 in WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #12 0x00007f27af215fe3 in WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #13 0x00007f27af2e6089 in WebCore::RenderLayer::paintForegroundForFragmentsWithPhase(WebCore::PaintPhase, WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul> const&, WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int, WebCore::RenderObject*) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #14 0x00007f27af2e346a in WebCore::RenderLayer::paintForegroundForFragments(WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul> const&, WebCore::GraphicsContext&, WebCore::GraphicsContext&, WebCore::LayoutRect const&, bool, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int, WebCore::RenderObject*, bool) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #15 0x00007f27af2e0066 in WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #16 0x00007f27af2f8ece in WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::IntRect const&, unsigned int, unsigned int) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #17 0x00007f27af2f9187 in WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, unsigned int, WebCore::FloatRect const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #18 0x00007f27af150f2c in WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&, WebCore::FloatRect const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #19 0x00007f27af5c694f in non-virtual thunk to WebCore::CoordinatedGraphicsLayer::tiledBackingStorePaint(WebCore::GraphicsContext&, WebCore::IntRect const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #20 0x00007f27af5c84a4 in WebCore::Tile::paintToSurfaceContext(WebCore::GraphicsContext&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #21 0x00007f27ae927287 in WebKit::UpdateAtlasSurfaceClient::paintToSurfaceContext(WebCore::GraphicsContext&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #22 0x00007f27ae91f335 in WebKit::ThreadSafeCoordinatedSurface::paintToSurface(WebCore::IntRect const&, WebCore::CoordinatedSurface::Client&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #23 0x00007f27ae9271a8 in WebKit::UpdateAtlas::paintOnAvailableBuffer(WebCore::IntSize const&, unsigned int&, WebCore::IntPoint&, WebCore::CoordinatedSurface::Client&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #24 0x00007f27ae9244a9 in WebKit::CompositingCoordinator::paintToSurface(WebCore::IntSize const&, unsigned int, unsigned int&, WebCore::IntPoint&, WebCore::CoordinatedSurface::Client&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #25 0x00007f27af5c838c in WebCore::Tile::updateBackBuffer() () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #26 0x00007f27af5c9454 in WebCore::TiledBackingStore::updateTileBuffers() () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #27 0x00007f27af5c901d in WebCore::TiledBackingStore::createTiles(WebCore::IntRect const&, WebCore::IntRect const&, float) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #28 0x00007f27af5c8722 in WebCore::TiledBackingStore::createTilesIfNeeded(WebCore::IntRect const&, WebCore::IntRect const&) () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #29 0x00007f27af5c7199 in WebCore::CoordinatedGraphicsLayer::updateContentBuffers() () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37 #30 0x00007f27af5c7072 in WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers() () from /home/calvaris/gnome/WebKit/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
Attachments
Xabier Rodríguez Calvar
Comment 1 2017-02-10 07:27:24 PST
I forgot to say that I say "no" to codec installation, which I think is irrelevant, and I removed libgstfaad.so and libgstlibav.so to force caps negotiation to fail.
Philippe Normand
Comment 2 2018-02-26 09:06:40 PST
I can't reproduce this issue, the MSE player isn't created here.
Note You need to log in before you can comment on or make changes to this bug.