Skip to content

Instantly share code, notes, and snippets.

View azbesthu's full-sized avatar

Zoltan Arvai azbesthu

  • Hungary, Szeged
View GitHub Profile
diff --git a/Source/WTF/wtf/CurrentTime.cpp b/Source/WTF/wtf/CurrentTime.cpp
index e7326df..0a4dea4 100644
--- a/Source/WTF/wtf/CurrentTime.cpp
+++ b/Source/WTF/wtf/CurrentTime.cpp
@@ -296,6 +296,8 @@ double monotonicallyIncreasingTime()
{
ASSERT(QElapsedTimer::isMonotonic());
static QElapsedTimer timer;
+ if (!timer.isValid())
+ timer.start();
===============================
-------------------------------
quicknanobrowser-32171-baidu.com.log8:
[0] Peak: 75.3Mb (78962232b) Allocs: 2631214 Total: 510.7Mb (535573834b) Leak: 75.1Mb (78794716b)
Group: total
[1] Peak: 8.7Mb (9208332b) Allocs: 721515 Total: 264.9Mb (277871757b) Leak: 6.6Mb (7015696b)
Group: WebEngine
-------------------------------
quicknanobrowser-32177-baidu.com.log8:
[0] Peak: 13.7Mb (14431212b) Allocs: 6758 Total: 13.9Mb (14652170b) Leak: 13.7Mb (14410874b)
azbest@azbest:~/profiling/sept14/qt5-tools-qtwe/qt5/qtwebkit/bin$ gdb QtTestBrowser ~/profiling/sept14/raw-webkit/QtTestBrowser-421-qt-project.org.log.core.421
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
==23980== Freya-0.5, Memory access logger
==23980== Copyright (C) 2009, and GNU GPL'd, by Zoltan Herczeg (University of Szeged).
==23980== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==23980== Command: ./QtTestBrowser http://qt-project.org
==23980== Parent PID: 22281
==23980==
==23980==
==23980== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==23980== Access not within mapped region at address 0xBBADBEEF
==23980== at 0x7487060: WTFCrash (in /home/azbest/profiling/sept14/qt5-tools-qtwe/qt5/qtwebkit/lib/libQt5WebKit.so.5.4.0)
==29154== Freya-0.5, Memory access logger
==29154== Copyright (C) 2009, and GNU GPL'd, by Zoltan Herczeg (University of Szeged).
==29154== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==29154== Command: ./QtTestBrowser http://qt-project.org
==29154== Parent PID: 22281
==29154==
==29154==
==29154== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==29154== Access not within mapped region at address 0xBBADBEEF
==29154== at 0x730B514: WTFCrash (in /home/azbest/profiling/sept14/qt5-tools-qtwe/qt5/qtwebkit/lib/libQt5WebKit.so.5.4.0)
azbest@azbest:~/profiling/sept14/qt5-tools-qtwe/qt5/qtwebkit/bin$ ~/profiling/valgrind-3.7.0/inst/bin/valgrind --log-file=/home/azbest/profiling/sept14/raw-results/QtTestBrowser-baidu-com.log --trace-children=yes --tool=freya --config=/home/azbest/profiling/sept14/freya-configs/WebKit_conf.txt ./QtTestBrowser http://baidu.com
ASSERTION FAILED: !callLinkInfo->isLinked()
jit/JIT.cpp(809) : static void JSC::JIT::linkFor(JSC::JSFunction*, JSC::CodeBlock*, JSC::CodeBlock*, JSC::AbstractMacroAssembler<JSC::X86Assembler>::CodePtr, JSC::CallLinkInfo*, JSC::VM*, JSC::CodeSpecializationKind)
1 0x74870cb /home/azbest/profiling/sept14/qt5-tools-qtwe/qt5/qtwebkit/lib/libQt5WebKit.so.5(WTFCrash+0x1e) [0x74870cb]
2 0x72f5911 /home/azbest/profiling/sept14/qt5-tools-qtwe/qt5/qtwebkit/lib/libQt5WebKit.so.5(+0x20d7911) [0x72f5911]
3 0x731a3cd /home/azbest/profiling/sept14/qt5-tools-qtwe/qt5/qtwebkit/lib/libQt5WebKit.so.5(+0x20fc3cd) [0x731a3cd]
4 0x73122e2 /home/azbest/profiling/sept14/qt5-tools-qtwe/qt5/qtwebkit/lib/l
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xtree(1826) : warning C4702: unreachable code
[10486/10490] CXX obj\src\core\QtWebEngineCore.delegated_frame_node.obj
FAILED: ninja -t msvc -e environment.x86 -- cl.exe /nologo /showIncludes /FC @obj\src\core\QtWebEngineCore.delegated_frame_node.obj.rsp /c ..\..\..\src\core\del
egated_frame_node.cpp /Foobj\src\core\QtWebEngineCore.delegated_frame_node.obj /Fdobj\src\core\QtWebEngineCore.cc.pdb
c:\qtwe\aug11\qtwebengine\src\core\delegated_frame_node.cpp(72) : fatal error C1083: Cannot open include file: 'QSGAbstractRenderer': No such file or directory
[10486/10490] CXX obj\src\core\QtWebEngineCore.browser_context_qt.obj
ninja: build stopped: subcommand failed.
NMAKE : fatal error U1077: 'C:\qtwe\aug11\qtwebengine\src\3rdparty\ninja\ninja.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.EXE"' : return code '0x2'
C:\qtwe\aug11\qtwebengine\src\3rdparty\ninja\ninja.exe "-j8" -C C:/qtwe/aug11/qtwebengine/src/core/Release
ninja: Entering directory `C:/qtwe/aug11/qtwebengine/src/core/Release'
[124/10498] LINK_EMBED libvpx_obj_int_extract.exe
FAILED: C:\Python27\python.exe gyp-win-tool link-with-manifests environment.x86 True libvpx_obj_int_extract.exe "C:\Python27\pyt
r environment.x86 False c:\Program Files (x86)\Microsoft Visual Studio 12.0\Vin\link.exe /nologo /OUT:libvpx_obj_int_extract.exe
" 1 mt.exe rc.exe "obj\src\3rdparty\chromium\third_party\libvpx\libvpx_obj_int_extract.libvpx_obj_int_extract.exe.intermediate.m
um\third_party\libvpx\libvpx_obj_int_extract.libvpx_obj_int_extract.exe.generated.manifest ..\..\..\src\3rdparty\chromium\build\
'c:\Program' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
ninja: error: GetFileAttributesEx(..\..\..\src\core\C:azbestaug5qtwebenginesrc\3
rdparty_upstream\chromium\chrome\app\generated_resources.grd): The filename, dir
ectory name, or volume label syntax is incorrect.
Program received signal SIGSEGV, Segmentation fault.
0x0000000006aef2b4 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8)
at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:143
143 return d;
(gdb)