Skip to content

Instantly share code, notes, and snippets.

View vitallium's full-sized avatar
🖥️
Hex, Bugs and Source Control!

Vitaly Slobodin vitallium

🖥️
Hex, Bugs and Source Control!
View GitHub Profile
> python test\run-tests.py --color never
ff..E..F............E........f............s..........E.....E......F.....E.F..f..
basics\require: ERROR
ERROR: Test group skipped
ERROR: Error: Cannot find module 'require/require_spec.js'
basics\timeout: FAIL
FAIL: did not exit as expected
expected exit code -15 got 1
void QtConnectionObject::execute(void** argv)
{
QObject* sender = parent();
const QMetaObject* meta = sender->metaObject();
const QMetaMethod method = meta->method(m_signalIndex);
JSValueRef* ignoredException = 0;
JSRetainPtr<JSStringRef> lengthProperty(Adopt, JSStringCreateWithUTF8CString("length"));
int receiverLength = int(JSValueToNumber(m_context, JSObjectGetProperty(m_context, m_receiverFunction, lengthProperty.get(), ignoredException), ignoredException));
int argc = qMax(method.parameterCount(), receiverLength);
build Source\WebKit\CMakeFiles\WebKit.dir\qt\WebCoreSupport\QtPluginWidgetAdapter.cpp.obj: CXX_COMPILER__WebKit F$:\development\webkit\Source\WebKit\qt\WebCoreSupport\QtPluginWidgetAdapter.cpp | Source\WebKit\WebKitPrefix.pch || cmake_order_depends_target_WebKit
DEFINES = -DBUILDING_QT__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebKit -DHAVE_CONFIG_H=1 -DNOMINMAX -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DUNICODE -DWINVER=0x601 -DWebKit_EXPORTS -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -D_WINDOWS
FLAGS = /DWIN32 /D_WINDOWS /W4 /GR- /EHs- /EHc- /MT /Zi /Ob0 /Od /RTC1 /wd4018 /wd4068 /wd4099 /wd4100 /wd4127 /wd4138 /wd4146 /wd4180 /wd4189 /wd4201 /wd4244 /wd4251 /wd4267 /wd4275 /wd4288 /wd4291 /wd4305 /wd4309 /wd4344 /wd4355 /wd4389 /wd4396 /wd4456 /wd4457 /wd4458 /wd4459 /wd4481 /wd4503 /wd4505 /wd4510 /wd4512 /wd4530 /wd4577 /wd4610 /wd4611 /wd4702 /wd4706 /wd4800 /wd4819 /wd4951 /wd4952 /wd4996 /wd6011 /wd6031 /wd6211 /wd6246 /wd6
Z:\> perl f:/development/webkit/Tools/Scripts/build-webkit --no-ninja --64-bit --qt --debug --cmakeargs="-Wno-dev -DCMAKE_PREFIX_PATH=c:\Qt\Qt5.6.0_x64\5.6\msvc2015_64"
Checking Last-Modified date of qtwebkit-libs-win.zip...
Current qtwebkit-libs-win is up to date
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.0.23506.0
-- The CXX compiler identification is MSVC 19.0.23506.0
-- Check for working C compiler using: Visual Studio 14 2015 Win64
-- Check for working C compiler using: Visual Studio 14 2015 Win64 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
ntdll.dll!RtlSizeHeap() Unknown
AcLayers.dll!NS_FaultTolerantHeap::APIHook_RtlFreeHeap() Unknown
> Qt5WebKitWidgets.dll!_free_base(void * block) Line 107 C++
Qt5WebKitWidgets.dll!QtSharedPointer::ExternalRefCountData::operator delete(void * ptr=0x000001c279092470) Line 164 C++
Qt5WebKitWidgets.dll!QtSharedPointer::ExternalRefCountData::`scalar deleting destructor'(unsigned int) C++
Qt5WebKitWidgets.dll!QWeakPointer<QObject>::~QWeakPointer<QObject>() Line 600 C++
Qt5WebKitWidgets.dll!QPointer<QWebFrame>::~QPointer<QWebFrame>() C++
Qt5WebKitWidgets.dll!QWebPagePrivate::~QWebPagePrivate() Line 238 C++
Qt5WebKitWidgets.dll!QWebPagePrivate::`scalar deleting destructor'(unsigned int) C++
Qt5WebKitWidgets.dll!QWebPage::~QWebPage() Line 1388 C++
link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /VERSION:5.6 /MANIFEST:embed /OUT:..\lib\Qt5WebKit.dll @C:\Temp\nm29C6.tmp
Creating library ..\lib\Qt5WebKit.lib and object ..\lib\Qt5WebKit.exp
WebCore.lib(TextAllInOne.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl WebCore::TextCodecWin::registerExtendedEncodingNames(void (__cdecl*)(char const *,char const *))" (?registerExtendedEncodingNames@TextCodecWin@WebCore@@SAXP6AXPEBD0@Z@Z) referenced in function "char const * __cdecl WebCore::atomicCanonicalTextEncodingName<unsigned char>(unsigned char const *,unsigned __int64)" (??$atomicCanonicalTextEncodingName@E@WebCore@@YAPEBDPEBE_K@Z)
WebCore.lib(TextAllInOne.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl WebCore::TextCodecWin::registerExtendedCodecs(void (__cdecl*)(char const *,class WTF::PassOwnPtr<class WebCore::TextCodec> (__cdecl*)(class WebCore::TextEncoding const &,void const *),void const *))" (?registerE
diff --git a/Tools/qmake/mkspecs/features/default_post.prf b/Tools/qmake/mkspecs/features/default_post.prf
index 39bb3f7..1358083 100644
--- a/Tools/qmake/mkspecs/features/default_post.prf
+++ b/Tools/qmake/mkspecs/features/default_post.prf
@@ -48,7 +48,10 @@ DEFINES += $$configDefines()
INCLUDEPATH += \
$${ROOT_WEBKIT_DIR}/Source \
- $${ROOT_BUILD_DIR}/Source/include
+ $${ROOT_BUILD_DIR}/Source/include \
Disassembly for ?fastMalloc@WTF@@YAPAXI@Z (0x00000000`10BF66D0)
;********************************************************************************
; ?fastMalloc@WTF@@YAPAXI@Z (0x00000000`10BF66D0)
; Starting RVA: 00000000`00BF66D0
; Section: .text + 0x00BF56D0
; Export Symbol: ?fastMalloc@WTF@@YAPAXI@Z (715)
0x00000000`10BF66D0: 56 PUSH ESI
0x00000000`10BF66D1: FF742408 PUSH DWORD PTR [ESP+0x8]
0x00000000`10BF66D5: FF15BC33C010 CALL DWORD PTR DS:[MSVCR120.dll!malloc] ; (0x00000000`10C033BC)
0x00000000`10BF66DB: 8BF0 MOV ESI,EAX
Qt5WebKit!WTFCrash+0x63
Qt5WebKit!WTFCrash+0x4b
ntdll!RtlpAllocateHeapInternal+0xce
KERNELBASE!VirtualAlloc+0x58
Qt5WebKit!WTF::OSAllocator::reserveUncommitted+0x3e
Qt5WebKit!WTF::PageAllocationAligned::allocate+0x2a
Qt5WebKit!JSC::JSObject::convertInt32ToDoubleOrContiguousWhilePerformingSetIndex+0x1db
Qt5WebKit!JSC::JSProxy::visitChildren+0x4375e
Qt5WebKit!JSC::JSSegmentedVariableObject::visitChildren+0x307
Qt5WebKit!JSC::JSSegmentedVariableObject::visitChildren+0x318
WTF.dll!WTFCrash() Line 322 C++
Qt5WebKit.dll!WTF::String::characters16() Line 178 C++
> Qt5WebKit.dll!WebCore::toNormalizedQString(const WebCore::TextRun & run={...}) Line 61 C++
Qt5WebKit.dll!WebCore::FontCascade::floatWidthForComplexText(const WebCore::TextRun & run={...}, WTF::HashSet<WebCore::Font const *,WTF::PtrHash<WebCore::Font const *>,WTF::HashTraits<WebCore::Font const *> > * __formal=0x000000b4a25512b8, WebCore::GlyphOverflow * __formal=0x000000b4a2550518) Line 206 C++
Qt5WebKit.dll!WebCore::FontCascade::width(const WebCore::TextRun & run={...}, WTF::HashSet<WebCore::Font const *,WTF::PtrHash<WebCore::Font const *>,WTF::HashTraits<WebCore::Font const *> > * fallbackFonts=0x000000b4a25512b8, WebCore::GlyphOverflow * glyphOverflow=0x000000b4a2550518) Line 372 C++
Qt5WebKit.dll!WebCore::textWidth(WebCore::RenderText & text={...}, unsigned int from=0, unsigned int len=2, const WebCore::FontCascade & font={...}, float xPos=205.000000, bool isFixedPitch=false, bool collapseWhiteSpace=true, WT