Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64823

Broken rendering of select elements on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.10.0
    • 5.10.0 RC
    • WebEngine
    • None
    • macOS 10.12.5, Qt 5.10.0 RC1
    • macOS
    • efa6d3f0d3a01753dd40823ce119e7d4f9765c8e

    Description

      1) Build and run simplebrowser in release config
      2) Go to https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select
      3) Click on select element
      4) Observe broken rendering of the select popup

      In debug config, the app crashes with an assert.

      Assertion:

      
      [88525:47363:1128/113301.748212:FATAL:gles2_cmd_copy_texture_chromium.cc(393)] Check failed: false. 
      0   QtWebEngineCore_debug               0x000000011188cdee base::debug::StackTrace::StackTrace(unsigned long) + 174
      1   QtWebEngineCore_debug               0x000000011188ce4d base::debug::StackTrace::StackTrace(unsigned long) + 29
      2   QtWebEngineCore_debug               0x000000011188b28c base::debug::StackTrace::StackTrace() + 28
      3   QtWebEngineCore_debug               0x000000011190481f logging::LogMessage::~LogMessage() + 479
      4   QtWebEngineCore_debug               0x0000000111902135 logging::LogMessage::~LogMessage() + 21
      5   QtWebEngineCore_debug               0x00000001145acf14 (anonymous namespace)::GetFragmentShaderSource(gl::GLVersionInfo const&, bool, bool, bool, unsigned int, unsigned int, unsigned int) + 1652
      6   QtWebEngineCore_debug               0x00000001145a93d4 gpu::gles2::CopyTextureCHROMIUMResourceManager::DoCopyTextureInternal(gpu::gles2::GLES2Decoder const*, unsigned int, unsigned int, int, unsigned int, unsigned int, unsigned int, int, unsigned int, int, int, int, int, int, int, int, int, int, int, bool, bool, bool, float const*, gpu::gles2::CopyTexImageResourceManager*) + 3668
      7   QtWebEngineCore_debug               0x00000001145a855f gpu::gles2::CopyTextureCHROMIUMResourceManager::DoCopySubTextureWithTransform(gpu::gles2::GLES2Decoder const*, unsigned int, unsigned int, int, unsigned int, unsigned int, unsigned int, int, unsigned int, int, int, int, int, int, int, int, int, int, int, bool, bool, bool, float const*, gpu::gles2::CopyTexImageResourceManager*) + 767
      8   QtWebEngineCore_debug               0x00000001145a7968 gpu::gles2::CopyTextureCHROMIUMResourceManager::DoCopySubTexture(gpu::gles2::GLES2Decoder const*, unsigned int, unsigned int, int, unsigned int, unsigned int, unsigned int, int, unsigned int, int, int, int, int, int, int, int, int, int, int, bool, bool, bool, gpu::gles2::CopyTextureMethod, gpu::gles2::CopyTexImageResourceManager*) + 1512
      9   QtWebEngineCore_debug               0x0000000114640dc2 gpu::gles2::GLES2DecoderImpl::DoCopySubTextureCHROMIUM(unsigned int, int, unsigned int, unsigned int, int, int, int, int, int, int, int, unsigned char, unsigned char, unsigned char) + 5282
      10  QtWebEngineCore_debug               0x00000001145d8ca4 gpu::gles2::GLES2DecoderImpl::HandleCopySubTextureCHROMIUM(unsigned int, void const volatile*) + 516
      11  QtWebEngineCore_debug               0x0000000114602bc9 gpu::error::Error gpu::gles2::GLES2DecoderImpl::DoCommandsImpl<false>(unsigned int, void const volatile*, int, int*) + 841
      12  QtWebEngineCore_debug               0x0000000114601d15 gpu::gles2::GLES2DecoderImpl::DoCommands(unsigned int, void const volatile*, int, int*) + 101
      13  QtWebEngineCore_debug               0x0000000114555b5e gpu::CommandBufferService::Flush(int, gpu::AsyncAPIInterface*) + 1630
      14  QtWebEngineCore_debug               0x0000000114b4a662 gpu::GpuCommandBufferStub::OnAsyncFlush(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&) + 1122
      15  QtWebEngineCore_debug               0x0000000114b56206 void base::DispatchToMethodImpl<gpu::GpuCommandBufferStub*, void (gpu::GpuCommandBufferStub::*)(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&), std::__1::tuple<int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> >, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > > const&, 0ul, 1ul, 2ul, 3ul>(gpu::GpuCommandBufferStub* const&, void (gpu::GpuCommandBufferStub::*)(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&), std::__1::tuple<int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> >, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > > const&&&, base::IndexSequence<0ul, 1ul, 2ul, 3ul>) + 310
      16  QtWebEngineCore_debug               0x0000000114b560c9 void base::DispatchToMethod<gpu::GpuCommandBufferStub*, void (gpu::GpuCommandBufferStub::*)(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&), std::__1::tuple<int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> >, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > > const&>(gpu::GpuCommandBufferStub* const&, void (gpu::GpuCommandBufferStub::*)(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&), std::__1::tuple<int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> >, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > > const&&&) + 73
      17  QtWebEngineCore_debug               0x0000000114b5605d void IPC::DispatchToMethod<gpu::GpuCommandBufferStub, void (gpu::GpuCommandBufferStub::*)(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&), void, std::__1::tuple<int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> >, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > > >(gpu::GpuCommandBufferStub*, void (gpu::GpuCommandBufferStub::*)(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&), void*, std::__1::tuple<int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> >, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > > const&) + 93
      18  QtWebEngineCore_debug               0x0000000114b4a186 bool IPC::MessageT<GpuCommandBufferMsg_AsyncFlush_Meta, std::__1::tuple<int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> >, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > >, void>::Dispatch<gpu::GpuCommandBufferStub, gpu::GpuCommandBufferStub, void, void (gpu::GpuCommandBufferStub::*)(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&)>(IPC::Message const*, gpu::GpuCommandBufferStub*, gpu::GpuCommandBufferStub*, void*, void (gpu::GpuCommandBufferStub::*)(int, unsigned int, std::__1::vector<ui::LatencyInfo, std::__1::allocator<ui::LatencyInfo> > const&, std::__1::vector<gpu::SyncToken, std::__1::allocator<gpu::SyncToken> > const&)) + 982
      19  QtWebEngineCore_debug               0x0000000114b46391 gpu::GpuCommandBufferStub::OnMessageReceived(IPC::Message const&) + 2577
      20  QtWebEngineCore_debug               0x000000011405e87b IPC::MessageRouter::RouteMessage(IPC::Message const&) + 91
      21  QtWebEngineCore_debug               0x0000000114b20cd2 gpu::GpuChannel::HandleMessageHelper(IPC::Message const&) + 98
      22  QtWebEngineCore_debug               0x0000000114b03c64 gpu::GpuChannel::HandleMessage(IPC::Message const&) + 564
      23  QtWebEngineCore_debug               0x0000000114b318e4 void base::internal::FunctorTraits<void (gpu::GpuChannel::*)(IPC::Message const&), void>::Invoke<base::WeakPtr<gpu::GpuChannel>, IPC::Message>(void (gpu::GpuChannel::*)(IPC::Message const&), base::WeakPtr<gpu::GpuChannel>&&, IPC::Message&&) + 148
      24  QtWebEngineCore_debug               0x0000000114b317e9 void base::internal::InvokeHelper<true, void>::MakeItSo<void (gpu::GpuChannel::*)(IPC::Message const&), base::WeakPtr<gpu::GpuChannel>, IPC::Message>(void (gpu::GpuChannel::*&&)(IPC::Message const&), base::WeakPtr<gpu::GpuChannel>&&, IPC::Message&&) + 105
      25  QtWebEngineCore_debug               0x0000000114b3176d void base::internal::Invoker<base::internal::BindState<void (gpu::GpuChannel::*)(IPC::Message const&), base::WeakPtr<gpu::GpuChannel>, IPC::Message>, void ()>::RunImpl<void (gpu::GpuChannel::*)(IPC::Message const&), std::__1::tuple<base::WeakPtr<gpu::GpuChannel>, IPC::Message>, 0ul, 1ul>(void (gpu::GpuChannel::*&&)(IPC::Message const&), std::__1::tuple<base::WeakPtr<gpu::GpuChannel>, IPC::Message>&&, base::IndexSequence<0ul, 1ul>) + 125
      26  QtWebEngineCore_debug               0x0000000114b316e9 base::internal::Invoker<base::internal::BindState<void (gpu::GpuChannel::*)(IPC::Message const&), base::WeakPtr<gpu::GpuChannel>, IPC::Message>, void ()>::RunOnce(base::internal::BindStateBase*) + 57
      27  QtWebEngineCore_debug               0x000000010d21f3bf base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0>::Run() + 95
      28  QtWebEngineCore_debug               0x00000001147bc954 gpu::Scheduler::RunNextTask() + 2948
      29  QtWebEngineCore_debug               0x00000001147cd6d4 void base::internal::FunctorTraits<void (gpu::Scheduler::*)(), void>::Invoke<base::WeakPtr<gpu::Scheduler> const&>(void (gpu::Scheduler::*)(), base::WeakPtr<gpu::Scheduler> const&&&) + 132
      30  QtWebEngineCore_debug               0x00000001147cd642 void base::internal::InvokeHelper<true, void>::MakeItSo<void (gpu::Scheduler::* const&)(), base::WeakPtr<gpu::Scheduler> const&>(void (gpu::Scheduler::* const&&&)(), base::WeakPtr<gpu::Scheduler> const&&&) + 82
      31  QtWebEngineCore_debug               0x00000001147cd5e0 void base::internal::Invoker<base::internal::BindState<void (gpu::Scheduler::*)(), base::WeakPtr<gpu::Scheduler> >, void ()>::RunImpl<void (gpu::Scheduler::* const&)(), std::__1::tuple<base::WeakPtr<gpu::Scheduler> > const&, 0ul>(void (gpu::Scheduler::* const&&&)(), std::__1::tuple<base::WeakPtr<gpu::Scheduler> > const&&&, base::IndexSequence<0ul>) + 80
      32  QtWebEngineCore_debug               0x00000001147cd52c base::internal::Invoker<base::internal::BindState<void (gpu::Scheduler::*)(), base::WeakPtr<gpu::Scheduler> >, void ()>::Run(base::internal::BindStateBase*) + 44
      33  QtWebEngineCore_debug               0x000000010d21f3bf base::Callback<void (), (base::internal::CopyMode)0, (base::internal::RepeatMode)0>::Run() + 95
      34  QtWebEngineCore_debug               0x000000011188ef7e base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 1022
      35  QtWebEngineCore_debug               0x0000000111950b0e base::MessageLoop::RunTask(base::PendingTask*) + 894
      36  QtWebEngineCore_debug               0x0000000111951027 base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) + 71
      37  QtWebEngineCore_debug               0x0000000111951d1c base::MessageLoop::DoWork() + 716
      38  QtWebEngineCore_debug               0x000000011196536f base::MessagePumpCFRunLoopBase::RunWork() + 95
      39  QtWebEngineCore_debug               0x00000001119652fc ___ZN4base24MessagePumpCFRunLoopBase13RunWorkSourceEPv_block_invoke + 28
      40  QtWebEngineCore_debug               0x000000011190b8aa base::mac::CallWithEHFrame(void () block_pointer) + 10
      41  QtWebEngineCore_debug               0x00000001119647f5 base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 101
      42  CoreFoundation                      0x00007fffad596321 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      43  CoreFoundation                      0x00007fffad57721d __CFRunLoopDoSources0 + 557
      44  CoreFoundation                      0x00007fffad576716 __CFRunLoopRun + 934
      45  CoreFoundation                      0x00007fffad576114 CFRunLoopRunSpecific + 420
      46  QtWebEngineCore_debug               0x000000011196596c base::MessagePumpCFRunLoop::DoRun(base::MessagePump::Delegate*) + 76
      47  QtWebEngineCore_debug               0x0000000111963fee base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 110
      48  QtWebEngineCore_debug               0x00000001119503c3 base::MessageLoop::Run() + 291
      49  QtWebEngineCore_debug               0x0000000111950409 non-virtual thunk to base::MessageLoop::Run() + 25
      50  QtWebEngineCore_debug               0x0000000111a1b01e base::RunLoop::Run() + 286
      51  QtWebEngineCore_debug               0x0000000111b08e25 base::Thread::Run(base::RunLoop*) + 405
      52  QtWebEngineCore_debug               0x0000000111b09b61 base::Thread::ThreadMain() + 2529
      53  QtWebEngineCore_debug               0x0000000111ae3821 base::(anonymous namespace)::ThreadFunc(void*) + 705
      54  libsystem_pthread.dylib             0x00007fffc2f0993b _pthread_body + 180
      55  libsystem_pthread.dylib             0x00007fffc2f09887 _pthread_body + 0
      56  libsystem_pthread.dylib             0x00007fffc2f0908d thread_start + 13
      

      Attachments

        Activity

          People

            alexandru.croitor Alexandru Croitor
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: