[Webkit-unassigned] [Bug 129419] [GTK] Wrong GL context when destroying textures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 12 20:57:07 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=129419

Maxime Coste <mawww at kakoune.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mawww at kakoune.org

--- Comment #10 from Maxime Coste <mawww at kakoune.org> ---
This triggers a crash here, with the following callstack:

#0  0x00007f02a32eae69 in glDeleteTextures () from /lib64/libGL.so.1
#1  0x00007f02a86f4ece in WebCore::BitmapTextureGL::~BitmapTextureGL (this=0x7f01dda6d210, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/texmap/BitmapTextureGL.cpp:291
#2  0x00007f02a86f4f59 in WebCore::BitmapTextureGL::~BitmapTextureGL (this=0x7f01dda6d210, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/texmap/BitmapTextureGL.cpp:288
#3  0x00007f02a73509e6 in WTF::RefCounted<WebCore::BitmapTexture>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefCounted.h:142
#4  WTF::RefCounted<WebCore::BitmapTexture>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefCounted.h:142
#5  WTF::derefIfNotNull<WebCore::BitmapTexture> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#6  WTF::RefPtr<WebCore::BitmapTexture, WTF::DumbPtrTraits<WebCore::BitmapTexture> >::~RefPtr (this=0x7f01ea017790, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#7  WebCore::TextureMapperTile::~TextureMapperTile (this=0x7f01ea017788, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/texmap/TextureMapperTile.h:42
#8  WebCore::CoordinatedBackingStoreTile::~CoordinatedBackingStoreTile (this=0x7f01ea017788, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:38
#9  WTF::KeyValuePair<unsigned int, WebCore::CoordinatedBackingStoreTile>::~KeyValuePair (this=0x7f01ea017780, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/KeyValuePair.h:33
#10 WTF::HashTable<unsigned int, WTF::KeyValuePair<unsigned int, WebCore::CoordinatedBackingStoreTile>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<unsigned int, WebCore::CoordinatedBackingStoreTile> >, WTF::IntHash<unsigned int>, WTF::HashMap<unsigned int, WebCore::CoordinatedBackingStoreTile, WTF::IntHash<unsigned int>, WTF::HashTraits<unsigned int>, WTF::HashTraits<WebCore::CoordinatedBackingStoreTile> >::KeyValuePairTraits, WTF::HashTraits<unsigned int> >::deallocateTable (size=<optimized out>, table=0x7f01ea017600)
    at DerivedSources/ForwardingHeaders/wtf/HashTable.h:1178
#11 WTF::HashTable<unsigned int, WTF::KeyValuePair<unsigned int, WebCore::CoordinatedBackingStoreTile>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<unsigned int, WebCore::CoordinatedBackingStoreTile> >, WTF::IntHash<unsigned int>, WTF::HashMap<unsigned int, WebCore::CoordinatedBackingStoreTile, WTF::IntHash<unsigned int>, WTF::HashTraits<unsigned int>, WTF::HashTraits<WebCore::CoordinatedBackingStoreTile> >::KeyValuePairTraits, WTF::HashTraits<unsigned int> >::~HashTable (this=0x7f01e28c7078, __in_chrg=<optimized out>)
    at DerivedSources/ForwardingHeaders/wtf/HashTable.h:362
#12 WTF::HashMap<unsigned int, WebCore::CoordinatedBackingStoreTile, WTF::IntHash<unsigned int>, WTF::HashTraits<unsigned int>, WTF::HashTraits<WebCore::CoordinatedBackingStoreTile> >::~HashMap (this=0x7f01e28c7078, __in_chrg=<optimized out>)
    at DerivedSources/ForwardingHeaders/wtf/HashMap.h:35
#13 WebCore::CoordinatedBackingStore::~CoordinatedBackingStore (this=0x7f01e28c7060, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:63
#14 WebCore::CoordinatedBackingStore::~CoordinatedBackingStore (this=0x7f01e28c7060, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:63
#15 0x00007f02a7359ec6 in WTF::RefCounted<WebCore::CoordinatedBackingStore>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefCounted.h:142
#16 WTF::RefCounted<WebCore::CoordinatedBackingStore>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefCounted.h:142
#17 WTF::derefIfNotNull<WebCore::CoordinatedBackingStore> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#18 WTF::RefPtr<WebCore::CoordinatedBackingStore, WTF::DumbPtrTraits<WebCore::CoordinatedBackingStore> >::~RefPtr (this=0x224ee30, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#19 Nicosia::BackingStoreTextureMapperImpl::CompositionState::~CompositionState (this=0x224ee30, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/texmap/NicosiaBackingStoreTextureMapperImpl.h:100
#20 Nicosia::BackingStoreTextureMapperImpl::~BackingStoreTextureMapperImpl (this=0x224ede0, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/texmap/NicosiaBackingStoreTextureMapperImpl.h:43
#21 0x00007f02a7359ee9 in Nicosia::BackingStoreTextureMapperImpl::~BackingStoreTextureMapperImpl (this=0x224ede0, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/texmap/NicosiaBackingStoreTextureMapperImpl.h:43
#22 0x00007f02a7358369 in Nicosia::BackingStore::~BackingStore (this=0x7f01da988780, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:303
#23 0x00007f02a7358906 in WTF::ThreadSafeRefCounted<Nicosia::BackingStore, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#24 WTF::ThreadSafeRefCounted<Nicosia::BackingStore, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#25 WTF::derefIfNotNull<Nicosia::BackingStore> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#26 WTF::RefPtr<Nicosia::BackingStore, WTF::DumbPtrTraits<Nicosia::BackingStore> >::~RefPtr (this=0x7f0250a6c1d8, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#27 Nicosia::CompositionLayer::LayerState::~LayerState (this=0x7f0250a6c030, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:89
#28 Nicosia::CompositionLayer::{unnamed type#1}::~CompositionLayer() (this=0x7f0250a6c030, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:271
#29 Nicosia::CompositionLayer::~CompositionLayer (this=0x7f0250a6c000, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#30 0x00007f02a7358e29 in Nicosia::CompositionLayer::~CompositionLayer (this=0x7f0250a6c000, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#31 0x00007f02a7358ce6 in WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#32 WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#33 WTF::derefIfNotNull<Nicosia::CompositionLayer> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#34 WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >::~RefPtr (this=0x7f01f2ad3f00, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#35 WTF::VectorDestructor<true, WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f01f2ad3f18, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:64
#36 WTF::VectorTypeOperations<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f01f2ad3f18, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:243
#37 WTF::Vector<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >, 0ul, WTF::CrashOnOverflow, 16ul>::~Vector (this=0x7f0210144550, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:675
#38 Nicosia::CompositionLayer::LayerState::~LayerState (this=0x7f02101443d0, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:89
#39 Nicosia::CompositionLayer::{unnamed type#1}::~CompositionLayer() (this=0x7f0210144030, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:271
#40 Nicosia::CompositionLayer::~CompositionLayer (this=0x7f0210144000, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#41 0x00007f02a7358e29 in Nicosia::CompositionLayer::~CompositionLayer (this=0x7f0210144000, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#42 0x00007f02a7358c46 in WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#43 WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#44 WTF::derefIfNotNull<Nicosia::CompositionLayer> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#45 WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >::~RefPtr (this=0x7f012ced3320, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#46 WTF::VectorDestructor<true, WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f012ced3328, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:64
#47 WTF::VectorTypeOperations<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f012ced3328, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:243
#48 WTF::Vector<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >, 0ul, WTF::CrashOnOverflow, 16ul>::~Vector (this=0x7f021f4919b0, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:675
#49 Nicosia::CompositionLayer::LayerState::~LayerState (this=0x7f021f491830, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:89
#50 Nicosia::CompositionLayer::{unnamed type#1}::~CompositionLayer() (this=0x7f021f491830, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:271
#51 Nicosia::CompositionLayer::~CompositionLayer (this=0x7f021f491800, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#52 0x00007f02a7358e29 in Nicosia::CompositionLayer::~CompositionLayer (this=0x7f021f491800, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#53 0x00007f02a7358c46 in WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#54 WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#55 WTF::derefIfNotNull<Nicosia::CompositionLayer> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#56 WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >::~RefPtr (this=0x7f012ced3318, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#57 WTF::VectorDestructor<true, WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f012ced3320, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:64
#58 WTF::VectorTypeOperations<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f012ced3320, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:243
#59 WTF::Vector<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >, 0ul, WTF::CrashOnOverflow, 16ul>::~Vector (this=0x7f01e8de41b0, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:675
#60 Nicosia::CompositionLayer::LayerState::~LayerState (this=0x7f01e8de4030, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:89
#61 Nicosia::CompositionLayer::{unnamed type#1}::~CompositionLayer() (this=0x7f01e8de4030, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:271
#62 Nicosia::CompositionLayer::~CompositionLayer (this=0x7f01e8de4000, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#63 0x00007f02a7358e29 in Nicosia::CompositionLayer::~CompositionLayer (this=0x7f01e8de4000, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#64 0x00007f02a7358c46 in WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#65 WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#66 WTF::derefIfNotNull<Nicosia::CompositionLayer> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#67 WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >::~RefPtr (this=0x7f012ced3310, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#68 WTF::VectorDestructor<true, WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f012ced3318, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:64
#69 WTF::VectorTypeOperations<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f012ced3318, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:243
#70 WTF::Vector<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >, 0ul, WTF::CrashOnOverflow, 16ul>::~Vector (this=0x7f01e8de47b0, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:675
#71 Nicosia::CompositionLayer::LayerState::~LayerState (this=0x7f01e8de4630, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:89
#72 Nicosia::CompositionLayer::{unnamed type#1}::~CompositionLayer() (this=0x7f01e8de4630, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:271
#73 Nicosia::CompositionLayer::~CompositionLayer (this=0x7f01e8de4600, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#74 0x00007f02a7358e29 in Nicosia::CompositionLayer::~CompositionLayer (this=0x7f01e8de4600, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#75 0x00007f02a7358c46 in WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#76 WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#77 WTF::derefIfNotNull<Nicosia::CompositionLayer> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#78 WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >::~RefPtr (this=0x7f01fa298510, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#79 WTF::VectorDestructor<true, WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f01fa298520, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:64
#80 WTF::VectorTypeOperations<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f01fa298520, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:243
#81 WTF::Vector<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >, 0ul, WTF::CrashOnOverflow, 16ul>::~Vector (this=0x7f0250a5b9b0, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:675
#82 Nicosia::CompositionLayer::LayerState::~LayerState (this=0x7f0250a5b830, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:89
#83 Nicosia::CompositionLayer::{unnamed type#1}::~CompositionLayer() (this=0x7f0250a5b830, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:271
#84 Nicosia::CompositionLayer::~CompositionLayer (this=0x7f0250a5b800, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#85 0x00007f02a7358e29 in Nicosia::CompositionLayer::~CompositionLayer (this=0x7f0250a5b800, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#86 0x00007f02a7358c46 in WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#87 WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#88 WTF::derefIfNotNull<Nicosia::CompositionLayer> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#89 WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >::~RefPtr (this=0x7f012ced3308, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#90 WTF::VectorDestructor<true, WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f012ced3310, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:64
#91 WTF::VectorTypeOperations<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> > >::destruct (end=0x7f012ced3310, begin=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:243
#92 WTF::Vector<WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >, 0ul, WTF::CrashOnOverflow, 16ul>::~Vector (this=0x7f01dd6673b0, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/Vector.h:675
#93 Nicosia::CompositionLayer::LayerState::~LayerState (this=0x7f01dd667230, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:89
#94 Nicosia::CompositionLayer::{unnamed type#1}::~CompositionLayer() (this=0x7f01dd667230, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:271
#95 Nicosia::CompositionLayer::~CompositionLayer (this=0x7f01dd667200, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#96 0x00007f02a7358e29 in Nicosia::CompositionLayer::~CompositionLayer (this=0x7f01dd667200, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h:70
#97 0x00007f02a735976b in WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#98 WTF::ThreadSafeRefCounted<Nicosia::PlatformLayer, (WTF::DestructionThread)0>::deref (this=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/ThreadSafeRefCounted.h:71
#99 WTF::derefIfNotNull<Nicosia::CompositionLayer> (ptr=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:44
#100 WTF::RefPtr<Nicosia::CompositionLayer, WTF::DumbPtrTraits<Nicosia::CompositionLayer> >::~RefPtr (this=0x7f0212cb4278, __in_chrg=<optimized out>) at DerivedSources/ForwardingHeaders/wtf/RefPtr.h:69
#101 Nicosia::Scene::State::~State (this=0x7f0212cb4258, __in_chrg=<optimized out>) at ../Source/WebCore/platform/graphics/nicosia/NicosiaScene.h:49
#102 0x00007f02a73202c1 in WebKit::CompositingCoordinator::{unnamed type#1}::~CompositingCoordinator() (this=0x7f0212cb4250, __in_chrg=<optimized out>) at ../Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h:121
#103 WebKit::CompositingCoordinator::~CompositingCoordinator (this=0x7f0212cb4210, __in_chrg=<optimized out>) at ../Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp:62
#104 0x00007f02a732074a in WebKit::LayerTreeHost::~LayerTreeHost (this=0x7f0212cb41c8, __in_chrg=<optimized out>) at /usr/include/c++/8/bits/unique_ptr.h:347
#105 0x00007f02a7320a35 in std::default_delete<WebKit::LayerTreeHost>::operator() (this=<optimized out>, __ptr=0x7f0212cb41c8) at /usr/include/c++/8/bits/unique_ptr.h:75
#106 std::default_delete<WebKit::LayerTreeHost>::operator() (this=0x7f0292c77080, __ptr=0x7f0212cb41c8) at /usr/include/c++/8/bits/unique_ptr.h:75
#107 std::unique_ptr<WebKit::LayerTreeHost, std::default_delete<WebKit::LayerTreeHost> >::reset (__p=0x7f0212cb41c8, this=0x7f0292c77080) at /usr/include/c++/8/bits/unique_ptr.h:382
#108 std::unique_ptr<WebKit::LayerTreeHost, std::default_delete<WebKit::LayerTreeHost> >::operator=(decltype(nullptr)) (this=0x7f0292c77080) at /usr/include/c++/8/bits/unique_ptr.h:318
#109 WebKit::DrawingAreaCoordinatedGraphics::discardPreviousLayerTreeHost (this=0x7f0292c77000) at ../Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:487
#110 0x00007f02a6238e43 in WTF::RunLoop::TimerBase::<lambda(gpointer)>::operator() (__closure=0x0, userData=0x7f0292c77088) at ../Source/WTF/wtf/glib/RunLoopGLib.cpp:171
#111 WTF::RunLoop::TimerBase::<lambda(gpointer)>::_FUN(gpointer) () at ../Source/WTF/wtf/glib/RunLoopGLib.cpp:177
#112 0x00007f02a25d406d in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#113 0x00007f02a25d4438 in ?? () from /lib64/libglib-2.0.so.0
#114 0x00007f02a25d4762 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#115 0x00007f02a6239270 in WTF::RunLoop::run () at ../Source/WTF/wtf/glib/RunLoopGLib.cpp:96
#116 0x00007f02a732e998 in WebKit::AuxiliaryProcessMain<WebKit::WebProcess, WebKit::WebProcessMain> (argc=<optimized out>, argv=0x7ffcde3aa338) at ../Source/WebKit/Shared/unix/AuxiliaryProcessMain.h:47
#117 0x00007f02a1ddc413 in __libc_start_main () from /lib64/libc.so.6
#118 0x0000000000400a5e in _start ()

Dump of assembler code for function glDeleteTextures:
   0x00007f02a32eae60 <+0>:     mov    %fs:0xfffffffffffffbb8,%rax
=> 0x00007f02a32eae69 <+9>:     jmpq   *0xa38(%rax)

rax is zero here, as indicated by the %fs register usage, this is a thread local access, so I assume this is accessing the active GL context function table and it is currently null, which would mean we have no active GL context, likely because we deactivated it earlier in that stack of destructor calls.

This happens on http://svn.webkit.org/repository/webkit/trunk@246340

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190613/d976027e/attachment-0001.html>


More information about the webkit-unassigned mailing list