Chromium browser creates fatal errors in module_list.cc: Check Failed

I am trying to create chrome on Windows 10, but I am getting strange runtime errors that seem to be caused by this pattern:

void CheckFreeLibrary(HMODULE module) {
  BOOL result = ::FreeLibrary(module);
  DCHECK(result);
}

The first errors are displayed a few seconds after starting Chromium. Here is what he 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 I could not copy the entire stack, I join the screenshot of how it all feels: StackTrace Errors

I will be able to create the latest revision, or at least it will be successful, because when compiling with the tool binding recommended in .

, , . , (, Facebook), . , . (: google ).

, " " ? ?

P.S.: : Windows chrome-browser new build stacktrace , .

P.S.2: , , . 10 (, ).

void CheckFreeLibrary(HMODULE module) {
  BOOL result = ::FreeLibrary(module);
  if (!result) {
      result = ::UnmapViewOfFile(module);
  }
  DCHECK(result);
}

- 2016/07/29

CheckFreeLibrary , . . 3 question. , , gn args. , , , /, . .

2 - 2016/08/13

, , - . , , , DLL win-core-*, Windows Kit, src, . , , - . , . , Google ( , ). .

-, ? - " linux, ". , , .

+4
1

,

BOOL result = ::FreeLibrary(module);

, ,

DWORD WINAPI GetLastError(void);

.

NULL

, - DEBUG ?

0

Source: https://habr.com/ru/post/1649397/


All Articles