apimall / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

WM_FONTCHANGE issue #1507

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

At app start, call the following code:

SendMessage (HWND_BROADCAST, WM_FONTCHANGE, 0, 0);

What is the expected output? What do you see instead?

CEF hangs. But if I kill the render process - CEF relaunches it and continues 
its execution normally.

What version of the product are you using? On what operating system?

CefClient (standard), v3.1750.1738
Windows 7 x64.

Original issue reported on code.google.com by alervd...@gmail.com on 27 Jan 2015 at 6:07

GoogleCodeExporter commented 9 years ago
Stack from my app:

ntdll.dll!NtWaitForSingleObject()  Unknown
KernelBase.dll!WaitForSingleObjectEx() Unknown
libcef.dll!base::WaitableEvent::Wait() Line 52  C++
libcef.dll!content::BrowserGpuChannelHostFactory::EstablishRequest::Wait() Line 
129 C++
libcef.dll!content::BrowserGpuChannelHostFactory::EstablishGpuChannelSync(conten
t::CauseForGpuLaunch cause_for_gpu_launch) Line 321 C++
libcef.dll!content::GpuProcessTransportFactory::CreateContextCommon(int 
surface_id) Line 467    C++
libcef.dll!content::GpuProcessTransportFactory::CreateOutputSurface(ui::Composit
or * compositor, bool software_fallback) Line 207   C++
libcef.dll!ui::Compositor::CreateOutputSurface(bool fallback) Line 517  C++
libcef.dll!cc::LayerTreeHost::InitializeProxy(scoped_ptr<cc::Proxy,base::Default
Deleter<cc::Proxy> > proxy) Line 146    C++
libcef.dll!cc::LayerTreeHost::CreateSingleThreaded(cc::LayerTreeHostClient * 
client, cc::LayerTreeHostSingleThreadClient * single_thread_client, 
cc::SharedBitmapManager * manager, const cc::LayerTreeSettings & settings) Line 
84  C++
libcef.dll!ui::Compositor::Compositor(HWND__ * widget) Line 297 C++
libcef.dll!aura::RootWindow::RootWindow(const aura::RootWindow::CreateParams & 
params) Line 168    C++
libcef.dll!views::DesktopNativeWidgetAura::InitNativeWidget(const 
views::Widget::InitParams & params) Line 377    C++
libcef.dll!views::Widget::Init(const views::Widget::InitParams & in_params) 
Line 381    C++
libcef.dll!`anonymous namespace'::CefWindowDelegateView::Init(HWND__ * 
parent_widget, content::WebContents * web_contents, const gfx::Rect & bounds) 
Line 593    C++
libcef.dll!CefBrowserHostImpl::PlatformCreateWindow() Line 776  C++
libcef.dll!CefBrowserHostImpl::CreateInternal(const CefWindowInfo & 
window_info, const CefStructBase<CefBrowserSettingsTraits> & settings, 
CefRefPtr<CefClient> client, content::WebContents * web_contents, 
scoped_refptr<CefBrowserInfo> browser_info, HWND__ * opener, 
CefRefPtr<CefRequestContext> request_context) Line 425  C++
libcef.dll!CefBrowserHostImpl::Create(const CefWindowInfo & windowInfo, 
CefRefPtr<CefClient> client, const CefStringBase<CefStringTraitsUTF16> & url, 
const CefStructBase<CefBrowserSettingsTraits> & settings, HWND__ * opener, bool 
is_popup, CefRefPtr<CefRequestContext> request_context) Line 383    C++
libcef.dll!CefBrowserHost::CreateBrowserSync(const CefWindowInfo & windowInfo, 
CefRefPtr<CefClient> client, const CefStringBase<CefStringTraitsUTF16> & url, 
const CefStructBase<CefBrowserSettingsTraits> & settings, 
CefRefPtr<CefRequestContext> request_context) Line 341  C++
libcef.dll!`anonymous 
namespace'::CreateBrowserWithHelper(`anonymous-namespace'::CreateBrowserHelper 
* helper) Line 89   C++
libcef.dll!base::MessageLoop::RunTask(const base::PendingTask & pending_task) 
Line 513    C++
libcef.dll!base::MessageLoop::DoWork() Line 638 C++
libcef.dll!base::MessagePumpForUI::DoRunLoop() Line 220 C++
libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) 
Line 48 C++
libcef.dll!base::RunLoop::Run() Line 48 C++
libcef.dll!base::MessageLoop::Run() Line 322    C++
cefbrowser.dll!CefRunMessageLoop() Line 256 C++

Again: the problem also reproduces on the standard cefclient from CEF3 
distribution.

Original comment by alervd...@gmail.com on 27 Jan 2015 at 6:12

GoogleCodeExporter commented 9 years ago
Does the problem reproduce with newer CEF distributions (2171+)?

Original comment by magreenb...@gmail.com on 11 Feb 2015 at 7:01

GoogleCodeExporter commented 9 years ago
Yes (2171 x86).

Original comment by alervd...@gmail.com on 26 Feb 2015 at 8:43

GoogleCodeExporter commented 9 years ago
I did not try but I'm sure x64 version is affected too.

Original comment by alervd...@gmail.com on 26 Feb 2015 at 8:44

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/1507

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:37