Closed GoogleCodeExporter closed 9 years ago
This patch fixes issue 97 as well.
Original comment by k...@censhare.de
on 25 Jul 2014 at 10:55
Issue 97 has been merged into this issue.
Original comment by magreenb...@gmail.com
on 29 Jul 2014 at 10:32
This change is causing a crash/hang during shutdown() (CefApp.java) on Windows
8.1. The native code never returns from the call to CefShutdown(). It seems
like maybe the window hasn't completely destructed before CefShutdown() is
called even though OnBeforeClose() has been executed for the CefBrowser
instance. Here's the call stack:
libcef.dll!logging::LogMessage::~LogMessage() Line 564 C++
libcef.dll!aura::Env::GetInstance() Line 57 C++
libcef.dll!wm::ShadowController::Impl::~Impl() Line 243 C++
[External Code]
libcef.dll!base::RefCounted<wm::ShadowController::Impl>::Release() Line 131 C++
libcef.dll!scoped_refptr<wm::ShadowController::Impl>::~scoped_refptr<wm::ShadowController::Impl>() Line 290 C++
libcef.dll!wm::ShadowController::~ShadowController() Line 259 C++
[External Code]
libcef.dll!base::DefaultDeleter<wm::ShadowController>::operator()(wm::ShadowController * ptr) Line 137 C++
libcef.dll!base::internal::scoped_ptr_impl<wm::ShadowController,base::DefaultDeleter<wm::ShadowController> >::reset(wm::ShadowController * p) Line 247 C++
libcef.dll!scoped_ptr<wm::ShadowController,base::DefaultDeleter<wm::ShadowController> >::reset(wm::ShadowController * p) Line 367 C++
libcef.dll!views::DesktopNativeWidgetAura::OnHostClosed() Line 297 C++
libcef.dll!views::DesktopWindowTreeHostWin::HandleDestroyed() Line 783 C++
libcef.dll!views::HWNDMessageHandler::OnWndProc(unsigned int message, unsigned __int64 w_param, __int64 l_param) Line 913 C++
> libcef.dll!gfx::WindowImpl::WndProc(HWND__ * hwnd, unsigned int message,
unsigned __int64 w_param, __int64 l_param) Line 268 C++
libcef.dll!base::win::WrappedWindowProc<&gfx::WindowImpl::WndProc>(HWND__ * hwnd, unsigned int message, unsigned __int64 wparam, __int64 lparam) Line 76 C++
[External Code]
libcef.dll!base::DeleteFileW(const base::FilePath & path, bool recursive) Line 81 C++
libcef.dll!base::ScopedTempDir::Delete() Line 64 C++
libcef.dll!base::ScopedTempDir::~ScopedTempDir() Line 16 C++
libcef.dll!CefContext::~CefContext() Line 221 C++
[External Code]
libcef.dll!CefShutdown() Line 144 C++
libcef.dll!cef_shutdown() Line 179 C++
jcef.dll!CefShutdown() Line 171 C++
jcef.dll!Java_org_cef_CefApp_N_1Shutdown(JNIEnv_ * env, _jobject * __formal) Line 108 C++
Original comment by magreenb...@gmail.com
on 20 Aug 2014 at 2:40
@#4: The problem does not reproduce on Windows 7 and seems unrelated to the
Java version (tested with both 7u51 and 7u67).
Original comment by magreenb...@gmail.com
on 9 Sep 2014 at 5:14
@#4: The fix appears to be calling N_DoMessageLoopWork() one final time before
calling N_Shutdown() in CefApp.shutdown(). We were doing that in the
implementation of CefApp.run() that existed before this patch.
Committed in revision 101.
Original comment by magreenb...@gmail.com
on 9 Sep 2014 at 9:22
Original issue reported on code.google.com by
k...@censhare.de
on 25 Jul 2014 at 10:10Attachments: