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

Plugin content crashes QWebView with MinGW 4.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.0 RC1, 5.1.0 RC2, 5.1.1
    • WebKit
    • Windows 8 x64, Windows 7 x64
      Qt 5.1.0 RC1 and RC2 x86
      MinGW 4.8 x86

    Description

      When a QWebView loads any page with plugin content, it will crash the QT application. This only affects versions of QT that use MinGW 4.8. There was an issue back in 4.6.0 and it was also a MinGW issue: https://bugreports.qt-project.org/browse/QTBUG-4932

      In debug mode I get this error returned:

      ASSERTION FAILED: !lookupForWriting(Extractor::extract(entry)).second
      ..\WTF/wtf/HashTable.h(952) : void WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::reinsert(WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType&) [with Key = WTF::RefPtr<WTF::StringImpl>; Value = WTF::KeyValuePair<WTF::RefPtr<WTF::StringImpl>, WebCore::IdentifierRep*>; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::RefPtr<WTF::StringImpl>, WebCore::IdentifierRep*> >; HashFunctions = WTF::StringHash; Traits = WTF::KeyValuePairHashTraits<WTF::HashTraits<WTF::RefPtr<WTF::StringImpl> >, WTF::HashTraits<WebCore::IdentifierRep*> >; KeyTraits = WTF::HashTraits<WTF::RefPtr<WTF::StringImpl> >; WTF::HashTable<Key, Value, Extractor, HashFunctions

      A project and build is attached that should provide a simple example of what's going on. The debugger ends up pointing to a Flash.dll somewhere in SysWOW64 folder, which I find strange. Maybe it's looking for / finding a bad DLL?

      Attachments

        1. WebTest-backtrace.txt
          1 kB
          Leonard Lee
        2. WebTest-backtrace-full.txt
          45 kB
          Leonard Lee
        3. WebTest-debugger-log.txt
          34 kB
          Leonard Lee
        4. WebTest Flash Crash.rar
          344 kB
          Arsen Tufankjian
        5. WebTest-SIGSEGV.png
          15 kB
          Leonard Lee
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jturcott Jocelyn Turcotte
            honeybunch Arsen Tufankjian
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes