Quantcast
Channel: Qt DevNet forums: Qt WebKit
Viewing all articles
Browse latest Browse all 542

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

$
0
0
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

Viewing all articles
Browse latest Browse all 542

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


Rajasthan Board 10th Result 2016 Roll No wise & Name Wise


Moondru Mudichu 20-07-2016 – Polimer tv Serial


fs_older_downloads


Calaveras conflict results in shooting, 4 arrests


Guilty Pleasures


Black Angus Grilled Artichokes


Download: Rich Bizzy -Panono Ukwenda (Cover)


Muloraki Au


where in jaunpur randi khana