I made changes on the 2704 branch and wanted to do a recompile of the whole directory.
For this I delete the out folder in chromium/src directory and exeucte my compile batch (which I have attached).
The batch does the following:
It sets some environment variables, writes all output into a build logfile (with redirected syserr) and finally executes a statement like this:
- Code: Select all
call python D:\Git\cef\automate\automate-git.py --download-dir=D:\Git\cef\2704 --branch=2704 --depot-tools-dir=D:\Git\cef\2704\depot_tools --force-build --force-distrib >> "CEFBuild_2704_20171211_08133864.log" 2>&1
Everything worked fine until last week.
After hours of compiling I got a MessageBox "ninja.exe stopped working" which meant it had an access violation somewhere in its binary.
The build failed and the binaries weren't created.
Viewing the logfile, I saw that this happened on the end of the build (logfile size ca 800 MB which was a normal full build logfile size), so I restarted the compile, 10 minutes later it finished and the binaries were created.
But I don't trusted them, so I restarted a build over the weekend. Then ninja.exe again crashed, this time somewhere in the middle (400MB of logfile size).
I didn't find a hs_err*.log or something like that, can I find it somewhere else to attach it here?
What I did find was an EventLog entry for ninja.exe, did zip and attach it.
I also checked the ninja.exe in depot_tools and saw that it was modified on 16th of Nov 2017. Was a new ninja.exe published that results in this problems?
Can I somehow sync back to the old (for me working) ninja.exe?
//EDIT:
Here is a snippet of the last lines of the crashed compile (compressed whole logfile is 23MB big) :
- Code: Select all
[15421/15955] CXX obj\third_party\WebKit\Source\modules\mediasource\modules.URLMediaSource.obj
FAILED: obj/third_party/WebKit/Source/modules/mediasource/modules.URLMediaSource.obj
ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC @obj\third_party\WebKit\Source\modules\mediasource\modules.URLMediaSource.obj.rsp /c ..\..\third_party\WebKit\Source\modules\mediasource\URLMediaSource.cpp /Foobj\third_party\WebKit\Source\modules\mediasource\modules.URLMediaSource.obj /Fdobj\third_party\WebKit\Source\modules\modules.cc.pdb
[15422/15955] CXX obj\third_party\WebKit\Source\core\css\cssom\webcore_remaining.PositionValue.obj
FAILED: obj/third_party/WebKit/Source/core/css/cssom/webcore_remaining.PositionValue.obj
ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC @obj\third_party\WebKit\Source\core\css\cssom\webcore_remaining.PositionValue.obj.rsp /c ..\..\third_party\WebKit\Source\core\css\cssom\PositionValue.cpp /Foobj\third_party\WebKit\Source\core\css\cssom\webcore_remaining.PositionValue.obj /Fdobj\third_party\WebKit\Source\core\webcore_remaining.cc.pdb
ninja: build stopped: subcommand failed.
--> Download Directory: D:\Git\cef\2704
--> Depot Tools Directory: D:\Git\cef\2704\depot_tools
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "D:\Git\cef\2704\depot_tools"...
-------- Running "D:\Git\cef\2704\depot_tools\git.bat config --get remote.origin.url" in "D:\Git\cef\2704\cef"...
--> CEF Branch: 2704
--> CEF URL: https://bitbucket.org/chromiumembedded/cef.git
--> CEF Source Directory: D:\Git\cef\2704\cef
-------- Running "D:\Git\cef\2704\depot_tools\git.bat rev-parse HEAD" in "D:\Git\cef\2704\cef"...
-------- Running "D:\Git\cef\2704\depot_tools\git.bat fetch" in "D:\Git\cef\2704\cef"...
-------- Running "D:\Git\cef\2704\depot_tools\git.bat rev-parse origin/2704" in "D:\Git\cef\2704\cef"...
--> CEF Current Checkout: ec3e9ed7fecc0d9f37a96951ba1bb26fd4f64dc7
--> CEF Desired Checkout: ec3e9ed7fecc0d9f37a96951ba1bb26fd4f64dc7 (origin/2704)
--> CEF Output Directory: D:\Git\cef\2704\out_2704
-------- Running "D:\Git\cef\2704\depot_tools\git.bat config --get remote.origin.url" in "D:\Git\cef\2704\chromium\src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "D:\Git\cef\2704\depot_tools\git.bat rev-parse HEAD" in "D:\Git\cef\2704\chromium\src"...
-------- Running "D:\Git\cef\2704\depot_tools\git.bat rev-parse refs/tags/51.0.2704.103" in "D:\Git\cef\2704\chromium\src"...
--> Chromium Current Checkout: c4febd5ae385dee28312cfb1ce0c653b0919044a
--> Chromium Desired Checkout: c4febd5ae385dee28312cfb1ce0c653b0919044a (refs/tags/51.0.2704.103)
--> GYP_MSVS_VERSION=2015
--> GYP_GENERATORS=ninja
--> DEPOT_TOOLS_WIN_TOOLCHAIN=0
--> GYP_MSVS_OVERRIDE_PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0
-------- Running "D:\Git\cef\2704\chromium\src\cef\cef_create_projects.bat" in "D:\Git\cef\2704\chromium\src\cef"...
-------- Running "ninja -C out\Debug cefclient" in "D:\Git\cef\2704\chromium\src"...
-------- Running "ninja -C out\Release cefclient" in "D:\Git\cef\2704\chromium\src"...
Traceback (most recent call last):
File "D:\Git\cef\automate\automate-git.py", line 992, in <module>
if options.buildlogfile else None)
File "D:\Git\cef\automate\automate-git.py", line 55, in run
shell=(sys.platform == 'win32'))
File "D:\Git\cef\2704\depot_tools\win_tools-2_7_6_bin\python\bin\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Release', 'cefclient']' returned non-zero exit status 1
Done 11.12.2017 11:04:09,86