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

Single process mode crashes quicknanobrowser on OSX

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Incomplete
    • Affects Version/s: 5.6
    • Fix Version/s: None
    • Component/s: WebEngine
    • Labels:
      None
    • Environment:
      OSX 10.11 with latest Qt 5.6
      macOS 10.13 with 5.11.1
    • Platform/s:
      macOS

      Description

      When running quicknanobrowser in single process mode, the process gets terminated because of the following call:

       
      bad_message::ReceivedBadMessage(this, bad_message::DSMF_LOAD_STORAGE);
      

      in dom_storage_message_filter.cc.

      Stack trace of thread:

      0	content::bad_message::ReceivedBadMessage(content::BrowserMessageFilter *, content::bad_message::BadMessageReason)	bad_message.cc	31	0x103efd08f	
      1	content::DOMStorageMessageFilter::OnLoadStorageArea(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *)	dom_storage_message_filter.cc	109	0x1040d9e27	
      2	void base::DispatchToMethodImpl<content::DOMStorageMessageFilter, void (content::DOMStorageMessageFilter:: *)(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *), int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>>, 0ul, 0ul>(content::DOMStorageMessageFilter *, void (content::DOMStorageMessageFilter:: *)(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *), base::Tuple<int> const&, base::Tuple<std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>>> *, base::IndexSequence<0ul>, base::IndexSequence<0ul>)	tuple.h	320	0x1040dc78a	
      3	void base::DispatchToMethod<content::DOMStorageMessageFilter, void (content::DOMStorageMessageFilter:: *)(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *), int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>>>(content::DOMStorageMessageFilter *, void (content::DOMStorageMessageFilter:: *)(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *), base::Tuple<int> const&, base::Tuple<std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>>> *)	tuple.h	329	0x1040dc5e8	
      4	bool IPC::SyncMessageSchema<base::Tuple<int>, base::Tuple<std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>>&>>::DispatchWithSendParams<content::DOMStorageMessageFilter, content::DOMStorageMessageFilter, void (content::DOMStorageMessageFilter:: *)(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *)>(bool, base::Tuple<int> const&, IPC::Message const *, content::DOMStorageMessageFilter *, content::DOMStorageMessageFilter *, void (content::DOMStorageMessageFilter:: *)(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *))	ipc_message_utils.h	991	0x1040dc49d	
      5	bool DOMStorageHostMsg_LoadStorageArea::Dispatch<content::DOMStorageMessageFilter, content::DOMStorageMessageFilter, void, void (content::DOMStorageMessageFilter:: *)(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *)>(IPC::Message const *, content::DOMStorageMessageFilter *, content::DOMStorageMessageFilter *, void *, void (content::DOMStorageMessageFilter:: *)(int, std::map<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>, base::NullableString16, std::less<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>>>, std::allocator<std::pair<std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short>> const, base::NullableString16>>> *))	dom_storage_messages.h	71	0x1040db2ad	
      6	content::DOMStorageMessageFilter::OnMessageReceived(IPC::Message const&)	dom_storage_message_filter.cc	80	0x1040d976f	
      7	content::BrowserMessageFilter::Internal::DispatchMessage(IPC::Message const&)	browser_message_filter.cc	88	0x103d7a875	
      8	base::internal::RunnableAdapter<bool (content::BrowserMessageFilter::Internal:: *)(IPC::Message const&)>::Run(content::BrowserMessageFilter::Internal *, IPC::Message const&)	bind_internal.h	176	0x103d7b11a	
      9	base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<bool (content::BrowserMessageFilter::Internal:: *)(IPC::Message const&)>, base::internal::TypeList<content::BrowserMessageFilter::Internal * const&, IPC::Message const&>>::MakeItSo(base::internal::RunnableAdapter<bool (content::BrowserMessageFilter::Internal:: *)(IPC::Message const&)>, content::BrowserMessageFilter::Internal * const&, IPC::Message const&)	bind_internal.h	293	0x103d7b051	
      10	base::internal::Invoker<base::IndexSequence<0ul, 1ul>, base::internal::BindState<base::internal::RunnableAdapter<bool (content::BrowserMessageFilter::Internal:: *)(IPC::Message const&)>, void (content::BrowserMessageFilter::Internal *, IPC::Message const&), base::internal::TypeList<content::BrowserMessageFilter::Internal *, IPC::Message>>, base::internal::TypeList<base::internal::UnwrapTraits<content::BrowserMessageFilter::Internal *>, base::internal::UnwrapTraits<IPC::Message>>, base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<bool (content::BrowserMessageFilter::Internal:: *)(IPC::Message const&)>, base::internal::TypeList<content::BrowserMessageFilter::Internal * const&, IPC::Message const&>>, void ()>::Run(base::internal::BindStateBase *)	bind_internal.h	343	0x103d7b009	
      11	base::Callback<void ()>::Run() const	callback.h	396	0x101a8ea8e	
      12	base::SequencedWorkerPool::Inner::ThreadLoop(base::SequencedWorkerPool::Worker *)	sequenced_worker_pool.cc	782	0x101db60c4	
      13	base::SequencedWorkerPool::Worker::Run()	sequenced_worker_pool.cc	520	0x101db568a	
      14	base::SimpleThread::ThreadMain()	simple_thread.cc	66	0x101dc55bb	
      15	base::(anonymous namespace)::ThreadFunc(void *)	platform_thread_posix.cc	76	0x101db3dbc	
      16	_pthread_body	_pthread_body		0x7fff926489b1	
      17	_pthread_start	_pthread_start		0x7fff9264892e	
      18	thread_start	thread_start		0x7fff92646385	
      
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              qt_webengine_team Qt WebEngine Team
              Reporter:
              alexandru.croitor Alexandru Croitor
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes