c++ - Chromium-browser build fatal errors in module_list.cc: Check Failed -
i've been trying build chromium on windows 10, getting weird errors on runtime, appear caused pattern:
void checkfreelibrary(hmodule module) { bool result = ::freelibrary(module); dcheck(result); }
the first errors displayed after few seconds after chromium started. here's says:
[5904:9192:0726/025753:fatal:module_list.cc(18)] check failed: result. backtrace: base:debug:stacktrace:stacktrace [0x0000....] (e:\projects\clones\chromium\src\base\debug\stack_trace.cc) ...
since couldn't copy paste whole stack, join screenshot of feels like:
i successful in building last revision, or @ least, appears successful since no errors showing when compiling toolchain recommended in building instructions.
luckily, first errors aren't modal , possible browse little bit afterwards. then, if put application heavy loading (such facebook newsfeed), suddently stop responding in silent way. mouse hovering effects not show anymore , reloading page result in infinite loading. behavior reproductible when right-clicking on pages (e.g.: google's home page sometimes).
what explanation of not working "out of box" default configuration? how fix this?
p.s.: question complementary question: windows chromium-browser fresh build stacktrace , anonymous fatal errors on runtime, if can getting big picture of question.
p.s.2.: trying rebuild start again slight change see if works out better. able see after 10 hours, though (yes, build painful on current setup).
void checkfreelibrary(hmodule module) { bool result = ::freelibrary(module); if (!result) { result = ::unmapviewoffile(module); } dcheck(result); }
update - 2016/07/29
test checkfreelibrary still failed in debug, found way resolve issues in build. see update 3 in superuser question. did configuring build release mode via gn args
. is, obviously, impossible debug with, solution / explanation yet found why fails in debug mode. quite close now, though.
update 2 - 2016/08/13
started on again have debug version again latest version in repositories, , time sure enough find something. in fact, after i've run through usual procedure update, generate , build, noticed win-core-*
dll libraries located in windows kit debugger weren't copied src
folder 1 of assumed there during link process. precaution, i've copied them sure delay-load or build dependency there. first time chromium has launched, errors didn't show , thought resolving issue. however, right-clicking on google homepage had same effect (no response, browser not showing pages anymore). after closing , reopening it, errors beginning show up.
is there had experienced that? happy "do on linux, works better on platform". not willing without knowing work better, though.
so
bool result = ::freelibrary(module);
fails in debug builds see if have
dword winapi getlasterror(void);
to real error.
i guess
module not loaded
module null
perhaps debug statement changing value of module?
Comments
Post a Comment