It works fine in `--no-sandbox` mode. (we need to work in sandbox mode.)
It's odd because when I tested the same binary (cefsimple.exe) on my colleague's computer (they all have Win10 x64), on four of them it's ok and on 2 of them it crashes and I can not find any difference between these computers.
The error comes from libcef.dll, so I tried to debug it using Windbg and I found that error happens in "interception_agent.cc" file in "PatchDll" method. To be precise in these lines of code:
- Code: Select all
DCHECK_NT(!g_originals[function->id]);
g_originals[function->id] = &thunks->thunks[i];
it seems that there should not be any function id in g_originals but on these 2 computers, there is at least one entry at index 25 (where an interceptor for RegisterClassW would be registered). That causes the DCHECK_NT to trigger an error/interrupt.
it's also necessary to say that this problem is stable on these two computers and happens always.