We see the following error message in the terminal:
- Code: Select all
[0810/112257.170509:FATAL:window_observer.cc(14)] Check failed: !IsInObserverList().
#0 0x7fafbb036709 (/home/../jcef/linux/libcef.so+0x51b0708)
#1 0x7fafbaf9cb43 (/home/../jcef/linux/libcef.so+0x5116b42)
#2 0x7fafbafae815 (/home/../jcef/linux/libcef.so+0x5128814)
#3 0x7fafbc72e7cb (/home/../jcef/linux/libcef.so+0x68a87ca)
#4 0x7fafbd4b248b (/home/../jcef/linux/libcef.so+0x762c48a)
#5 0x7fafbd4b24be (/home/../jcef/linux/libcef.so+0x762c4bd)
#6 0x7fafbd4b23f6 (/home/../jcef/linux/libcef.so+0x762c3f5)
#7 0x7fafbaf99075 (/home/../jcef/linux/libcef.so+0x5113074)
#8 0x7fafbaf3ed6a (/home/../jcef/linux/libcef.so+0x50b8d69)
#9 0x7fafbb0478ee (/home/../jcef/linux/libcef.so+0x51c18ed)
#10 0x7fb052adf1ca start_thread
#11 0x7fb052547e73 __GI___clone
Aborted (core dumped)
The FATAL error make the JVM crash and thus our own shutdown logic is not always being run.
We have debugged the JCEF code and can conclude that the error happens when we call CefApp.getInstance().dispose(). Specifically when CefApp.this.N_Shutdown() is being invoked.
We have been searching the forum and old issues for similar issues without much luck. The only one that sounds related is https://github.com/chromiumembedded/cef/issues/2831. However the fix should be included in the version we are using. It could also be related to https://github.com/chromiumembedded/java-cef/issues/382.
CEF version: 81.0.4044.113
Any ideas or comments that could help us progress this issue is greatly appreciated. Thanks