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. ASSERT / Debug Crash in Qt 5.3.2. WTF, Windows x64, LLIntData.cpp bitwise_cast<uint32_t*>(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42)
Forum Updated to NodeBB v4.3 + New Features

ASSERT / Debug Crash in Qt 5.3.2. WTF, Windows x64, LLIntData.cpp bitwise_cast<uint32_t*>(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42)

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 1.1k 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.
  • B Offline
    B Offline
    baertelchen
    wrote on last edited by
    #1

    Hi all,

    I built a JIT-free version of Qt 5.3.2 (Win64) and now run into this assertion in

    ..\Qt\qtwebkit\Source\JavaScriptCore\llint\LLIntData.cpp

    @Vector<int> testVector;
    testVector.resize(42);
    ASSERT(bitwise_cast<uint32_t*>(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42);@

    Here is a bug report / changeset I've found wrt this:

    http://trac.webkit.org/changeset/148896/trunk/Source/JavaScriptCore/llint/LLIntData.cpp

    and

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

    The assert is supposed to check, that the Vector's m_size variable is at the correct address, I guess?!

    If not, anyone can shed a light on this and explain the purpose of it and where I might have incorrect compilation settings applied?

    Am I missing somewhere an alignment pragma or something to make this
    (sizeof(void*)/sizeof(uint32_t))
    always calculate the right address - regardless of whether its x86 or x64?

    Thanks in advance

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      This question is better suited for the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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