Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. [Solved]Browser example fails
Forum Updated to NodeBB v4.3 + New Features

[Solved]Browser example fails

Scheduled Pinned Locked Moved Qt WebKit
3 Posts 1 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pavel_Osipyants
    wrote on last edited by
    #1

    Windows 7, Qt5.1.1(5.1.0)
    just running the tab browser example makes it to crash

    !http://bestgames.yomu.ru/fail.png(Fail image)!

    stack trace:
    0 WTF::HashTable<WTF::RefPtrWTF::StringImpl, WTF::KeyValuePair<WTF::RefPtrWTF::StringImpl, WebCore::IdentifierRep*>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::RefPtrWTF::StringImpl, WebCore::IdentifierRep*> >, WTF::StringHash, WTF::KeyValuePairHashTraits<WTF::HashTraits<WTF::RefPtrWTF::StringImpl >, WTF::HashTraitsWebCore::IdentifierRep* >, WTF::HashTraits<WTF::RefPtrWTF::StringImpl > >::expand() C:\Qt\Qt5.1.1\5.1.1\mingw48_32\bin\Qt5WebKitd.dll 0x1dbbbd56
    1 WebCore::IdentifierRep::get(char const*) C:\Qt\Qt5.1.1\5.1.1\mingw48_32\bin\Qt5WebKitd.dll 0x1d4c32b9
    2 unuse_netscape_plugin_Plugin C:\Windows\system32\macromed\Flash\NPSWF32_11_8_800_94.dll 0x591e3de4
    3 npswf32!Java_ShockwaveFlash_CurrentFrame_stub C:\Windows\system32\macromed\Flash\NPSWF32_11_8_800_94.dll 0x59bbcc84
    4 ??

    output:
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\platforms\qminimald.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\platforms\qoffscreend.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\platforms\qwindowsd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\iconengines\qsvgicond.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\imageformats\qgifd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\imageformats\qicod.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\imageformats\qjpegd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\imageformats\qmngd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\imageformats\qsvgd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\imageformats\qtgad.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\imageformats\qtiffd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\imageformats\qwbmpd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\sensors\qtsensors_dummyd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\sensors\qtsensors_genericd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\bearer\qgenericbearerd.dll"
    Temporarily disabling breakpoints for unloaded shared library "C:\Qt\Qt5.1.1\5.1.1\mingw48_32\plugins\bearer\qnativewifibearerd.dll"
    STATS [10 requests total] [80.00% from cache] [0.00% pipelined] [0.00% SSL/TLS] [0.00% Zerocopy]
    STATS [20 requests total] [90.00% from cache] [0.00% pipelined] [0.00% SSL/TLS] [0.00% Zerocopy]
    STATS [30 requests total] [90.00% from cache] [0.00% pipelined] [0.00% SSL/TLS] [0.00% Zerocopy]
    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::RefPtrWTF::StringImpl; Value = WTF::KeyValuePair<WTF::RefPtrWTF::StringImpl, WebCore::IdentifierRep*>; Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::RefPtrWTF::StringImpl, WebCore::IdentifierRep*> >; HashFunctions = WTF::StringHash; Traits = WTF::KeyValuePairHashTraits<WTF::HashTraits<WTF::RefPtrWTF::StringImpl >, WTF::HashTraitsWebCore::IdentifierRep* >; KeyTraits = WTF::HashTraits<WTF::RefPtrWTF::StringImpl >; WTF::HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>::ValueType = WTF::KeyValuePair<WTF::RefPtrWTF::StringImpl, WebCore::IdentifierRep*>]

    could you help, please

    p.s. sorry for my English

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Pavel_Osipyants
      wrote on last edited by
      #2

      https://bugreports.qt-project.org/browse/QTBUG-32168
      because of this bug I don't recommend to use MinGW

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pavel_Osipyants
        wrote on last edited by
        #3

        @QString directory = QStandardPaths::writableLocation(QStandardPaths::DataLocation);
        if (directory.isEmpty())
        directory = QDir::homePath() + QLatin1String("/.") + QCoreApplication::applicationName();
        QWebSettings::setIconDatabasePath(directory);
        QWebSettings::setOfflineStoragePath(directory);
        QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);@

        I also recommend to use this snippet to avoid problems with webkit

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved